Login Page - Create Account

Support Board


Date/Time: Wed, 23 May 2018 14:37:51 +0000



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

Support Request:
[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: 60223
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. 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.
[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: 60223
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. 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.
[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: 60223
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. 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.
[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: 60223
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. 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.
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: 60223
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. 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.
[2017-11-25 18:37:22]
User436155 - Posts: 16
thank you very much.
[2017-11-26 00:10:11]
Sierra Chart Engineering - Posts: 60223
Do not say thank you.
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