[ SOLVED ] EXACTLY THE SAME PROGRAM. Different behaviour at VPS, different at my Home Computer.

 

Hello !


Today I have met very vierd issue :


1. I have exactly the same versions of my EA : both at two Windows 10 : VPS and my laptop.

2. EA is for immediately closing all positions after daily drawdown limit/ profit target reached. It is aimed to prevent me from trying to open more positions after reaching my daily goal/DD.

3. It will be locked and protected by password from password generator. BTW I believe It is not matter of that.

4. EA is based on MQL5 Standard Library Panels And Dialogs , inputs are reading from CEdit fields.

5. And at the moment problem appears :


This EA works properly at my home computer, but it cannot read input variables at VPS !

It immediately put them back into values declared as global variables !!!

Variables are: hour and minute of initialization calculating profit ( once a day), DD allowed, profit target.


I am sure they are exactly the same versions, I have tried to replace them, to compile source code on VPS etc.

It is not matter of confused server/ local time as well !!!

And it is not matter of displaying this variables, I have checked them in logs !

I also have restarted VPS system as well, VPS is OVHCloud .

Both MT4 versions are the same, downloaded from AdmiralMarkets.

I am also using MQL4+ style


I also ruled out a collision with other EAs, it has been checked separately...



Have anybody from forum users had similar problem ?

It seems very vierd, I really don't understand what's going on .


How to solve that ?

Please help !!!



Edit : I have checked OnScreen Keyboard - It also does not work :(

Documentation on MQL5: Standard Library
Documentation on MQL5: Standard Library
  • www.mql5.com
Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 

Okay, nobody answered - I have found solution so I will answer  myself, if anybody will meet such problem in future :



The reason was too short OnTimer interval.



Topic to close