Download MetaTrader 5

Experts: EA: ytg_Speed_MA_ea

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
190241
MetaQuotes Software Corp.  

EA: ytg_Speed_MA_ea:

The adviser uses the indicator Moving Average.

Author: IURII TOKMAN

Fadel
141
Fadel  

hi

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

Thanks

victor
87
victor  

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

MQL4 Comments
16316
MQL4 Comments  

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

Best Performing Expert Advisors

lbranjord
115
lbranjord  

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

To add comments, please log in or register