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
Why collapse the charts when you can collapse the whole terminal?
Checked. CPU load is higher than if you minimise charts, Market Watch and Tools.
I could be wrong.
Please share the results of running this EA from your VPS (not your home machine).
On this VPS
result.
It is desirable to provide the VPS configuration along with the result, as shown above.
Faced with the fact that literally all functions are slow. Before changing VPS, I want to compare with other solutions and understand which one is better to choose. So please share for an objective picture.
I can use any terminal, MT4/MT5. But I am more interested in 5, of course.
Determines whether or not a programme is running on the braked machine.
Seems to have bypassed the GetMicrosecondsCount brakes on VPS machines. It may seem like nothing. In fact, combat EAs were killing the VPS with CPU load, because microseconds counts must be fully used in trading environment snapshots, which in turn are designed not to load, but to take the load off the CPU.
Who else got in here? Snapshots, and now GetMicrosecondsCount...
Determines whether or not a programme is running on the braked machine.
Whether or not the difference is null is a matter of chance:
Result: 2000000:213579
Zero or not zero is a matter of chance:
Result: 2000000:213579
Yes, that's why I use such a condition in mqh.
Yes, that's why I use this condition in mqh.
It's only 5 checks. I have a slow computer (tablet), but even I only have a difference on every2000000/213579=10th check. And the fact that I have a slow one is confirmed by the fact that even this is not reproduced by anyone else:
Forum on trading, automated trading systems and trading strategy testing
MT5 and speed in action
A100, 2020.09.05 00:13
Also about delaysand all manual charting (trend, Fibonacci, etc.) is also slow
The settings are all by default:
12797
Some kind of inverse dependence: the less bars, the slower
On monthly and weekly charts for example EURGBP (where there is no such deep history) - no delays
That's only 5 checks. I have a slow computer (tablet), but even I only have a difference on every2000000/213579=10th check. And the fact that I have a slow one is confirmed by the fact that even this is not reproduced by anyone else:
If five consecutive checks give a non-zero result, it's a slow GetMicrosecondsCount. Of course, there may be other (even more logical) options to determine if a problem exists. I've left it that way for now.
As for working with bar history - I don't use it. It is always M1+5000 bars. The task is to trade quickly.