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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Tradingmientrung
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Tradingmientrung
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.