Any scripts to reload template or indicator each 5 mins?
Need you gurus to give advices.
Hi !
After reflexion, you can't attach a script who reload a template on the same chart.
Maybe you can make a script with the following content and reload tpl on another chart ?
To test...
void OnStart() { do { ChartApplyTemplate(idofyourchart,"MyTemplate.tpl"); Sleep(300000); } while(!IsStopped()); }Just FYI, Sleep() take wait time in milliseconds, then 5 minutes = 5 * 60 * 1000
- Indicators can not sleep.
- A template simply deletes everything off a chart and then loads whatever is in the template. Should change nothing. Why?