OPEN-SOURCE SCRIPT
Cozy 1st FVG [MMT]

Cozy 1st FVG [MMT] automatically detects and plots the first Fair Value Gap (FVG) that forms within each 3‑hour New York time interval. This tool was developed in collaboration with Cozy, and is designed to fit seamlessly into his structured, time‑based workflow.
The indicator scans any chosen timeframe and displays only the earliest bullish or bearish FVG that appears inside each 3‑hour block (00–03, 03–06, 06–09, etc.). This keeps charts clean and focused on the most meaningful displacement of each interval.
How It Works
This approach mirrors Cozy’s methodology: one high‑signal FVG per interval, no clutter.
Features
Why Use This Indicator
This tool is ideal for traders who wants a clean, time‑anchored view of the most significant FVG in each interval. By focusing on the first gap only, it reduces noise and highlights the displacement that often sets the tone for the rest of the session.
The indicator scans any chosen timeframe and displays only the earliest bullish or bearish FVG that appears inside each 3‑hour block (00–03, 03–06, 06–09, etc.). This keeps charts clean and focused on the most meaningful displacement of each interval.
How It Works
- Converts chart timestamps to New York time for consistent session segmentation.
- Resets logic at the start of every 3‑hour block.
- Identifies the first valid FVG of that interval
This approach mirrors Cozy’s methodology: one high‑signal FVG per interval, no clutter.
Features
- Multi‑timeframe FVG detection
- Bullish and bearish color customization
- Adjustable box width (fixed bars or infinite extension)
- Optional labels with timeframe and session hour
- Multiple label placement modes (inside or right‑outside)
- Automatic cleanup of older FVGs for performance
- Dynamic right‑side label positioning on live bars
Why Use This Indicator
This tool is ideal for traders who wants a clean, time‑anchored view of the most significant FVG in each interval. By focusing on the first gap only, it reduces noise and highlights the displacement that often sets the tone for the rest of the session.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.