Checking orders closed on StopLoss New comment eseq 2014.11.06 04:58 Hi All,I am struggling with writing a code to detect orders closing with SL. I know that in MQL4 we can compare OrderClosePrice() against the OrderStopLoss(), but don't know what to use in MQL5. I am new to it.Thanks for help [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. orderclose problem What's wrong with using this to modify orders? Trinh Dat 2014.11.06 10:49 #1 i think you can get infor from comment. eseq 2014.11.08 16:27 #2 tuoitrecuoi: i think you can get infor from comment.I cannot find any examples. I want to count consecutive losses and then for example I'd send email when there was more that 5 of them. New comment
Hi All,
I am struggling with writing a code to detect orders closing with SL. I know that in MQL4 we can compare OrderClosePrice() against the OrderStopLoss(), but don't know what to use in MQL5. I am new to it.
Thanks for help