Close all orders if the PRICE HAS REACHED A CERTAIN LEVEL AND COMES BACK

 
  1. tafadzwa: i cant seem to solve this little problem
    You've stated no problem. "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires - meaningless. There are no mind readers here.
  2. if(Bid>Line+50*Point) // if Price is greater than this level
       qq=1; 
    :
    if(qq==1 && Bid<Line+50*Point) // when the price has come back
       Alert("Close all orders");// CLOSE_ALL_ORDERS( ) 
    • You check if price has reached the level. Then if price ticks one Point below that you Alert.
    • Perhaps you should alert when it comes back more than one Point.
    • Or Perhaps alert when it comes back more than one Point from the high.
    • Or just right click and set a trailing stop and be done.
Reason: