|
Other question
now my EA like this
if(FastMA2 <= SlowMA2 && FastMA1 > SlowMA1)
{
ClosePositions();
OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,Ask-SLpips*Point,Ask+(45*Point),"",MAGIC,0,Blue);
return(0);
i want to change like this
1. 15minutus timeflame happen buy sign
2. if then 5minutes timeflame MA cross buy sign already ,too
ClosePosition. and get new position
if then 5minutes timeflame MA change sell sign already
wait 5minutes timeflame change buy sign ,
then ClosePosition. and get new position
Please tell me how to write this program.
|