MT5 Indicators: Calculations, Combinations, and Validation
MT5 indicators organize market data into measurements of price direction, momentum, dispersion and activity. A useful combination assigns each measurement a clear role and specifies when its output is known. More indicators do not automatically produce more reliable trades.
This guide concentrates on built-in calculations and combination design. For evaluating commercial products and compatibility, see the separate MT5 indicator selection guide.

Choose by calculation, not an accuracy ranking
MetaQuotes lists 38 built-in indicators. Its Navigator groups them into trend indicators, oscillators, volume indicators and Bill Williams' indicators. Grouping them below by analytical purpose is a way to design a workflow, rather than a claim that each tool belongs to only one category.
A strategy needs entries, exits, sizing, execution assumptions and costs. An oscillator reading or colored line supplies only part of that specification. There is no independent test below establishing that one indicator, or one combination, is best across markets.
Trend and average-price context
Moving averages
An SMA is an arithmetic average of the selected source over a number of bars. An EMA places greater weight on recent inputs and carries forward earlier information with decreasing weight. Record the applied price and method: a five-day close-based SMA is different from a five-bar average on an hourly chart.
A 9/21 crossover or price relative to a 50/200 average can define a repeatable condition. The periods are candidates, not guaranteed support or resistance. Distinguish a new crossing from a persistent above/below state. Evaluate how repeated crossings and delayed entries affect a complete trading rule.
MACD: check the MT5 version
MT5's built-in MACD subtracts a 26-period EMA from a 12-period EMA by default. Its documented signal line is a 9-period SMA of MACD, not the EMA signal line commonly selected on TradingView.
The MT5 display plots the MACD value as a histogram with a signal line. Do not confuse that histogram with the MACD-minus-signal histogram shown by other implementations. A similarly named indicator can therefore have different values and colors across platforms. Compare the formula and data before interpreting a mismatch as a bug.
Ichimoku
Ichimoku combines Tenkan-sen, Kijun-sen, Senkou spans A/B and Chikou span. The first two use high/low midpoints over their respective lookbacks; the cloud spans and lagging line use plotting displacements.
Price relative to the cloud can define a trend condition, but cloud thickness is not a calibrated probability or universal measure of trend strength. The forward display does not predict future prices. The backward-plotted Chikou line uses the later close: do not treat that plotted value as information available at the earlier chart position.
Momentum and directional strength
RSI
RSI compares smoothed positive and negative price changes on a 0–100 scale. Levels such as 70 and 30 are conventional reference points. A reading can remain extreme while the trend continues; it is not an instruction to enter against the move.
Divergence requires a definition of matching price and oscillator pivots. If later bars confirm a pivot, the signal is available only after that confirmation. Record the event time rather than entering retrospectively at the low or high.
Stochastic
The Stochastic oscillator measures the close within a recent high-low range and applies its configured smoothing to produce %K and %D. Levels such as 80 and 20 describe range position. They do not establish that it outperforms RSI in a sideways market. Keep lookback, slowing and averaging method in the comparison record.
ADX
ADX measures directional strength without specifying bullish or bearish direction by itself. The +DI and −DI lines supply separate directional comparisons. Thresholds such as 20 or 25 are conventions to test, not exact boundaries proving a range or a strong trend.
MT5 includes both ADX and ADX Wilder variants in its trend-indicator group. Match the exact version when comparing results. A rising ADX can accompany either an upward or downward price trend.
DeMarker
DeMarker compares successive highs and lows and normalizes smoothed components to a 0–1 scale. Reference levels such as 0.7 and 0.3 describe relatively high or low readings. It differs from a close-change oscillator such as RSI, but does not provide an independent record of buying or selling intentions.
Volatility and reference levels
Bollinger Bands
A common configuration uses a 20-bar SMA and bands two standard deviations away. The applied price, averaging settings and multiplier matter. A band touch is not automatically an overbought/oversold trade, and narrow bands do not prove an imminent breakout or its direction.
To test a squeeze, define width mathematically, choose its comparison window and decide whether the current bar is included. Apply the same rule to every example rather than choosing visibly narrow areas after seeing the later move.
ATR
True range takes the largest of the high-low range and the absolute gaps from the previous close to the current high and low. ATR smooths those observations. It is therefore not simply an average of high-minus-low and can capture a gap beyond that range.
An ATR multiple can define a stop-distance hypothesis. A two-ATR stop does not guarantee enough room or protection from loss. For a hypothetical stock with ATR of $1.20, a two-ATR distance is $2.40. A $120 risk budget corresponds to 50 shares before fees and slippage. Futures, FX and other contracts require their point value, tick size, lot rules and account-currency conversion as well.
Fibonacci retracement
Fibonacci retracement is a drawing tool, not one of the 38 calculated indicators. Its levels depend on the chosen anchors. The commonly displayed 50% level is a midpoint rather than a Fibonacci ratio.
A pullback level is a reference at which a rule may be tested, not evidence that price must reverse. Specify how the swing anchors are selected and when they were identifiable. Choosing anchors after a successful bounce introduces hindsight.
Combinations as hypotheses
| Proposed combination | Role assignment | Main test |
|---|---|---|
| EMA 50 + MACD + RSI | Average-price context plus momentum conditions | Does each oscillator add value beyond the other? |
| Bollinger Bands + ATR + ADX | Dispersion, range size and directional-strength condition | Is the entry defined before the expansion, and does it survive costs? |
| Fibonacci + Stochastic + RSI divergence | Anchored reference with oscillator conditions | Are anchors and pivots known at the decision time? |
| Ichimoku + EMA 200 + ADX | Cloud state, longer average and strength | Are overlapping trend filters eliminating useful trades as well as losses? |
These combinations have not been ranked by observed returns here. Test the simpler rule first, then add one component. Compare exposure, trade count, net results and drawdown on equal dates. Save an evaluation period that did not influence parameter selection.
Volume can answer another question where the feed supports it. In spot FX, tick volume is broker-specific activity rather than consolidated exchange volume. An indicator that requires executed volume cannot silently substitute a different field and retain the same interpretation.
Installation and custom development
Built-ins can be added from Insert → Indicators or Navigator. For loose custom files, open the active terminal's File → Open Data Folder, use MQL5/Indicators, preserve dependencies, and compile .mq5 source in MetaEditor to obtain a runnable .ex5. Refresh Navigator and inspect the logs after attaching it. Market products use the Market installation/activation route; copying an unrelated file is not a substitute.
Pineify's MQL5 Coding Agent can help draft MT5 indicators and Expert Advisors from a written specification. Its syntax-check workflow supports MQL5, but successful compilation does not verify trading semantics, broker compatibility or profitability. There is no zero-error, first-attempt or conversion-in-seconds guarantee established here, and no evidence is offered that the underlying model was trained on the entire MQL5 reference.
A useful request states the calculation, symbol/interval, closed-bar rule, plots or buffers and alert conditions. For example: define whether “RSI crosses 30” means crossing upward or downward, whether it must happen on the same bar as a MACD event, and which MT5 MACD series is being compared. An EA needs separate order, position and error-handling rules.
Porting MQL4 requires reviewing APIs and execution semantics; it is not accomplished by renaming a file. Keep the specification and current source with follow-up requests instead of assuming persistent memory retains every setting. Check current plans and credits before relying on a particular feature allocation.
Validate calculation separately from trading
First compare plotted values with a built-in or documented reference on the same feed and settings. Then observe forming and confirmed bars, reload behavior and higher-timeframe dependencies. Finally test a strategy that explicitly consumes those signals under realistic spread, commission, swap, timing and execution assumptions.
MetaQuotes explains the distinction between indicators and EAs. An indicator can be inspected visually, but a trading-performance report requires defined trading operations. A demo test checks behavior under new data; it does not prove that live fills or future results will match.
Frequently asked questions
Is there a single best MT5 indicator?
No universal ranking is established. Choose the calculation that answers the current question and test its role in a complete strategy.
Must I pay for indicators?
No. MT5 includes 38 built-in studies, and free custom tools are also available. Extra cost does not establish accuracy.
How many should I use?
Use only components with a defined role that survives comparison with a simpler rule. There is no proven three-to-five requirement.
Can AI build the code?
It can assist with drafting and revision. You still need to check compilation, buffer timing, broker data and strategy behavior before depending on it.
Why does MT5 MACD differ from my TradingView chart?
Compare signal smoothing, displayed series, source, broker feed and session. MT5's documented built-in uses an SMA signal line and plots the MACD value as bars.

