Executing code when chart is closed
antony23:
Yes, use the OnDeinit function and
check if the reason for deinitialization is REASON_CHARTCLOSE.
Hi,
is there an event handler or a something other to allow me exceuding some code when a chart is closed?
Thanks
Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
- www.mql5.com
//| Expert initialization function | //| Expert deinitialization function | //| Expert tick function | //| test1 |...
Hi,
is there an event handler or a something other to allow me exceuding some code when a chart is closed?
Thanks