Trader55: iMA calculated on the close of the last candel or on the current price. ?
Both if you specify shift=0: SMA = ( Close[0] + Close[1] ... + Close[period-1] ) / period.
Thanks a lot WHRoeder.
WHRoeder:
Thanks a lot WHRoeder.
Both if you specify shift=0: SMA = ( Close[0] + Close[1] ... + Close[period-1] ) / period.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good morning,
For the function iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift).
If applied_price=PRICE_CLOSE, is iMA calculated on the close of the last candel or on the current price. ?
Indeed PRICE_CMOSE is it CLose[0] or CLose[1] ?
Thanks you