CONDITION for close trades.
-
dear all,
how can i put a condition so that my buy order which has a condition of its own to close by another condition of the close trades ???
can i put CONDITION --> BUY--> CONDITION -- CLOSE TRADES????
thank you
-
CONDITION --> BUY--> CONDITION -- CLOSE TRADES
This would not be very great, because it always closes a new trade, because the closing can't happen without buying...
Just separate the "logic trees":
Condition -> buy
Another condition -> close -
thank you , you have been very helpful,(the once per trade worked earlier in another post )
so i can put another pair of logic trees with condition -sell, and condition -close trade??
the EA will be able to recognize whether to go for buy and close or sell and close! -
The ea runs every tree, on every tick.
If you are using mt4, you can have both buy and sell trades open.
If you don't want that, use a "no trade is running" block, for example.In the close trades -block, you can filter the trade type, so it closes only buys, for example.
If you want to show exactly what you are doing, create a shared copy from the Projects-menu (top left).