Unfinished work
Part of the work at increasing the sped of zooming huge number of bars (quite useless but professional), actually just decreasing the time that it takes to pain the graphic of so many bars crowded in to one image, I`ve managed to do quite well apparently. While the work is only half ready as while for price I`ve done all types of charts (bar, candle, line, area) for the indicators only line chart plots were done (there are still histogram, dashed and area types not ready to this stage) which is why in these pictures all plots of indicators use line plots unlike in previous post with the sped of zooming, I had to check if its actually an improvement and here`s what I found (the code is not tuned yet, can very slightly be improved even more from here but not by much).
Its definitely faster, I`ve managed to get under 1 second even if not by much. The painting job is much faster but this code slightly increases other parts of the zooming process. the code is not optimized though and that might result in slightly better numbers. The more plots are added the more the speed increases, and because unlike in the previous post the total speed at maximum zoom is bellow 1 second with 6 plots + the price plot, I was curious how it goes with more plots and here are the beautiful charts bellow as answer. These charts remind me of a beautiful chart on the site of Amibroker software where it had a rainbow of moving averages nicely coloured, I`ve reassembled the shape of that not the beautiful colour though, one day I might get there after I finish with this...now that I remembered...part of the way to professional charting software or as close as I can get
Comments
Post a Comment