Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
7538
Rating:
(18)
Published:
2011.10.07 18:27
Updated:
2023.03.29 13:43
colorx2ma.mq5 (9.17 KB) view
x2ma.mq5 (8.25 KB) view
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The universal moving average with double smoothing and possibility to select each of this smoothings from the dozen of possible variants:

  1. SMA - Simple moving average
  2. EMA - Exponential moving average
  3. SMMA - Smoothed moving average
  4. LWMA - Linear weighted moving average
  5. JJMA - JMA adaptive average
  6. JurX - Ultralinear smoothing
  7. ParMA - Parabolic smoothing
  8. T3 - Tillson's multiple exponential smoothing
  9. VIDYA - Smoothing with the use of Tushar Chande's algorithm
  10. AMA - Smoothing with the use of Perry Kaufman's algorithm

It should be noted that Phase1 and Phase2 parameters have completely different meaning for different smoothing algorithms. For JMA it is an external Phase variable changing from -100 to +100. For T3 it is a smoothing ratio multiplied by 100 for better visualization, for VIDYA it is a CMO oscillator period and for AMA it is a slow EMA period. In other algorithms these parameters do not affect smoothing. For AMA fast EMA period is a fixed value and is equal to 2 by default. The ratio of raising to the power is also equal to 2 for AMA.

ColorX2MA

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/465

AT_CF AT_CF

Four digital filters that form the basis of the V. Kravchuk's AT&CF method in one separate window.

Chaikin Oscillator Chaikin Oscillator

Chaikin Oscillator with a smoothing algorithm selection.

Camarilla Equation Camarilla Equation

The system of Camarilla Equation levels for the current bar.

Camarilla_Full Camarilla_Full

The system of Camarilla Equation levels for all bars.