Is there any difference if..
https://docs.mql4.com/basis/functions/special
https://docs.mql4.com/check/UninitializeReason
https://docs.mql4.com/check/UninitializeReason
It will be called on chart change, yes
Okay. Thank you Phy and Stringo.
Let say we have a bool variable "Trade"
Is there any difference if we put it here :
comparing to here :
And about init(), this function only accessed once right? but if we have an internet disconnection and then connected again, is this function will be accessed again (without removing the EA from the chart) ?
Thank you