Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

MAO Oscillator - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

MAOscillator - indicator for MetaTrader 5

Vitaly Postorach

A simple oscillator based on the difference between two MA values ​​with different periods (fast MA - slow MA) or the same period but with several "lags" (variable in i period ).

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

The indicator was originally written in MQL4 and first published in the code base on July 21, 2014.

MAOscillator - indicator for MetaTrader 5

Figure 1. Indicators MAOscillator and MAOscillatorHist


Attachment download

📎 MAOscillator.mq5 (9.06 KB)

📎 MAOscillatorHist.mq5 (9.79 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #14904

Verification code Refresh