Close trade after 3 candles
-
is there a way to close negative trade when the third candle closes ?
-
@Jennifer time filter should do it , and connect that do close loosable trades
-
Third candles since what?
-
@fxDreema third candle since the trade open
-
A trade can be opened in the middle of a bar. I mean, trades don't care that bar exists, they are in no way connected to them. But we can get the time at which a trade has been opened and compare the current time with it.
For example: For eact Trade -> check age -> close
This will close a trade when it is too old. But you don't have to do that, because there is Expiration options in Buy/Sell blocks... which basically is doing the same thing.There is no ready block to close a trade in the beginning of a candle when that trade is old enough. But this will probably make it: Once per bar -> For eact Trade -> check age -> close
-
@fxDreema thanks
-
I would also use the "check loss" block, besides the check age so you only close it if it is in loss (with expiry all trades will close no mather the profit/loss).
-
@fxdreema if I understand well, in the Buy/Sell is expire option. This option will close position (MT5) without take into account if you win/loss. Also close your trade/position.
I understand well?
I ask this because I want to create a 5M strategy and I have trouble with close positions after 5 M.I waiting your feedback with higher interest.
Thank you.