VPS Migration error 2021.09.25 12:44:00.889 Experts initializing of ****************** () failed with code 1

 

Just subscribed to mql5 VPS service to try my EA and getting the above error.

the EA working fine on my Metatrader 5 Build 2999 and 2981.


2021.09.25 12:44:00.719 Network '20126293': trading has been enabled - hedging mode

2021.09.25 12:44:00.723 Terminal '20126293': 1 chart, 1 EA, 0 custom indicators, signal disabled

2021.09.25 12:44:00.889 Experts initializing of ******* () failed with code 1

2021.09.25 12:44:00.904 Experts expert ************** () removed

2021.09.25 12:44:01.498 Network '20126293': scanning network for access points



Anyone with an idea what could cause this?

 

It is something with your EA.
You can check the build of Metatrader in MQL5 VPS (it should be more higher than your build), and compile your EA with this build's MetaEditor; and/or find the error in your EA for example.

Forum on trading, automated trading systems and testing trading strategies

Iinitializing of 'My expert" failed with code 1

William Roeder, 2019.08.20 03:16

Non-zero means the expert did not initialize correctly.

It is your OnInit code that returned that.

Do you really expect an answer? We can't see your broken code. There are no mind readers here and our crystal balls are cracked.

 
Sergey Golubev #:

It is something with your EA.
You can check the build of Metatrader in MQL5 VPS (it should be more higher than your build), and compile your EA with this build's MetaEditor; and/or find the error in your EA for example.

Thanks, had to recompile one of the dependent custom indicators.

I also renamed the indicator (shortened the name was too long).