OPEN-SOURCE SCRIPT
FVG Session Break Strategy with ATR RR

🧠 FVG Session Break Strategy with ATR RR — Timezone-Aware, Session-Savvy, and Risk-Calibrated
This strategy captures high-probability reversals and continuations by combining Fair Value Gap (FVG) imbalances with session-based breakout logic and ATR-calibrated risk management. It’s designed for traders who want to exploit structural inefficiencies during key market sessions — with precision and portability across global exchanges.
🔍 Core Logic:
Fair Value Gap Detection: Identifies bullish and bearish FVGs using a 3-bar displacement pattern.
Session Breakout Engine: Tracks session highs and lows (Asian, London, NY) and triggers trades only when price breaks these levels — ensuring trades occur at meaningful inflection points.
ATR-Based RR Control: Dynamically sizes stop-loss and take-profit levels using ATR × multiplier, maintaining consistent risk across volatility regimes.
🌐 Timezone-Aware Session Logic:
Session boundaries are defined in UTC-5 (e.g., NY: 0930–1600) but automatically converted to the exchange’s local timezone using timestamp("Etc/GMT+5", ...). This ensures:
Accurate session detection across all markets and assets
No manual timezone adjustments needed
Robust performance on crypto, forex, and global equities
📈 Visuals:
Session highs and lows plotted in orange
Bullish and bearish FVGs marked with green and red triangles
Strategy entries and exits shown on chart with full RR logic
This strategy is ideal for traders who want to combine structural edge with session context and disciplined risk.
This strategy captures high-probability reversals and continuations by combining Fair Value Gap (FVG) imbalances with session-based breakout logic and ATR-calibrated risk management. It’s designed for traders who want to exploit structural inefficiencies during key market sessions — with precision and portability across global exchanges.
🔍 Core Logic:
Fair Value Gap Detection: Identifies bullish and bearish FVGs using a 3-bar displacement pattern.
Session Breakout Engine: Tracks session highs and lows (Asian, London, NY) and triggers trades only when price breaks these levels — ensuring trades occur at meaningful inflection points.
ATR-Based RR Control: Dynamically sizes stop-loss and take-profit levels using ATR × multiplier, maintaining consistent risk across volatility regimes.
🌐 Timezone-Aware Session Logic:
Session boundaries are defined in UTC-5 (e.g., NY: 0930–1600) but automatically converted to the exchange’s local timezone using timestamp("Etc/GMT+5", ...). This ensures:
Accurate session detection across all markets and assets
No manual timezone adjustments needed
Robust performance on crypto, forex, and global equities
📈 Visuals:
Session highs and lows plotted in orange
Bullish and bearish FVGs marked with green and red triangles
Strategy entries and exits shown on chart with full RR logic
This strategy is ideal for traders who want to combine structural edge with session context and disciplined risk.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.