Okay so when I add a moving average indicator to my chart I can set the shift to -1 and it will give me a value for the MA, which is perfect for what I want, however when I try to program a -1 shift in the iMA function in my EA, the value comes back as zero. How can I overcome this?
- Attn: Long Time traders
- Moving Average Levels put into EA code?
- How can I close the indicators in Open Chart of Strategy Tester?

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