Bull & Bear Flag Detector

• Bull flag = consolidation after a strong bullish move (flagpole)
• Trendline drawn across pivot HIGHS (bull) / pivot LOWS (bear)
• Requires 3+ touches on the trendline to be valid
• Max 45° angle (ATR-normalized so it works on any symbol/timeframe)
• Entry = close breaks the trendline (up for bull, down for bear)
• SL = beyond the flag's extreme (support/resistance before breakout) ± buffer
• TP levels = each pivot that formed the trendline (TP1 = nearest to entry)
• Market-state filter: bull flags only in bullish flow, bear flags in bearish flow
• Trendline drawn across pivot HIGHS (bull) / pivot LOWS (bear)
• Requires 3+ touches on the trendline to be valid
• Max 45° angle (ATR-normalized so it works on any symbol/timeframe)
• Entry = close breaks the trendline (up for bull, down for bear)
• SL = beyond the flag's extreme (support/resistance before breakout) ± buffer
• TP levels = each pivot that formed the trendline (TP1 = nearest to entry)
• Market-state filter: bull flags only in bullish flow, bear flags in bearish flow
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.
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.