Download MetaTrader 5
To add comments, please log in or register
Does your signal already have a lot of of subscribers? It's time to think about the paid subscription!
JREIS
14
JREIS 2015.10.15 15:01 

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

whroeder1
13627
whroeder1 2015.10.15 16:06  
  1. Don't paste code
    Play video
    Please edit your post.
    For large amounts of code, attach it.

  2. How do you expect any answer? You don't post any code that calls OrderSend and there are no mind readers here.
/
To add comments, please log in or register