Is it common for code to "change on its own" after being idle for a long time?
Whenever I make a new update, I create a new version of this code, thus generating several versions (1.01, 1.02, 1.03... etc)... and I keep them saved for future reference.
The problem is when I go to check later and the code either no longer compiles or no longer works as before.
What problems could be occurring?
- Libraries: MultiTester
- Direction of OnCalculate() in MQL4 and MQL5
- Compiling an EA in Build 600 creates havoc with a totally unrelated EA running on a different chart.
Samuel Cavalcanti Costa:
Most likely this is bacause of MQL5 is constantly changing, which in many cases breaks back-compatibility.
Is it common for code to "change on its own" after being idle for a long time?
Whenever I make a new update, I create a new version of this code, thus generating several versions (1.01, 1.02, 1.03... etc)... and I keep them saved for future reference.
The problem is when I go to check later and the code either no longer compiles or no longer works as before.
What problems could be occurring?
Which errors is your code showing?
Osmar Sandoval Espinosa #:
Which errors is your code showing?
Which errors is your code showing?
The code simply stops working. Even backtesting doesn't pick it up anymore... the older/more forgotten the code is, the harder it is to get it working. In the end, they only serve as a reference for future code.
But then I discovered that there are external interferences that degrade the code. I need to find a safer way to store my code.
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