Download MetaTrader 5

MQL+ OnCalculate in expert - page 3

To add comments, please log in or register
qjol
3243
qjol  
Alain Verleyen
Moderator
33618
Alain Verleyen  
cungchoidi:


Thanks deysmacro, I will try


Hmm,

I am not sure I made myself clear. E.g when your trade gets stop triggered, how would you know if the system does not fire an event?

You can create a function which detects when a stop is triggered (whatever how you do it), and then send a custom event. This event can then be intercepted with OnChartEvent().

123
To add comments, please log in or register