The 4 Trendline V3 MKS Indicator draws a dynamic linear-regression trendline on the chart – the statistical centre of recent price that tilts with the prevailing slope. Also, when price closes back above the line a green BUY arrow prints; when it loses the line a red SELL arrow prints. The line itself doubles as dynamic support and resistance between signals.
For more like this, browse the more trend indicators for forex or jump to the full MetaTrader indicator hub.
What the 4 Trendline V3 MKS Indicator does on the chart
Also, the 4 Trendline V3 MKS Indicator draws a dynamic regression trendline directly on the price chart. Also, still, the line is a linear-regression fit of the last N closes, so it represents the statistical ‘centre of gravity’ of recent price and tilts up or down with the prevailing slope.
When price closes ABOVE the trendline after trading below it a green BUY arrow prints. Thus, when price closes BELOW the line after trading above it a red SELL arrow prints. The line itself doubles as a dynamic support/resistance level you can lean on between signals.
Key features and settings
- Linear-regression trendline that auto-updates each bar
- Green BUY arrow when price reclaims the line from below
- Red SELL arrow when price loses the line from above
- Configurable regression length
- Line works as dynamic support/resistance
- Full alert system: popup, push notification to mobile MetaTrader, email, and sound — all four channels toggle independently from the inputs panel. Alerts fire once per closed bar so you never get spammed mid-tick.
- Built for both MT4 and MT5; works on every timeframe and every symbol your broker offers.
- Lightweight code that does not slow down the chart.
| Setting | Description | Default |
|---|---|---|
RegPeriod |
Number of bars in the linear-regression fit | 34 |
ArrowOffsetPoints |
Arrow offset from the candle wick, in points | 35 |
EnableAlerts |
Master toggle for the alert system | true |
EnablePopup |
MT4/MT5 popup dialog on signal | true |
EnablePushNotify |
Mobile push notification (configure MetaQuotes ID first) | false |
EnableEmail |
SMTP email (configure Tools -> Options -> Email) | false |
EnableSound |
Play .wav from MT4/Sounds on signal | false |
How to read signals from the 4 Trendline V3 MKS Indicator

In practice, the slope of the line is your bias. Also, still, hence, trade breakouts in the direction the line is already tilting.
Entry idea (long). Wait for a green BUY arrow with the line sloping up. Next, stop below the recent swing low.
Entry idea (short). Wait for a red SELL arrow with the line sloping down.
As a result, Exit idea. Trail behind the line; exit when price closes back through it against your position.
Tuning the 4 Trendline V3 MKS Indicator inputs
Start with the defaults, then tune for your market. RegPeriod (default 34) sets the averaging length — raise it for smoother, slower signals or lower it for faster, more sensitive ones. Then, every alert channel — pop-up, sound, email and mobile push — toggles independently in the same inputs panel, and alerts fire once per closed bar.
Recommended timeframes and instruments
this indicator reads best on the higher timeframes, where direction is cleaner and false turns are fewer.
- H1 and H4 for intraday trend trading.
- Daily for the dominant bias and swing setups.
Typically, on M5 to M15 expect more whipsaw, so raise the period to compensate. Thus, yet, it suits trending majors such as EURUSD and USDJPY and indices like US30 and NAS100.
How to install on MT4 and MT5

Installation is the same for every indicator on this site. Also, hence, truly, unzip the download, copy the compiled .ex4 into your MT4 MQL4/Indicators folder (or the .ex5 into MT5 MQL5/Indicators), refresh the Navigator, then drag it onto the chart. For the full step-by-step with alert setup and troubleshooting, see our guide to installing MT4 and MT5 indicators.
Best practices and tips
- Trade in the direction of the higher-timeframe trend and avoid counter-trend signals.
- Use the strength filter to skip weak, ranging conditions.
- Wait for the bar to close before acting on a signal.
- Backtest your configuration on at least 200 closed bars before trading live.
- Keep position sizing small while you learn how the tool behaves on your instrument.
- Review your results weekly and prune settings that underperform.
Get the 4 Trendline V3 MKS for MT4 and MT5
One email unlocks the full library. This the tool plus the other 1,382 free MT4, MT5 and TradingView indicators we publish and maintain. Next, plainly, no paywall, no upsell, same opt-in for all of them – you give an email once and you can grab every tool we ship.
Enter your email to receive the indicator file. We send it once and add you to free updates.
No spam. Unsubscribe anytime. We never share your address.
Enter your email and the file lands in your inbox right after. The download is free.
Built by forexmt4systems.com
Also, this it is one of 1,383 free MT4, MT5 and TradingView indicators we publish and maintain. Then, every tool ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files, a 4-channel alert system (popup + mobile push + email + sound), and is loaded on EURUSD H1 before release to confirm it draws cleanly without repainting. The same one-step email opt-in below unlocks the entire library – not just this one indicator.
FAQ
What does the 4 Trendline V3 MKS measure?
It plots a clear signal layer that the 4 Trendline V3 MKS computes from recent price and volume on the chart.
Is the indicator non-repaint?
By default the indicator only confirms a signal on the bar close, so the printed signal locks in once that bar closes. In addition, some users prefer the early intra-bar mode for faster signals — both options are in the inputs.
Which timeframe should I use?
There is no single best timeframe. Also, still, yet, still, m15 to H1 is a common starting point for intraday traders, and H4 to D1 works for swing traders. Backtest the configuration on the timeframe you actually trade.
Does it work on instruments other than forex?
It works on any instrument MT4 and MT5 supports — forex majors, gold (XAUUSD), indices like US30 and NAS100, and major cryptos. Thus, fast-moving instruments may need a smaller period setting.
Can I add alerts?
Yes. Thus, truly, hence, Pop-up, sound, push, and email alerts live in the inputs panel. On MT4 and MT5 the alert plays on the bar close that triggers the signal. Next, this indicator ships with full alert functionality built in: popup alerts on the chart, push notifications to mobile MetaTrader, email alerts, and a sound alert with a configurable .wav file. For example, you toggle each channel independently from the inputs panel (EnableAlerts, EnablePopup, EnablePushNotify, EnableEmail, EnableSound). Then, alerts trigger once per closed bar.
For external background reading, see the background reading on moving averages. Are results guaranteed?
No. Trading involves risk. Results are not guaranteed. Past performance is not indicative of future results. Use the tool as one input. Always backtest before trading live.
Category: this is part of our Trend collection. Also, still, hence, plainly, yet, browse more Trend for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- For background on this concept, see Trend line on Wikipedia.
- For broader market context, see market commentary at DailyFX.