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:
2807
Rating:
(7)
Published:
2018.06.06 13:10
DMA.mq5 (7.65 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The DMA indicator, in which the period parameter is the number of days N in the below calculation formula.

The indicator has two input parameters:

  • Period - calculation period
  • Applied price - price used for calculation

The default timeframe is M15. The default calculation period: N = 17.

Calculation:

DMA[i] = E*Price[i]+(1-E)*DMA[i-1],

where E = D*D, D = C*2/31+(1-C)*2/3, C=A/B, A = Price[i] - Price[i-Period+1], B = Sum(Price[i]-Price[i-1]) from (i-Period+1) to (i).

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

Candle_Ratio Candle_Ratio

The ratio of bullish to bearish candlesticks over the selected period

Bogie Bogie

An oscillator indicator of probable reversals

Drive Drive

The indicator of candlestick direction ratio

EVWMA EVWMA

Elastic Volume Weighted MA