Download MetaTrader 5

MQL+ OnCalculate in expert - page 3

To add comments, please log in or register
Add our Twitter channel to friends and follow the news!
qjol
3243
qjol 2014.04.23 04:23  
Alain Verleyen
Moderator
30752
Alain Verleyen 2014.04.23 09:41  
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