|
Hi everybody
This is the correction. (Thanks to Jerome M !)
Take the indicator 3MACROSS and add in the EA this :
//*******
int start()
{
int recovering_direction = GlobalVariableGet("ok_trade");
}
//***************
// But now I saw that the Indicator is wrong because Order=SiGNAL_BUY never work!!
if (recovering_direction == 1 ) { Order = SIGNAL_BUY; }
if (recovering_direction == 2) { Order = SIGNAL_SELL; }
and if I do that :
if (recovering_direction == 2 ) { Order = SIGNAL_BUY; }
if (recovering_direction == 1) { Order = SIGNAL_SELL; }
Order = SIGNAL_SELL never work!!
Why?????
best regards
|