MQL4 Reference
Standard constants
Uninitialize reason codes
|
Uninitialize reason codes returned by UninitializeReason() function. It can be any one of the following values:
| Constant | Value | Description |
| | 0 | Script finished its execution independently. |
| REASON_REMOVE | 1 | Expert removed from chart. |
| REASON_RECOMPILE | 2 | Expert recompiled. |
| REASON_CHARTCHANGE | 3 | symbol or timeframe changed on the chart. |
| REASON_CHARTCLOSE | 4 | Chart closed. |
| REASON_PARAMETERS | 5 | Inputs parameters was changed by user. |
| REASON_ACCOUNT | 6 | Other account activated. |
|
|
|