Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1630

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
How not?
iVolumes
OK... you win :-)))
Is it possible to pause the indicator until user presses the button ?
while(!IsStopped()) in mt 5 works and no problems, but mt 4 hangs tight...
Is it possible to pause the indicator until user presses the button ?
while(!IsStopped()) in mt 5 works and no problems, but mt 4 hangs tight...
Like this
Is it possible to pause the indicator until user presses the button ?
while(!IsStopped()) in mt 5 works and no problems, but mt 4 hangs tight...
indicators work in one thread, you can't hang them.
This is approx.
yes, but you don't need a loop and move it to OnChartEvent and check in ontika that the button flag hasn't triggered.
indicators work all in one thread, you can't hang them.
yes, but you don't need a loop and move it to OnChartEvent, and check in ontika that the button flag has not triggered.
in the tester OnChartEvevnt doesn't work, but the suggested solution does :-)
OnChartEvevnt does not work in the tester, but the proposed solution does :-)
For indicators it works in the tester :)
for indicators works in the strategy tester as well :)
Timer and ChartEvent event handling is not supported in the strategy tester.
Timer and ChartEvent event handling is not supported in the strategy tester.
Makar - check)
Makar - check)