I have an EA. The EA opens a trade according to some rules. It has take profit point and stop loss point.
I want to obtain when the EA opens a trade, if the trade isn’t closed by take profit point up to x hours, the EA must close the trade.
How can I do that?