Does shellexecute work only on active charts?

Hi,

I am experimenting with ShellExecute at the moment anad have three different charts streamling live data from Metatrader which is working really great.

I have set up a simple shellexecute to run but it seems it’s only executing for charts that I have currently selected. What am I doing wrong ?

Thanks .!

Look for function RequestTimedRefresh

The function works everywhere. But invisible charts are not executed to save CPU from doing useless work. If you want them forcefully executed you have to use RequestTimedRefresh.