Experts: EA: ytg_Speed_MA_ea

 

EA: ytg_Speed_MA_ea:

The adviser uses the indicator Moving Average.

Author: IURII TOKMAN

 

hi

has any one had this EA to work? did it make any trade? it didn't make from yesterday.

Thanks

 

hi adaheem,

chech the extern int PeriodMA = 13;

mt4 doesn't not have chart for M13

try change the code

double MA_bar0 =iMA(NULL,0,PeriodMA,0,0,0,shift);
   double MA_bar1 =iMA(NULL,0,PeriodMA,0,0,0,shift+1);

to

double MA_bar0 =iMA(NULL,0,0,0,0,0,shift);
   double MA_bar1 =iMA(NULL,0,0,0,0,0,shift+1);

so it will follow the chart time frame

that is my opinion, now in office, can not test it

 

Will play around with it and see if I can get it to work...

Best Performing Expert Advisors

 

The best are always just a few blocks of code. Great work here. A true gem :)

Reason: