Help with "check age" block?
-
Hello
May anyone help me to understand what I am doing wrong with the "check age" block?
I have a condition setting an age for each trade that close all the positions after a optimizable age parameter.

So, after a optimized expiration days, each position have to be closed. I have backtested the EA with
ExpirationDays_Long Positions = 7 (days)
ExpirationDays_Short Positions = 10 (days)But I am getting trades that the "Time in trade" are greater than 7 days (Buys) &/or 10 days (Sells) and I don't know why is this happening.

I am using MT5 building the EA with the web builder.
Thanks for the help.