Trendlines with Breaks draws the two trendlines that matter and marks the moment price goes
through one, on MT4 and MT5. The slope comes from volatility rather than from where you
happened to click, so the same chart gives the same lines to everyone who opens it.

Gold H1: a descending line from a pivot high and an ascending line from a pivot low converging, with break markers

Where the slope comes from

A hand-drawn trendline is an opinion about which two points to connect. This starts from one
point, the most recent confirmed pivot, and gets its angle from the market's own volatility.

Slope Calculation Method offers three:

  • ATR (default) โ€” the line falls or rises by one ATR per bar
  • Standard deviation โ€” by one standard deviation of price per bar
  • Linear regression โ€” by the slope of the regression over the lookback

Slope (default 1) scales whichever you pick. Set it to 0.5 and the lines lie flatter and
get broken later; set it to 2 and they steepen and rarely get touched.

Length (14) is the pivot lookback, so a line starts from a swing confirmed 14 bars back.

The consequence is worth stating: this is not a channel tool and it doesn't join two highs.
There's one line from the latest pivot high and one from the latest pivot low, and they get
replaced when a newer pivot forms. In the picture they happen to converge into a wedge,
which is the market's doing, not the tool's.

The break, and the two ways to be told about it

A break on a closed bar is confirmed by what came after it: price closed through the
line, the previous bar closed on the other side, and the next bar continued in the break's
direction. Only then does the marker stay.

A break on the forming bar is different, and this is the part I want to be straight
about. The indicator draws the arrow as soon as the bar opens on one side of the line and
trades through to close on the other. If price then falls back, the arrow is removed
again.
It's live, it's provisional, and the tool doesn't pretend otherwise.

Notification at? is the setting built around exactly that:

  • When it occurs โ€” the alert fires the moment the arrow appears. Fast, and it can be
    taken back.
  • At the beginning of the next bar โ€” the alert waits for the bar to close. Slower, and
    what it tells you is final.

Most tools make this choice for you silently. Here it's one dropdown, and the two options
are the honest trade you're making.

EURUSD H1: two descending lines and one ascending, with a confirmed break arrow at the lower left

MT4 and MT5

Same pivots, same three slope methods, same break rules and the same notification choice.
Below is the MT5 build on the same gold market: the wedge, drawn from the same pivots.

The MT5 build on gold H1 showing the same converging pair of lines

The version numbers differ, 1.02 on MT5 and 1.00 on MT4, because the MT5 build has had two
small fixes to its buffer setup. The logic is line-for-line the same.

Repainting, honestly

Two answers, and they're different:

Closed bars: no. A historical break marker required the following bar to confirm it, and
once drawn it doesn't move.

The forming bar: yes, deliberately. The live arrow appears and disappears with price
until the bar closes. That's what makes the "when it occurs" alert possible at all. If you
want nothing provisional on your chart, set the notification to next-bar and read only the
confirmed markers.

The lines themselves extend forward at a fixed slope from a confirmed pivot. They don't get
redrawn at a different angle later.

What it doesn't do

  • No channels. One line above, one below, each anchored to a single pivot.
  • No entries, stops or targets.
  • No multi-timeframe.
  • Only the two current lines. Old ones aren't kept as history when a new pivot replaces
    them.
  • Lookback is 200 bars by default, so scroll far enough back and the lines stop.
  • No email channel โ€” popup, mobile push, and Telegram if you supply a bot token.

Settings I'd start with

H1, defaults, ATR slope at 1. That combination gives lines that get touched often enough to
be useful and not so often that the arrows lose meaning.

Set Notification at? to next-bar unless you're actively watching. The provisional arrow is
useful when you're at the screen and a nuisance when you're not.

If you're getting too many breaks, raise Slope before you touch Length. Steeper lines
sit further from price and are broken by real moves rather than by drift.

Questions you'll have

Does Trendlines with Breaks repaint? Historical break markers don't; each needed the
next bar to confirm it. The marker on the forming bar does, on purpose, and is removed if
price falls back before the close.

How is the line's angle decided? From ATR, standard deviation, or a linear regression
slope, whichever you pick, scaled by the Slope input. It isn't drawn between two points.

Why is there only one line each way? It anchors to the most recent confirmed pivot high
and low. A newer pivot replaces the line.

Should I alert on occurrence or on the next bar? Next bar if you're not watching the
screen. The immediate alert can be withdrawn.

Why did an arrow vanish? It was on the forming bar and price came back through the line
before the close.

What does raising Slope do? Steepens the lines so they sit further from price and get
broken less often.

How far back does it draw? 200 bars by default.

MT4? Both builds are included, one download each.

Both platform builds come with a subscription. No profitability claim and no win rate here:
a trendline break is an event, and this tool's contribution is drawing the line the same way
every time and telling you honestly which breaks are confirmed and which are not.