Volume Moving Average

 

Hello, How do i calculete the MA using the real volume?

I tryied this :

double MediaVolume = iMA(_Symbol, _Period, Periodos, 0, MODE_SMA, VOLUME_REAL);

but doenst work =(

I need this on a EA so i cant apply the MA on the chart volume indicator

 
GuilhermeReis:

Hello, How do i calculete the MA using the real volume?

I tryied this :

double MediaVolume = iMA(_Symbol, _Period, Periodos, 0, MODE_SMA, VOLUME_REAL);

but doenst work =(

I need this on a EA so i cant apply the MA on the chart volume indicator

Where on Earth did you find that iMA will support VOLUME_REAL on the ENUM_APPLIED_PRICE   parameter??

My suggestion, or you start to learn from scratch to how to program in MQL5 or hire a programmer to do that...

You ar going nowhere, and worse, you could end with a very bad indicator/EA that will lose all your money.

Be realistic... This is not a game... EAs are not Slot Machines...

Reason: