Watch how to download trading robots for free
Find us on Telegram!
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:
3001
Rating:
(6)
Published:
2018.07.09 13:30
VAMA.mq5 (9.23 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

VAMA (Velocity and Acceleration Moving Average).

There are three adjustable parameters:

  • Period - calculation period;
  • Applied price - the calculation price;
  • Double smoothing - enable or disable double smoothing (Yes/No).

Calculation:

VAMA = EMA + D1 + D2 / 2 + D3/6

where:

D1[i] = EMA[i] - EMA[i-Period/4]
D2[i] = EMA[i] - 2 * EMA[i-Period/4] + EMA[i-Period/8]
D3[i] = EMA[i] - 3 * EMA[i-Period/4] + 3*EMA[i-Period/8] - EMA[i-Period/12]

Fig 1. Double smoothing enabled

Fig 1. Double smoothing enabled


Fig. 2. Double smoothing disabled

Fig. 2. Double smoothing disabled

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

RSS RSS

Indicator Relative Spread Strength.

NMA NMA

Navel MA.

VAMA_MACD VAMA_MACD

Indicator Volume Adjusted MA MACD.

Reverse_Engineering_RSI Reverse_Engineering_RSI

the indicator performs an inverse mathematical transform of oscillator RSI into price and helps assume, at which approximate level the close price of the next day will be, if RSI reaches a certain value.