Standard Deviation Divergence Indicator for MT4 & MT5
Regular and hidden divergences between price and the Standard Deviation, found automatically and drawn on the price chart, in the StdDev window, or both. Get an alert when a new divergence is confirmed. Optional predicted divergence marks a possible divergence earlier: see how it works.
What is the Standard Deviation indicator?
The idea: What is Standard Deviation?
Standard Deviation (StdDev) is a statistical measure of how far prices spread from their average. As an indicator it measures how widely price levels (not returns) are spread around their moving average over a period. It is also a part of other indicators, for example Bollinger Bands.
How traders read it
A rising value means the spread is increasing, a falling value that it is decreasing. A steady trend can also produce a high value without choppy candles, and a low or high value does not by itself show when activity will pick up or calm down. Compare the reading with its own history, for example with a longer average of the indicator.
What to watch for
StdDev does not show direction: a big move up or down can raise it, but the result depends on the whole rolling window. Its values are in price units, so they cannot be compared directly between symbols.
In TrueTL the StdDev period is 20 by default.
TrueTL StdDev divergence indicator: how it works
TrueTL StdDev Divergence compares the peaks and bottoms of StdDev with price and finds regular and hidden, bullish and bearish divergences. It draws them on the price chart, in the StdDev window, or both, and you can filter them in several ways. A regular divergence can point to a possible reversal and a hidden one to a possible continuation of the trend. Neither is a guarantee. An optional predicted mode marks a possible divergence earlier. This early marker can disappear and come back until the candle closes. In a strong trend, divergences can keep appearing while price continues, so use them together with the price chart. A normal divergence is drawn once the candle has closed and the divergence is confirmed: no repaint once a candle closes on the indicator’s timeframe.
What a divergence is, the four types and common filters, with examples: About the divergence.
StdDev divergence indicator features
- PlatformsMetaTrader 4 and MetaTrader 5, any broker, demo or live account.
- Any symbolForex pairs, stocks, indices, crypto: any MT4/MT5 symbol.
- Non repaintOnce a candle closes on the indicator’s timeframe, what is drawn stays fixed.
- Works with other MetaTrader toolsStdDev values and events are available to other MetaTrader indicators and programs through the standard iCustom() function. The PDF user guide lists every value.
- Regular and hiddenBullish and bearish, regular and hidden divergences, each with its own color and line style.
- Predicted divergence (optional)An early marker before the candle closes, with its own color and sensitivity. It can disappear and come back until the candle closes. How it works, with examples.
- Price chart, StdDev window, or bothChoose where the divergence lines are drawn.
- FiltersMaximum distance, candle bodies, StdDev level, value tolerance and detection sensitivity.
- Bullish, bearish or allShow all divergences, or only the bullish or only the bearish ones.
- Other timeframesCalculate StdDev on a higher or lower timeframe and see it on your chart, with optional smoothing.
- Period, price and methodThe StdDev period (20 by default), the price used and the moving average method can all be set.
- Offline chartsWorks with Renko and other offline charts too.
- Alerts on chart eventsRegular, hidden and predicted divergence, trendline break and approach, StdDev direction and level events, with 5 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 StdDev divergence indicator
What are the best settings for the StdDev divergence indicator?
There is no single best setting. We chose the default settings to suit most traders. The indicator has many settings so that everyone can fit it to their own needs, and if you want something different, you can customize it. The PDF manual explains every setting.
What are the default settings of the StdDev divergence indicator in TrueTL?
In TrueTL the StdDev period is 20 by default.
How do traders read the StdDev?
A rising value means the spread is increasing, a falling value that it is decreasing.
Is the StdDev divergence indicator non repaint?
A normal divergence is drawn once the candle has closed and then stays fixed. The optional predicted mode marks a possible divergence earlier: its arrow and yellow line can disappear and come back until the candle closes, which is why they have their own color. On a multi timeframe setting, the closed candle of the higher timeframe decides. See how it works.
Does it work on MT4 and MT5?
Yes. TrueTL StdDev Divergence is available for MetaTrader 4 and MetaTrader 5, with any broker, on demo or live accounts, and on any symbol the platform offers.
Can I get an alert?
Yes. Alerts for a new divergence and other chart events can come as a popup, push message, email, sound, Telegram message, CSV log line or a pictogram on the chart.
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.
Is there a free version?
TrueTL StdDev Divergence is part of the paid license; one license covers all 72 indicators. There is also a free MT4 & MT5 oscillator pack of 37 multi-timeframe oscillators. The free pack does not draw trendlines or divergences. The PDF manual is free to download.
More answers on the Support page.
One license, all 72 indicators
TrueTL StdDev Divergence comes with the StdDev Trendline indicator, True Trendline, True S/R Level and every other oscillator trendline and divergence indicator.


