Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 06:47:44 +0000



[Programming Help] - s_UseTool issue on InfinityAT Sierra version 1764 32 bit

View Count: 1039

[2018-06-15 19:00:18]
User99735 - Posts: 234
Hi,
A study using s_UseTool issue on InfinityAT Sierra version 1764 32 bit, to plot Tool.DrawingType = DRAWING_RECTANGLEHIGHLIGHT;, is no longer plotting anything on chart and sc.UseTool() returns 0.

The same study is working fine with standalone Sierra version 1764 32 bit, and was working fine with earlier InfinityAT Sierra versions

Please advise.

Regards

Vivek
[2018-06-15 19:16:49]
Sierra Chart Engineering - Posts: 104368
That does not make sense. Check your code carefully. There is no difference between Sierra Chart and InfinityAT Sierra version 1764 32 bit.
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
[2018-06-20 14:39:43]
User99735 - Posts: 234
Hi,
After looking at the sample code scsf_UseToolExampleRectangleHighlight, the rectangles are plotted with Tool.AddAsUserDrawnDrawing = 0.

However when I try to plot on an 'external' chart, plot is still happening on the chart where the study is running, ie
- Study is running on chart #1,
- With Tool.ChartNumber = 2;
- The rectangle plot still happens on chart #1 instead of #2.

Regards

Vivek
[2018-06-21 05:25:21]
Sierra Chart Engineering - Posts: 104368
Yes that is going to be the case when the drawing is not a user drawn drawing. The documentation does explain this. Read the documentation.
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