Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 13617
- Rating:
- Published:
- 2010.07.19 13:40
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Universal Moving Average, it allows to select any type of moving average, included in the MetaTrader 5 client terminal:
- Simple;
- Exponential;
- Smoothed;
- Linear Weighted;
- AMA (Adaptive Moving Average);
- DEMA (Double Exponential Moving Average);
- FRAMA (Fractal Adaptive Moving Average);
- TEMA (Triple Exponential Moving Average);
- VIDYA (Variable Index DYnamic Average).
- MAMethod - MA type;
- MAPeriod - period;
- MAPrice - applied price.
- AMAFast - period of fast EMA for AMA;
- AMASlow - period of slow EMA for AMA,;
- CMOPeriod - period of CMO for VIDYA (the order of Vidya parameters is changed compared with properties of Vidya indicator in the client terminal).
The name of MA, its period, applied price and other parameters are shown in the popup help.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/139

The Stochastic of all oscillator-like indicators, included in MetaTrader 5 client terminal.

The CGV class simplifies the work with global variables of MetaTrader 5 client terminal.