OPEN-SOURCE SCRIPT

Cozy 1st FVG [MMT]

5 607
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
  • 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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.