OPEN-SOURCE SCRIPT
BOS & FVG Pullback Signals TMT

How it Works:
Fair Value Gaps (FVGs): The script looks for three-candle patterns where a gap is formed between the first candle's high/low and the third candle's low/high, indicating a strong momentum move (often occurring after a Break of Structure).
Pullback Detection:
For a BUY, price must pull back and touch an active Bullish FVG without breaking fully below it.
For a SELL, price must pull back into an active Bearish FVG without breaking fully above it.
Rejection & Continuation (The Signal):
BUY Signal: When price wicks into the Bullish FVG, confirms a rejection by closing above the top of the FVG, and displays a prominent lower wick.
SELL Signal: When price wicks into the Bearish FVG, confirms a rejection by closing below the bottom of the FVG, and displays a prominent upper wick.
Invalidation: An FVG is invalidated if price completely violates it (closes below a Bull FVG or above a Bear FVG). Once a signal is fired for a specific FVG, that FVG stops acting as a signal trigger to prevent duplicate entries on sideways movement.
You can customize the Minimum FVG Size (using an ATR multiplier) in the settings to filter out minor, insignificant gaps and focus only on the ones that cause strong trend continuations.
Fair Value Gaps (FVGs): The script looks for three-candle patterns where a gap is formed between the first candle's high/low and the third candle's low/high, indicating a strong momentum move (often occurring after a Break of Structure).
Pullback Detection:
For a BUY, price must pull back and touch an active Bullish FVG without breaking fully below it.
For a SELL, price must pull back into an active Bearish FVG without breaking fully above it.
Rejection & Continuation (The Signal):
BUY Signal: When price wicks into the Bullish FVG, confirms a rejection by closing above the top of the FVG, and displays a prominent lower wick.
SELL Signal: When price wicks into the Bearish FVG, confirms a rejection by closing below the bottom of the FVG, and displays a prominent upper wick.
Invalidation: An FVG is invalidated if price completely violates it (closes below a Bull FVG or above a Bear FVG). Once a signal is fired for a specific FVG, that FVG stops acting as a signal trigger to prevent duplicate entries on sideways movement.
You can customize the Minimum FVG Size (using an ATR multiplier) in the settings to filter out minor, insignificant gaps and focus only on the ones that cause strong trend continuations.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Tradingmientrung
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Tradingmientrung
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.