PROTECTED SOURCE SCRIPT

FU candle Bidirectionally optimized

32
Detection of FU candles.

Logic:

A bearish candle qualifies as an FU candle when its high and low exceed the previous candle’s wicks.

A bullish candle qualifies as an FU candle when its high and low exceed the previous candle’s wicks.

A “bad” FU candle (with a smaller body) is marked separately.

Includes alert functionality.

Candles with double the body size of the previous candle are marked with a green dot.
Default multiplier is 2, but it can be adjusted.

A table appears that counts all FU variations within the last 100 candles.
Default lookback is 100, but it can be adjusted.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.