Closing Trades
-
Just started using fxDreema and have created an EA but I cant see any provision to create a condition to close a trade that is not simply the reverse of opening the trade - can someone please advise - thank you
-
Have now found how to close trades but the once per bar function is not working?
-
@kriordan Once per bar works fine. There must be something else in your project. Could you share it?
-
@trader-philipps it is very interesting solution to close open position using candles.
So, my purpose is to close my open position (buy or sell) after 5 minutes. Base on candles I have 2 options: 1. when candle 4 is closed after 4 minutes or candle 6 is open (timeframe is 1M).
Please let me know from where I can do this setup, how is the name of module (which allow me to choice also from candle region : candle open, close, high or low).
Many thanks for support in advance. -
@johnny_prd Create a loop for orders and use this block

if you want to set it by time.
Another way may be using expiration but maybe that works only for pending orders. Haven't tried yet.