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 abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.