Errors, bugs, questions - page 2738

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
Afternoon.
Stumbled across an incomprehensible thing and don't understand what it is.
There are two functions which are used in different strategies. Logically, the code in checks like
It should not be executed if one of the conditions is wrong. But for some reason it is executed if the magic number and the magic number passed into the function are NOT EQUAL.
It seems to be an integer type comparison. I cannot understand why. You can see it in the screenshot below.
Can you comment on it?
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
Alexey Kozitsyn, 2020.05.12 14:10
The device hangs permanently while debugging indicators in MT4 if I switch to chart.
For example it happens during debugging of CCI standard indicator.
1. Set a breakpoint;
2. Press F5;
3. Switch to the graph.
Result - the debugger graph hangs.
You can also simply press F5 several times during debugging - the chart hangs.
Build 1260.
Debugger settings:
What does this function do?
Checks the distance from the last position with a certain magician.
Logically, if checking the magician of the position with the magician I want fails, then this function should not come up either.
Mt 4
I get this
2020.05.13 18:05:09.335 Access violation write to 0x0335346E
2020.05.13 18:05:09.276 VR EURUSD,H4: 1 leaked strings left
Mt 4
I get this
2020.05.13 18:05:09.335 Access violation write to 0x0335346E
2020.05.13 18:05:09.276 VR EURUSD,H4: 1 leaked strings left
Dll. You won't know where you blew off a limb without the code)))
Dll. You won't know where you blew off a limb without code)))
No DLL
Tried disabling the DLL in the terminal settings and in the indicator does not help.No DLL
Well, then let's look at the code. The string can leak only together with dynamic object, and access error without dll - it's already interesting...
I have identified by exception, the error appears if there is a template attached to the chart which already has an indicator on it.
I have identified by exception, the error appears if there is a template attached to the chart which already has an indicator on it.