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.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.