can someone look into this code?

To add comments, please log in or register
olufemi
110
olufemi  
i dont really know why this attached EA is not placing order the all the time even if the condition is fulfilled. Pls. did i make mistake or is there anything i can do to retify this problem. Thanks
Files:
samir dirgham
86
samir dirgham  
olufemi wrote >>
i dont really know why this attached EA is not placing order the all the time even if the condition is fulfilled. Pls. did i make mistake or is there anything i can do to retify this problem. Thanks

if (!ExistPositions()){

if ((dSignal>Ask+lTakeProfit*Point&&mfi<rsibuy&&RSI<rsibuys&&RSI>rsiur&&bullMA5>bearMA13&&bullMA5>beaMA21&&Ask>beaMA80&&Ask>beasMA80&&RSI2>rsiur&&RSI2<rsibuys)){
OpenBuy();
return(0);
}

if ((dSignal<Bid-lTakeProfit*Point&&mfi>rsisell&&RSI>rsisells&&RSI<rsiur&&bullMA5<bearMA13&&bullMA5<beaMA21&&Bid<beasMA80&&Bid<beaMA80&&RSI2<rsiur&&RSI2>rsisells)){
OpenSell();
return(0);

----------------------------

it works

To add comments, please log in or register