Download MetaTrader 5
To add comments, please log in or register
All Code Base apps are available from MetaTrader 5. You can publish your own one!
faustf
84
faustf 2016.06.06 16:47 

hi guy i  have a  EA  in this  EA   i want  controll if trade short  , going  in  good direction or  not , and  the  same  for long

i  write 

if(Bid>=(OrderOpenPrice()+limit_closing) //short

 this if  in short  work perfect ,  but   in long  dont  work (dont  do nothing  )


 if(Bid<=(OrderOpenPrice()-limit_closing))  //long


how is possible???

what wrong?  

thankz at all again

/
To add comments, please log in or register