Date/Time: Sun, 20 Jan 2019 01:53:29 +0000
too many s_UseTool trendlines slowing down computer
|User98649 - Posts: 14|
I wrote an indicator which draws support/resistance lines based on the historical data. I used s_UseTool to draw the trendlines. The problem I'm facing is I can end up with over a thousand trendlines in a chart because I delete the SR lines when the price crosses them and create new ones as they form. Even though most of these lines are not shown in the visible window, this slows down the computer significantly. Is this expected?
I'll change my implementation to use subgraphs and not display all the levels but I was wondering if there is a trick to make the s_UseTool to work in this case.
Sierra Chart Engineering - Posts: 68089
You can improve efficiency significantly by using Indexes to position the Chart Drawing instead of Date-Times. Please see:
Sierra Chart Support - Engineering Level
Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
To post a message in this thread, you need to login with your Sierra Chart account: