I'm trying to do the same thing in a EA: I need to check in cycles of 60 sec if the open trade has reached TP or SL.
Is there any function you can suggest I should check to figure out how to do so?
Thank you Alain
MT4 or MT5 ?
Please show your attempt if you need coding help.