See 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. |
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
im getting the error message with my ea ( uninit reason 5 ) can someone explain this?
thanks,william