Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Visualizzazioni:
7557
Valutazioni:
(21)
Pubblicato:
2019.01.02 14:30
ZMA.mq5 (12.4 KB) visualizza
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

The ZigZag Moving Average indicator builds a moving average using ZigZag reference points.

It has three input parameters:

  • ZigZag depth - the Depth parameter of the ZigZag indicator
  • ZigZag deviation - the Deviation parameter of the ZigZag indicator
  • ZigZag backstep - the Backstep parameter of the ZigZag indicator

The moving average is calculated as a sum of Close prices in the range between the current bar and the reference point, divided by the number of bars in this range.

Calculation example for three bars after the reference point (P):

ZMA[P] = Close[P]
ZMA[P+1] = (Close[P]+Close[P+1]) / 2
ZMA[P+2] = (Close[P]+Close[P+1]+Close[P+2]) / 3



Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/23117

Ultimate_Oscillator Ultimate_Oscillator

The Ultimate Oscillator indicator

ROC_with_Signal_MA ROC_with_Signal_MA

The ROC indicator with signal Moving Average

Intraday_Intensity_Open_Form Intraday_Intensity_Open_Form

The Intraday Intensity Open Form indicator

MA_Slope MA_Slope

The MA Slope indicator