Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1119
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 how to make a pause of 1 millisecond? Sleep(1) is not an option because it pauses from 0 to 50 milliseconds or so. When calling with parameter 1.
It is written in the documentation that due to technical nuances it is not realistic to get a pause of less than 16-18 milliseconds. This is related to hardware, OS, etc.
I have about 1, sometimes 2,3, depending on workload.
? google: winds system timer, for questions or misunderstandings why less than 16ms is not possible, in short - winds is not a real-time system, only the timer from winds is available to software
? google: winds system timer, for questions or misunderstandings why less than 16ms is not possible, in short - winds is not a real-time system, only the timer from winds is available to software
16 is a lot, but bearable. Sometimes more than 50.
Once again, the wind is not a real time system, not enough resources OS, your timer will be delayed but will still be executed, use logical time intervals, I do not use less than 100 ms, and usually use 400 ms, even for a call dll with graphics and processing clicks checkboxes 400 ms is not noticeable at all, checked 500 ms - yes it is already visible that no response
imho, i wouldn't expect less than 100 ms to be guaranteed from a timer
Can you tell me how to display an information message on the screen without waiting for the OK button to be pressed?
There is of course a MessageBox function, but it waits for a reaction and stops the execution of the program.
Can you tell me how to display an information message on the screen without waiting for the OK button to be pressed?
There is of course a MessageBox function, but it waits for a reaction and stops the execution of the program.
Yes Alert, I think. Just be sure to read the last paragraph.
https://www.mql5.com/ru/docs/common/alert
Yes Alert, I think. Just be sure to read the last paragraph.
https://www.mql5.com/ru/docs/common/alert
Thank you. Just what I need.
Good afternoon. Please advise or provide me with a link. How to organize an indicator that would show the balance changes as a candlestick chart in a separate window. I have done the simplest thing, the indicator copies the price changes, but now how to replace the price changes with the changes in the balance, in other words, to replace the arrays used by the indicator.
If you have any ideas, please share them, I will be grateful even for a general description of the algorithm, I lack experience, I do not know where to start.
https://charts.mql5.com/22/192/eurusd-m1-alpari-international-2.png