Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 08:26:38 +0000



[ACSIL] draw tool optimizations

View Count: 1350

[2014-01-10 22:26:39]
mainframer - Posts: 9
Is there any way to optimize my use of the draw tool?

I am in a situation where I am using thousands of DRAW_HORIZONTALBAR's at a time, and I am already using the basic optimizations like setting sc.FreeDLL=0, manual looping, and using s_UseTool.BeginIndex|EndIndex.
imagelines.png / V - Attached On 2014-01-10 21:58:33 UTC - Size: 16.89 KB - 430 views
[2014-01-14 01:51:42]
Sierra Chart Engineering - Posts: 104368
These really are the only optimizations there are when using the drawing tools from ACSIL:
sc.FreeDLL=0, manual looping, and using s_UseTool.BeginIndex|EndIndex

What especially makes the most difference is using BeginIndex and EndIndex.

We need to understand the problem better. When you scroll the chart, do you notice that it is like sluggish?
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
[2014-01-14 15:39:03]
100 - Posts: 147
Yes, very slow. Several second delay between grabbing and moving the mouse, and the chart responding.
[2014-01-15 15:38:56]
mainframer - Posts: 9
Yes, the more lines on-screen, the greater the lag.
[2014-01-15 17:49:08]
Sierra Chart Engineering - Posts: 104368
To confirm, you are only using BeginIndex and EndIndex and not specifying the position of a drawing using

SCDateTime BeginDateTime
SCDateTime EndDateTime?

If you are specifying the position using indexes, and you still notice a sluggishness, then you just have too many drawings of a chart and have to reduce them. There really is no other possibility. You cannot go to an extreme.
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
Date Time Of Last Edit: 2014-01-15 17:49:59
[2014-01-19 14:51:19]
100 - Posts: 147
I realize this method of identification will cause extreme sluggishness.
Are you aware of ways to optimize the specification of drawing objects relative to the y-axis?
[2014-01-23 09:16:31]
Sierra Chart Engineering - Posts: 104368
You should only add a small number of drawings at a time. Remove drawings that are not visible. This is what we recommend.
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