Login Page - Create Account

Support Board


Date/Time: Fri, 04 Oct 2024 14:39:21 +0000



too many s_UseTool trendlines slowing down computer

View Count: 2204

[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: 104368
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. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account