Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

VAMA_MACD - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

VAMA_MACD - indicator for MetaTrader 5

Oscillator VAMA_MACD (Volume Adjusted MA MACD) is a MACD in which the Volume Adjusted Moving Average (VAMA) is used for smoothing. To calculate VAMA, use the contract price divided by the total trading volume over the period.

This indicator has four configuration parameters:

 MACD = MAS - MAL
Signal=SMACD/SV
Histogram = MACD - Signal

Where:

 MAS = FastSPV / FastSV
MAL = SlowSPV / SlowSV
  • Fast SPV - the sum of price and volume during the fast MA period;
  • Slow SPV - the sum of price and volume during the slow moving average period;
  • Fast SV - the sum of trading volumes during the fast MA;
  • Slow SV - the sum of volumes during the slow moving average period;
  • SMACD - the sum of MACD value and trading volume during the signal line period;
  • SV - the sum of trading volumes during the signal line period.

VAMA_MACD - indicator for MetaTrader 5


Attachment download

📎 vama_macd.mq5 (14.99 KB)

Source: MQL5 #21045

Verification code Refresh