Close all orders if the PRICE HAS REACHED A CERTAIN LEVEL AND COMES BACK
i cant seem to solve this little problem
Files:
f.t.czah.mq4
2 kb
- Help. closing all orders
- this works? if an order is open and then i want to close the order this way......
- How to close all orders when price reaches take profit?
- tafadzwa: i cant seem to solve this little problemYou'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.
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.