How know I close ticket by stop loss?
MT5 has trade events, MT4 doesn't.
Monitor the history count, if it changes find the last appropriate order and see if the close price is near the SL.
Don't depend on the comment, some brokers do not modify them.
whroeder1:
MT5 has trade events, MT4 doesn't.
Monitor the history count, if it changes find the last appropriate order and see if the close price is near the SL.
Don't depend on the comment, some brokers do not modify them.
Thank you.
Your asnwer helped me very much!
Hello.
How know I closing ticket by stop loss? or mql4 have any event about close ticket by stop loss ?
I'm not good English, so I draw simple cartoon for your understanding.
Thank you !