ICMarkets VPS CP error initializing of CP failed with code 1

Avatar
  • updated
  • Answered

Hi, 

Any idea why I have this error when I migrate the CP to my VPS?

2024.01.09 19:45:01.455 Experts expert CommunityPower MT5 (EURUSD,H1) loaded successfully

2024.01.09 19:45:02.497 Experts initializing of CommunityPower MT5 (EURUSD,H1) failed with code 1

2024.01.09 19:45:02.513 Experts expert CommunityPower MT5 (EURUSD,H1) removed


On same VPS I have a different EA with a different magic number.

Broker ICMarkets Terminal build  4109 version 5.
On terminal seems to work fine, but not on VPS.

Thank you.

Edited: I remove the other EA and migrated again only CP ...this time I got the below in journal:
2024.01.09 20:22:29.194 CommunityPower MT5 (EURUSD,H1) cannot load custom indicator 'Examples\Envelopes.ex5' [4802]

2024.01.09 20:22:29.194 CommunityPower MT5 (EURUSD,H1) Can't load Examples\Envelopes.ex5 indy, error #4802!
2024.01.09 20:22:29.279 CommunityPower MT5 (EURUSD,H1) 7 leaked strings left
2024.01.09 20:22:29.279 CommunityPower MT5 (EURUSD,H1) 1 undeleted objects left
2024.01.09 20:22:29.279 CommunityPower MT5 (EURUSD,H1) 1 object of type CCustomIndy left
2024.01.09 20:22:29.279 CommunityPower MT5 (EURUSD,H1) 1056 bytes of leaked memory

Avatar
1
Andrey Khatimlianskyi
  • In process

Do you use custom indicator (Envelopes)?

I didn't check how it works with the MQ VPS. It seems it doesn't synchronize indicators with the EA. Try to attach it to the chart, maybe this will help.

Avatar
1
marius p.
Quote from Andrey Khatimlianskyi

Do you use custom indicator (Envelopes)?

I didn't check how it works with the MQ VPS. It seems it doesn't synchronize indicators with the EA. Try to attach it to the chart, maybe this will help.

I disabled the Envelope indicator and migrated again. It is now working; I will have a go-to attach it and see how it will go. Thanks, Andrey.

Avatar
0
Andrey Khatimlianskyi
  • Answered