Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | RMA

Theory :

Found the formula on another forum that calls this type of calculation "rma". Frankly I do not know what does the "rma" come from, but decided to experiment a bit. Now the original formula is :

rma = sma(price,period*3) + sma (price,period*2) - sma(price,period)

The results are logical except for one thing : that formula tends to add too much lag. So, with just a little change - when the formula is changed to this :

rma = sma(price,period*3) - sma (price,period*2) + sma(price,period)

we get a much better fit and, as a sort of a surprise, average that is faster than any of the 4 basic averages using same period. So, this is our own metatrader rma indicator

Usage :

You can use it as any other average

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

24541