Errors, bugs, questions - page 1629

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
Can you tell me what the difficulty is. The Expert Advisor has a standard analysis of the indicators, if the condition is matched, the order opening function is written in the code, with check of TP correctness, price correctness SL and so on. There is no loop. After opening check we memorize the bar so it does not open on this bar and on the next one and then return;
In the tester, everything works fine :) in accounts with Instant execution the order is also opened normally. But as for the ECN accounts, two orders are opened at once with couple of seconds difference. How may it happen? How to fight this? Maybe, there should be some additional check?
Is the different behaviour of MQL4 and MQL5 in this situation an error?
Is the different behaviour of MQL4 and MQL5 in this situation an error?
Not silent. There is an 18-page forum thread describing this option.
There was a topic and it was discussed in details:Testing of the new MQL5 compiler for x64 platforms - speed-up of calculations by 2 to 10 times!>>>
Terminal version and bit rate
v.1375, 64-bit
Problem description.
After upgrade to the latest build, agents freeze after passing the first 1900-2100 passes during optimization. Everything was fine before update, all parameters and EA code are the same.
Sequence of actions
Optimization starts. Opening broker. Real account. The tools: Si Splice, Vtb Splice, Si 9.16, Vtb 9.16 (I have not tried others). Interval: monthly, minute, 15-minute. Opening prices or OHLC.
Result.
Local and remote agents after 2000 passes actually freeze, CPU loads, change by about 0.01% per 10 minutes. 14 agents.
Expected result
Optimization walkthrough as with the previous build.
Additional information
About me: experienced .net MQL5 programmer
Gentlemen, I have solved the problem. I don't know what exactly helped me:
1) Fixing a code that sometimes caused an error in OnTick.
2) Preventing execution of Sleep in optimization mode.
3) Denying while with internal position closing check
Anyway, I am very glad that I have managed to fix it and apologize to the developers for thinking that a bottleneck has appeared in the optimizer in the latest build.
Am I correct in assuming that not everyone in the kodobase is pre-moderated?Nikolay Kositsin, for example, publishes his wonderful codes every day. It doesn't work for me: they don't give me permission to publish for many days.
I know I don't deserve it. Can you tell me how to speed up the publication process?
Am I correct in assuming that not everyone in the kodobase is pre-moderated?Nikolay Kositsin, for example, publishes his wonderful codes every day. It doesn't work for me: they don't give me permission to publish for many days.
I know I don't deserve it. Can you tell me how to speed up the publication process?
Through CHART_SHOW_DATE_SCALE - this is not it, as I understand.
The manually interesting is switched on via the following path:
Terminal -> Service -> Settings -> Graphics -> Timeline
Below I'm attaching the test code. If you manually enable "Precise time scale" in the trading terminal, this test indicator draws vertical line segments with anchor points between two bars. If not enabled, it is not between the bars.
In the screenshot below, the vertical line segment created by the test code between the bars, when "Precise time scale" is enabled
Please tell me please = HOW to enable this function for MT-4 ?
(because there is a need for lines to be drawn IMMEDIATELY between candlesticks))
""""""" Please tell me how to enable/disable "Precise time scale" in MetaTrader 5. I cannot find it.
I do not know what to do withCHART_SHOW_DATE_SCALE.
The manually interesting is switched on via the following path:
Terminal -> Service -> Settings -> Graphics -> Timeline
Below I'm attaching the test code. If you manually enable "Precise time scale" in the trading terminal, this test indicator draws vertical line segments with anchor points between two bars. If not enabled, it is not between the bars.
In the screenshot below, the vertical line segment created by the test code between the bars, when "Precise time scale" is enabled
"""""""""
Please tell me please = HOW to enable this function for MT-4 ?
(because there is a need for lines to be drawn IMMEDIATELY between candlesticks))
""""""" Please tell me how to enable/disable "Precise time scale" in MetaTrader 5. I cannot find it.
I do not understand, it isthrough CHART_SHOW_DATE_SCALE.
The manually interesting is switched on via the following path:
Terminal -> Service -> Settings -> Graphics -> Timeline
Below I'm attaching the test code. If you manually enable "Precise time scale" in the trading terminal, this test indicator draws vertical line segments with anchor points between two bars. If not enabled, it is not between the bars.
In the screenshot below, the vertical line segment created by the test code between the bars, when "Precise time scale" is enabled
"""""""""
Please tell me please = HOW to enable this function for MT-4 ?
(because there is a need for lines to be drawn IMMEDIATELY between candlesticks))