Trend Line Break
The indicator finds local extremes on its own, draws sloped trendlines through them — resistance and support — and prints a signal arrow the moment the closing price breaks the line by a set number of ticks.
The indicator hunts for local peaks and troughs and runs resistance and support lines through them — no manual markup needed.
The moment close pushes past the line by a tick buffer — an arrow appears at the break point: up to buy, down to sell. An entry early in the move.
The built-in backtester runs the strategy over history: trades, P/L, commission, slippage — you see profitability before you trade live.
Rising lows set up a rising support; price closes below it by a tick buffer → ▼ sell. A broken rising support — a trend reversal, a short entry early in the move.
Test mode sets the stop beyond the last extreme and the take in ticks on its own, computes P/L with commission and slippage — you see the strategy's profitability before any real entry.
The center of the window is an extreme if it's the highest (or lowest) among Period candles to its left and right. That's how local peaks and troughs get caught.
Through two extremes in the same direction, if they're ≥ Min Peaks Distance ticks apart, it draws a line: resistance across highs, support across lows.
On every bar it takes the line price and adds a buffer of ± Min Breakout Distance ticks — weak pokes past the line don't count as a breakout.
The moment close pushes past the threshold — a break marker ⊗, an arrow (▲ up / ▼ down) and, if enabled, an alert.
Two extremes set the sloped line; threshold = line price + Min Breakout·tick; the moment close pushes past the threshold — a break marker ⊗ and a signal arrow.
A line across two local highs; close breaks it by a tick buffer → ⊗ marker + ▲ buy → an upside impulse. Entry at the start of the move after resistance breaks.
A trader sees an established trendline and wants to enter on its breakout, but some breakouts are false, and there's no time to draw lines by hand and watch every touch.
- Sets Period and Min Peaks Distance to the instrument's volatility — the indicator draws the lines across extremes itself
- Sets Min Breakout Distance in ticks to filter out weak pokes past the line
- Turns on test mode — the backtester gathers stats over history with a stop beyond the extreme and a take
- Adjusts the thresholds from the results and trades the breakout arrows with clear stats behind them
Period and distance between peaks, breakout threshold in ticks, line and arrow display, test mode with stop/take, commission and slippage, alerts — tune to your instrument and style.