Is iMA data history buffered and accessible?
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.
You agree to website policy and terms of use
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