MQL5 local version: can not load indikator; % of free Equity
-
Hallo,
the ea runs in the optimazion perfectly.
In the MT5 demo-account (Alpari) there are two problems:
- the ea can not handle the the blocks "buy now" and "buy orders in grid" if the moneymanagement "% of free margin" is used.
- It can not load all indicators
I do not know what can be the failture or the mql5-ea can not use "% of free margin?

Here are some logs text:
IJ 1 09:11:54.558 Myfxbook 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll' is not 64-bit version
KD 1 09:11:54.838 Myfxbook (CADCHF,H1) Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll'
QN 0 09:11:59.581 Myfxbook (CADCHF,H1) Statement uploaded successfully
LD 1 09:16:02.348 Myfxbook 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll' is not 64-bit version
JN 1 09:16:07.980 Myfxbook (CADCHF,H1) Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll'
MH 1 09:18:06.244 Myfxbook 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll' is not 64-bit version
DR 1 09:18:06.509 Myfxbook (CADCHF,H1) Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll'
KO 0 09:20:35.286 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=10 | error code=4806)
OL 0 09:20:36.378 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=11 | error code=4806)
FQ 0 09:20:37.470 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=12 | error code=4806)
CG 0 09:20:38.563 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=13 | error code=4806)
ED 0 09:20:39.655 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=14 | error code=4806)
OG 0 09:20:40.747 GridMacd_1.01 (GBPUSD,M15) You want to trade 0.00010801278128 lot, but your broker's minimum is 0.01 lot. The trade/order will continue with 0.01 lot instead of 0.00010801278128 lot. The same rule will be applied for next trades/orders with desired lot size lower than the minimum. You will not see this message again until you restart the program.
DN 0 09:20:40.793 GridMacd_1.01 (GBPUSD,M15) 23
KE 0 09:27:00.997 Myfxbook (CADCHF,H1) Statement uploaded successfully
ON 0 09:42:01.634 Myfxbook (CADCHF,H1) Statement uploaded successfully
IG 0 09:57:02.738 Myfxbook (CADCHF,H1) Statement uploaded successfully
NH 0 10:12:04.295 Myfxbook (CADCHF,H1) Statement uploaded successfully
QO 0 10:17:59.008 GridMacd_1.01 (GBPUSD,M15) Uninitialize: Symbol or timeframe was changed
KI 0 10:18:00.849 GridMacd_1.01 (GBPUSD,H1) Uninitialize: Symbol or timeframe was changed
DF 0 10:18:02.175 GridMacd_1.01 (GBPUSD,M30) Uninitialize: Symbol or timeframe was changed
LP 1 10:18:46.744 Myfxbook 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll' is not 64-bit version
MJ 1 10:18:47.321 Myfxbook (CADCHF,H1) Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll'
IP 0 10:18:49.022 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=10 | error code=4806)
LE 0 10:18:50.114 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=11 | error code=4806)
PJ 0 10:18:51.206 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=12 | error code=4806)
MO 0 10:18:52.298 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=13 | error code=4806)
NL 0 10:18:53.390 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=14 | error code=4806)
QO 0 10:18:54.482 GridMacd_1.01 (GBPUSD,M15) You want to trade 0.00010870657728 lot, but your broker's minimum is 0.01 lot. The trade/order will continue with 0.01 lot instead of 0.00010870657728 lot. The same rule will be applied for next trades/orders with desired lot size lower than the minimum. You will not see this message again until you restart the program.
MF 0 10:18:54.529 GridMacd_1.01 (GBPUSD,M15) 23
RO 0 10:20:35.367 GridMacd_1.01 (EURUSD,H1) Error: Indicator cannot load (handle=10 | error code=4806)
JP 0 10:20:36.459 GridMacd_1.01 (EURUSD,H1) Error: Indicator cannot load (handle=11 | error code=4806)
KJ 0 10:21:21.902 GridMacd_1.01 (EURUSD,H1) Uninitialize: Account was changed
KF 0 10:21:21.965 GridMacd_1.01 (GBPUSD,M15) Uninitialize: Account was changed
PP 1 10:21:22.058 Myfxbook 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll' is not 64-bit version
CJ 1 10:21:27.752 Myfxbook (CADCHF,H1) Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll'
QJ 0 10:23:09.667 GridMacd_1.01 (EURUSD,H1) Uninitialize: Account was changed
MF 0 10:23:09.745 GridMacd_1.01 (GBPUSD,M15) Uninitialize: Account was changed
RP 1 10:23:09.839 Myfxbook 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll' is not 64-bit version
GJ 1 10:23:10.400 Myfxbook (CADCHF,H1) Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\B466A7DF7996ECE6D0803D320F31D0AB\MQL5\Libraries\zlib_wrapper.dll'
DR 0 10:23:10.712 GridMacd_1.01 (EURUSD,H1) Error: Indicator cannot load (handle=10 | error code=4806)
LG 0 10:23:11.804 GridMacd_1.01 (EURUSD,H1) Error: Indicator cannot load (handle=11 | error code=4806)
NJ 0 10:23:11.976 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=10 | error code=4806)
OO 0 10:23:13.068 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=11 | error code=4806)
JL 0 10:23:14.160 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=12 | error code=4806)
JQ 0 10:23:15.252 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=13 | error code=4806)
PF 0 10:23:16.360 GridMacd_1.01 (GBPUSD,M15) Error: Indicator cannot load (handle=14 | error code=4806)
EF 0 10:23:16.375 GridMacd_1.01 (EURUSD,H1) Uninitialize: Account was changed
JS 0 10:23:16.469 GridMacd_1.01 (GBPUSD,M15) You want to trade 0.0 lot, but your broker's minimum is 0.01 lot. The trade/order will continue with 0.01 lot instead of 0.0 lot. The same rule will be applied for next trades/orders with desired lot size lower than the minimum. You will not see this message again until you restart the program. -
These MM options (% of...) are maybe not useful in every situation. If it is "% of Balance" and the value is 100(%) and Balance is 10000 and the market is EURUSD when 1 lot is 100000, then the lot size will be 0.1.
I think this indicator is loaded, but can't be read or something like that. Is it working otherwise, if you use it manually? Or within another EA somewhere from internet? And after these error messages, will it eventually start to work or they have no end?
How about input parameters, are they ok? - the same parameters count and order, the same datatypes or at least compatible datatypes?