Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 20:27:52 +0000



Copy drawing tools to charts with different time frames (ACSIL)

View Count: 1726

[2016-06-23 07:46:21]
User970904 - Posts: 9
I have created an indicator with ACSIL that places entry points (arrows using MARKER_POINT)
These are placed on the weekly, daily and 30'
Is it possible (f.e. using ACSIL) to place these MARKERS from another timeframe to other charts ?
Or is it possible to share data generated from the indicator in a chart and use in another chart ?

I know there is the possible to copy drawing tools (like trend lines) in the chart settings, but this doesn't seem to work for solitary tools ?

ty !
[2016-06-23 18:49:12]
Sierra Chart Engineering - Posts: 104368
Refer to the documentation here for how to do this:
https://www.sierrachart.com/index.php?page=doc/doc_ACSILDrawingTools.html#AddingChartDrawingsToOtherChartsFromACSILStudy

Also refer to:
https://www.sierrachart.com/index.php?page=doc/doc_ACSILRefOtherTimeFrames.php
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
[2017-11-13 21:49:58]
User436155 - Posts: 16
hello,

i would like to add drawings to another chart. i followed first link: #AddingChartDrawingsToOtherChartsFromACSILStudy

but i do not want to set s_UseTool::AddAsUserDrawnDrawing to 1 because i do not want user to select those drawings.

how can i create drawings on another chart so user can not select/move them?

thank you for your help and answer.

best regards
Jan
[2017-11-14 01:49:34]
Sierra Chart Engineering - Posts: 104368
We have two ideas in regards to this. Just give us a couple of days to get back to you on this.
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
[2017-11-14 10:18:16]
User436155 - Posts: 16
wow, that is great news. thank you
[2017-11-14 19:49:09]
Sierra Chart Engineering - Posts: 104368
What we have done is we have added a s_UseTool::DrawingLocked member which can be set to 1 to prevent the drawing from being moved.

This will be out in the next release.

But it still has to be user drawn.
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
[2017-11-22 23:38:45]
User436155 - Posts: 16
it is working as expected. thank you very much !

i have one more question. i tried to find it in documentation but i did not succeded. when drawing objects LineNumber is an integer type. what is the maximum/minimum value of LineNumber? (should be [−32,767, +32,767]). in case that maximum/minimum value is reached does sierra assign correct next index?

thank you very much for your answer and have a nice day!
Jan
[2017-11-23 04:36:24]
Sierra Chart Engineering - Posts: 104368
You should always let Sierra Chart assign the LineNumber by not setting that member of the s_UseTool structure.

The maximum line number is UINT_MAX. Sierra Chart will automatically handle the wrapping when necessary.
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: 2017-11-23 09:34:43
[2017-11-23 08:56:26]
User436155 - Posts: 16
do not worry. i do not set the LineNumbers. i was just curious and did not find an answer ;)

thank you and have a perfect day!
Jan
[2017-11-24 19:04:28]
User436155 - Posts: 16
hi there,

in study settings i let the user to set a chart number. this chart # is used to copy graphic objects from actual chart. in case there is set a non-existent chart #, graphic objects are placed on the same actual chart.

how can i validate/check the existence of chart #? maybe i missed it somehow but i have not found the answer for this issue yet.

thank you for the answer and have a nice day
Jan
[2017-11-24 21:28:24]
Sierra Chart Engineering - Posts: 104368
We are adding a new ACSIL function for this:
sc.IsChartNumberExist(int ChartNumber, const SCString& ChartbookFileName)

It will be documented later today.
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
[2017-11-25 18:37:22]
User436155 - Posts: 16
thank you very much.
[2017-11-26 00:10:11]
Sierra Chart Engineering - Posts: 104368
Do not say thank you.
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