JET Trendlines and Breaks (free and PRO): automatic trendlines and their breaks on your MetaTrader 5 chart
JET Trendlines and Breaks is a new indicator for MetaTrader 5 that draws trendlines from tops and bottoms and marks when a bar closes beyond them. It comes in two editions: JET Trendlines and Breaks, free, with the lines and the break marks, and JET Trendlines and Breaks PRO, which adds the signal filter settings, more ways to draw the lines, other timeframes, a panel, alerts and data for Experts.
How it works
JET Trendlines and Breaks draws trendlines automatically from the tops and bottoms of the chart: a falling resistance line from each confirmed top and a rising support line from each confirmed bottom. When a bar closes beyond a line, a mark appears on that bar: a green arrow for a break up, a red arrow for a break down.
How the lines appear. A top or bottom is confirmed only after a set number of bars has closed on its right side (Pivot strength, 10 by default). The line appears at that moment: the part between the top or bottom and the confirmation is drawn afterwards and is shown dotted, a small dot marks the confirmation bar, and from there on the line is solid. You can also choose to draw the lines only from the confirmation bar.
Breaks are evaluated on the closed bar and do not repaint: once a mark appears, it never moves or disappears. It is an indicator only: it never opens, closes or changes orders.

Free or PRO?
| Free | PRO | |
|---|---|---|
| Resistance and support lines from tops and bottoms | yes | yes |
| Break marks on the closed bar, no repainting | yes | yes |
| Dotted part before the confirmation, solid line after it | yes | yes |
| Editable pivot strength and steepness | yes | yes |
| Signal filter: Off / Normal / Strong (Free: Normal) | — | yes |
| Line angle: Dispersion and Two pivots | — | yes |
| Up to 50 lines of each kind, dashed broken lines | — | yes |
| Calculation on a higher timeframe | — | yes |
| Panel with 4 timeframes, dark / light theme | — | yes |
| Alerts: popup, sound, push notification, e-mail | — | yes |
| Data for Experts (iCustom buffers) | — | yes |
JET Trendlines and Breaks PRO draws trendlines automatically from the tops and bottoms of the chart: a falling resistance line from each confirmed top and a rising support line from each confirmed bottom. When a bar closes beyond a line, a mark appears on that bar: a green arrow for a break up, a red arrow for a break down. The PRO version adds a signal filter against false and alternating breaks, three ways to set the angle of the lines, calculation on a higher timeframe, a 4-timeframe panel, alerts and data for Experts.
- Resistance lines (red) from confirmed tops and support lines (green) from confirmed bottoms. One active line of each kind at a time; it is replaced when a newer top or bottom is confirmed.
- Break marks on the closed bar: green arrow below the bar for a break up, red arrow above the bar for a break down. Each line is broken only once.
- Dotted part before the confirmation, a dot on the confirmation bar and a solid line after it.
- Broken lines can end at the break (default) or continue dashed.
- Up to 50 lines of each kind on the chart (20 by default).

Signal filter
- Normal (default): removes most breaks that are quickly followed by an opposite break, with almost no delay.
- Strong: filters more, for choppy markets.
- Off: marks every close beyond a line.
- Marks, alerts and buffers 2 to 4 follow the filter. In our tests on WIN M5, EURUSD H1 and US500 H1, the share of breaks followed by an opposite break within 10 bars went from about 22% (Off) to between 2% and 5% (Normal).
Settings and timeframes
- Pivot strength (bars on each side of a top or bottom) and steepness of the lines.
- Line angle: Volatility (default), Dispersion or Two pivots (the classic line through two falling tops or two rising bottoms).
- Calculation on a higher timeframe (for example H1 lines on an M15 chart).
- Editable colors and line width; 5,000 bars calculated by default. Nothing is recalculated on each tick: lines and breaks change only when a bar closes.

Alerts on the closed bar
- Break above the resistance line, break below the support line and new line, each with its own mode: popup, sound, push notification or a combination; e-mail optional.
- By default, only the alerts for the breaks are on.
Data for Experts (iCustom)
- Buffer 0: active resistance line (price; empty when there is none)
- Buffer 1: active support line (price; empty when there is none)
- Buffer 2: break (1 = up, -1 = down, 0 = none), following the signal filter
- Buffer 3: direction of the last break (1 = up, -1 = down, 0 = none yet)
- Buffer 4: bars since the last break (-1 = none yet)
- Breaks are valid on the closed bar (index 1 or higher). Buffers 0 and 1 show, on each bar, the line that was active when that bar opened, so the history read by an Expert is the same as in real time.
- With a higher timeframe, the values come from that timeframe and are mapped to the chart bars; a break shows on the first chart bar after the higher-timeframe bar closes.

Works on any symbol and timeframe
- Forex, indices, stocks, metals, crypto and futures such as the B3 mini index, with any broker.
- Tested on WIN, EURUSD and US500.
Download
- JET Trendlines and Breaks — free lines and break marks.
- JET Trendlines and Breaks PRO — all the features above.
Questions and suggestions: send me a private message through my MQL5 profile.
Trading involves risk of loss. A trendline break is a reading of past prices, not a forecast: price can return inside the line after a break. The indicator does not guarantee results.


