control if long or short not work

Back to topics list To post a new topic, please log in or register
avatar
26
faustf 2016.06.06 18: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


Back to topics list  

To add comments, please log in or register