OPEN-SOURCE SCRIPT

eBacktesting - Learning: Breakouts

688
eBacktesting - Learning: Breakouts highlights ranges & breakout behaviors in a clean, visual way.

It automatically:
- Detects consolidation ranges (tight price action) and draws a range box
- Marks a breakout only when a candle CLOSES outside the range (no wick-only breakouts)

Adds a label on the breakout candle (↑ bullish breakout / ↓ bearish breakout)

These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.

Educational use only. Not financial advice.

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.