Download MetaTrader 5

How i can get moving average of an Indicator.

To add comments, please log in or register
Suraj Neupane
179
Suraj Neupane 2016.02.11 12:54 
I'm trying to get MA of Williams' %. can anybody help me?
Francis Dogbe
9502
Francis Dogbe 2016.02.11 20:03  
Suraj Neupane:
I'm trying to get MA of Williams' %. can anybody help me?
how? your question not clear
Vasyl Nosal
18632
Vasyl Nosal 2016.02.11 22:13  
iWPR
Alain Verleyen
Moderator
31090
Alain Verleyen 2016.02.12 09:46  
Vasyl Nosal:
iWPR
Irrelevant. The question is how to get a Moving Average of WPR.
Vasyl Nosal
18632
Vasyl Nosal 2016.02.12 11:44  
Alain Verleyen:
Irrelevant. The question is how to get a Moving Average of WPR.

 

double wpr_buf[];

ArrayResize(wpr_buf,200); 

double ma_wpr_buf[]; 

 ArrayResize(ma_wpr_buf,200-ma_period); 

 

fot(int i=0;i<ArraySize(wpr_buf);i++)

{ 

wpr_buf[i]=iWPR(...);

} 

 fot(int i=0;i<ArraySize(ma_wpr_buf);i++)

{ 

ma_wpr_buf[i]=iMAOnArray(...,wpr_buf,...,i);

} 
Suraj Neupane
179
Suraj Neupane 2016.04.22 14:09  
Alain Verleyen:
Irrelevant. The question is how to get a Moving Average of WPR.
Thank you for your time. That helped. 
To add comments, please log in or register