This project is read-only.

how to get oldar value for iMA

Sep 17, 2013 at 9:07 PM
Hello, I would like to get to get older values for technical indicator iMA, or other. I can get actual value to call :
iMA(Symbol(), TIME_FRAME.PERIOD_H1, 3, 0, MA_METHOD.MODE_EMA, APPLY_PRICE.PRICE_CLOSE, 0);

Can I get values 1,2,3 .. hours to pass ?

Thank you
Vaclav Macak
Sep 23, 2013 at 8:09 AM
with TradePlatform you do it exactly as you do in MQL - use shift parameter. refer to MQL documentation for more details.