OPEN-SOURCE SCRIPT
BOS + FVG Retest Signals

How it works:
Break of Structure (BOS): Uses pivots (configurable Pivot Length) to find highs and lows. A close above a previous pivot high triggers a Bullish BOS (uptrend), and a close below a pivot low triggers a Bearish BOS (downtrend).
Fair Value Gaps (FVG): When an FVG forms in the direction of the current trend (Bullish FVG during an uptrend, Bearish FVG during a downtrend), it plots a colored box extending to the right.
Retest & Rejection:
For buy signals: Price must dip into the bullish FVG (Low <= FVG Top and Close > FVG Bottom), and the candlestick's lower wick must be larger than its body based on a Wick vs Body Multiplier (default is 1.5).
For sell signals: Price must retest the bearish FVG (High >= FVG Bottom and Close < FVG Top), with an upper wick larger than the body.
Break of Structure (BOS): Uses pivots (configurable Pivot Length) to find highs and lows. A close above a previous pivot high triggers a Bullish BOS (uptrend), and a close below a pivot low triggers a Bearish BOS (downtrend).
Fair Value Gaps (FVG): When an FVG forms in the direction of the current trend (Bullish FVG during an uptrend, Bearish FVG during a downtrend), it plots a colored box extending to the right.
Retest & Rejection:
For buy signals: Price must dip into the bullish FVG (Low <= FVG Top and Close > FVG Bottom), and the candlestick's lower wick must be larger than its body based on a Wick vs Body Multiplier (default is 1.5).
For sell signals: Price must retest the bearish FVG (High >= FVG Bottom and Close < FVG Top), with an upper wick larger than the body.
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.