MQL+ OnCalculate in expert - page 3

 
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().

Reason: