True Trendline Indicator for MT4 & MT5
Trendlines, drawn automatically from the real peaks and bottoms on your price chart: normal, long, three-touch and narrow lines, each with its own style. See higher-timeframe lines on the same chart, and get an alert when price breaks or reaches a line.
What trendlines do
The idea: What is a trendline?
A trendline is a straight line that connects two or more peaks or bottoms. A rising line under the bottoms shows an uptrend, a falling line above the peaks shows a downtrend. Later the same line can act as support or resistance: price may turn away from it (bounce), or break it, sometimes with a backtest from the other side. The more touches a line has, the more traders watch it.
Traders use trendlines to see the direction of the market, to watch for a bounce or a break, and to find a place for the stop-loss or a target. No line is certain to hold. More information: About the trendline.
How TrueTL draws them
True Trendline finds the peaks and bottoms on the chart and connects them the same way every time, on every symbol and timeframe. You choose what the lines are built from: candle highs and lows, candle bodies, or the close price as on a line chart. Lines can be calculated on a higher timeframe and shown on your chart, so you do not miss a line that only shows up when you switch timeframes.
Why automate it
Drawing trendlines by hand takes time, and two traders rarely draw the same line. Here the lines refresh after each closed bar on every symbol you open, so your time goes to the decisions, not the drawing. No repaint once a candle closes on the indicator’s timeframe.
Four trendline types
- Normal trendlinesBuilt from a period you set: a lower value follows the recent structure, a higher value uses more history.
- Long trendlinesLines from a longer part of the price history, for the bigger picture.
- Three-touch trendlinesLines that price touched three times, with an adjustable detection sensitivity.
- Narrow trendlinesLines that follow the tighter, shorter price structure.
Every type has its own color and line style, and each one can be hidden. You also choose which types can trigger alerts, for example only three-touch and long lines.
True Trendline indicator features
- PlatformsMetaTrader 4 and MetaTrader 5, any broker, demo or live account.
- Any symbolForex pairs, stocks, indices, crypto: any MT4/MT5 symbol.
- No repaintOnce a candle closes on the indicator’s timeframe, what is drawn stays fixed.
- Works with other MetaTrader toolsEvents are available to other MetaTrader indicators and programs through the standard iCustom() function. The PDF user guide lists every value.
- MTF / HTFHigher-timeframe trendlines on your chart, with an option to align them precisely to their source bars.
- Price sourceCandle highs and lows, candle bodies, or the close price as on a line chart.
- Triangle modeDraws only two trendlines, for a cleaner chart.
- Highest and lowest linesMarks the highest and the lowest active trendline.
- Cut at the breakLines end where price broke them, so you see the break at a glance.
- Up, down or allShow all lines, only rising or only falling ones, with or without labels.
- Alerts on chart eventsTrendline break and approach, with extra break filters, on 3 trigger slots. Popup, push, email, sound, Telegram, CSV log or a chart pictogram. Highly customizable: alert timing (after the candle closes, before it closes, or both), a time window, an interval limit and a test message. Alerts also work on the trendlines and horizontal lines you draw yourself.
- Strategy Tester and fast backtestingRuns in the MetaTrader Strategy Tester, also for visual backtesting. Refresh and cache modes for repeated tests: the cache mode saves the results, so a repeated test is at least 700% faster.
Common questions about the True Trendline indicator
Is True Trendline a non repaint indicator?
Once a candle closes on the indicator’s timeframe, the trendlines stay fixed. On a multi timeframe setting, the closed candle of the higher timeframe decides: on a lower timeframe a line can disappear even a few candles back. That is normal. See what non repaint means.
Can it alert me to a trendline breakout?
Yes. It can mark the bar and send an alert when price breaks a trendline, by popup, push, email, sound, Telegram or CSV log. A trendline break is what many traders watch as a possible breakout. It is not a guarantee.
Do alerts work when my computer is off?
No. Alerts are sent by the MetaTrader terminal where the indicator runs, and MetaTrader does not run in the cloud: it runs on a computer, so the computer and MetaTrader must be on, with the indicator on a chart. If that is a problem, run MetaTrader with the indicators on a VPS (a remote Windows computer that is always on). Push messages are also sent only while MetaTrader is running, on your computer or on the VPS; they then arrive on your phone.
Does it work on MT4 and MT5?
Yes. True Trendline is available for MetaTrader 4 and MetaTrader 5, with any broker, on demo or live accounts, and on any symbol the platform offers.
Is there a free version?
True Trendline is part of the paid license; one license covers all 72 indicators. The Indicators page also offers a free pack of 37 multi-timeframe oscillators, and the PDF manual is free to download.
More answers on the Support page.
One license, all 72 indicators
True Trendline comes with the True S/R Level indicator and every oscillator trendline and divergence indicator.


