- It takes time to open the chart. Sleep five seconds between the open and the apply.
- Do you understand that if you name the template Default.tpl it will be automatically applied?
William
Roeder:
- It takes time to open the chart. Sleep five seconds between the open and the apply.
An answer which again shows primitivity of MQL environment. Even javascript has ability to "wait until first function is done".
btw sleep didn't work.
"Do you understand that if you name the template Default.tpl it will be automatically applied?"
I even know tester.tpl
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
Hi all,
I use the code below to apply template to newly opened chart but it is not working as intended.
It doesn't work or it works after a minute or something. And also if I open another chart and close it then it applies template to the chart I want.