I have written a large EFS that I am wondering if I can add some code to it to perform a bit better when first loaded on a chart.
The code is meant to update on each new bar.
When you first put the code on a chart it takes 2 seconds or so to run through all the bars on the chart--no big issue.
But during this process all other functions in esignal stop!
Data coming in, screen updates, everything stop for 2 seconds.
I assume this is due to esignal being a single threaded application?
So what I am wondering is there a statement I could add in my code that basically says "process all other events"
This would maybe cause the code to take longer to run through all the bars, but it would eliminate the lock up that occurs.
Any thoughts?
The code is meant to update on each new bar.
When you first put the code on a chart it takes 2 seconds or so to run through all the bars on the chart--no big issue.
But during this process all other functions in esignal stop!
Data coming in, screen updates, everything stop for 2 seconds.
I assume this is due to esignal being a single threaded application?
So what I am wondering is there a statement I could add in my code that basically says "process all other events"
This would maybe cause the code to take longer to run through all the bars, but it would eliminate the lock up that occurs.
Any thoughts?
Comment