-
Play videoPlease edit your post.
For large amounts of code, attach it.
- How do you expect any answer? You don't post any code that calls OrderSend and there are no mind readers here.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello to all,
My EA compiles with no errors but when I do the BackTest the system returns no results, no reports.
I have a dough about two parameters of iMA function. They are MA_shift and Shift.
Here is the lines of code I'm using:
v10_1 = iMA(NULL,PERIOD_M15,10,0,MODE_EMA,PRICE_CLOSE,1); // MA_shift=0 and shift=1
v10_2 = iMA(NULL,PERIOD_M15,10,0,MODE_EMA,PRICE_CLOSE,2); // MA_shift=0 and shift=2
v10_3 = iMA(NULL,PERIOD_M15,10,0,MODE_EMA,PRICE_CLOSE,3); // MA_shift=0 and shift=3
May I really use '0' for MA_shifts?
Thank you so much.
Jr