So I've created a script who's purpose is just to take data from charts, and print it to the output window so I can copy and past in excel. I have no intention of actually using the script live.
Admittedly it is somewhat inefficient, has many loops and loops back over previous bars almost every bar to get various values. It is also has 3 MTF bar series added to it. The primary data series is a 1 minute bar.
Running this on a few years is no problem. But I want to get data for about 10 years all in one go. The reason being that some of the data will be sequenced, and I want the sequence number of one data point to match another. If I split it up I will either have to ditch the sequencing or go in and manually adjust it which will take a lot of time.
I've tried obvious things like restarted my PC, and shutting down any back ground apps that I don't need running on Windows X.
So I'm just wondering if there are any solutions that might give my script a better shot at completing? If not, I will either just work on outputting my data in several pieces and painstakingly correcting them, or take the time to rewrite my script so that it is a bit more efficient.
Thanks for the help.
Comment