Download MetaTrader 5
To add comments, please log in or register
Find out how to add a video in the messages editor
lex2pb
37
lex2pb 2016.11.27 00:24 

Hi All,

Would greatly appreciate a pointer. Working on an EA that uses 12 different MA combinations (periods and shifts) with frequent access to MA values to earlier bars for varying combinations. Some of the periods are long. Copying each set with each bar seems extremely wasteful and given the terminal does show MAs I was wondering if historical MA values are accessible via code?

Or am I simply better off writing my own MA code?

Thanks in advance,

Lex 

Keith Watford
Moderator
9504
Keith Watford 2016.11.27 00:31  
As far as I know, when iMA is called in an EA, the MA indicator runs in the background so historic buffer indexes are always available.
/
To add comments, please log in or register