OnDeinit

 

Hello,


is there a way, to see in OnDeinit, which was the last codeline? or where i come from?


thanks

 
There is no "last codeline." It isn't called from anywhere. It is called by the terminal on an event. Event Handling - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
William Roeder:
There is no "last codeline." It isn't called from anywhere. It is called by the terminal on an event. Event Handling - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

I know, i know even im coming from oninit, but there a lot of functions to call, so im will now, which function is really the last