Logic Error - Please Help me.. - page 2

 
ffoorr:

And you made errors recopying the expert 

should be


Thanks for your respone.. I Already tried..
Any others idea..??
 

The code is all wrong, I show some mistake

to open buy :

double Buy_S_1 = iMA(NULL, 0, 9, 0, MODE_EMA, PRICE_CLOSE, Current + 0);
double Buy_S_2 = iMA(NULL, 0, 9, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
double Buy_L_1 = iMA(NULL, 0, 26, 0, MODE_EMA, PRICE_CLOSE, Current + 0);
double Buy_L_2 = iMA(NULL, 0, 26, 0, MODE_EMA, PRICE_CLOSE, Current + 1);

then signal :

if (  Buy_S_2 < Buy_L_2 && Buy_S_1 > Buy_L_1 ) Order = SIGNAL_BUY;

the close buy is wrong, so are all other signals, look for a new builder EA, or make it modify at "job service".

Reason: