Login Page - Create Account

Support Board


Date/Time: Wed, 25 Apr 2018 04:38:21 +0000



too many s_UseTool trendlines slowing down computer

Support Request:
[2013-03-26 04:29:58]
User98649 - Posts: 14
Hi,

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.

Thanks
[2013-03-26 23:46:47]
Sierra Chart Engineering - Posts: 59408
You can improve efficiency significantly by using Indexes to position the Chart Drawing instead of Date-Times. Please see:
http://www.sierrachart.com/index.php?l=doc/doc_DLLTools.html#UseToolMembers
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:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

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:

Login


Login Page - Create Account