Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 09:06:08 +0000



Rays Drawing - ACSIL ISSUE

View Count: 2335

[2013-10-24 18:28:18]
Lavie - Posts: 10 Invalid SC Account Name.
Hello,
How do I modify rays in my code drawn by a user? I am able to retrieve the ray’s data using sc.GetChartDrawing() function. Once retrieved how do you modify; color, location, etc?
Thanks
[2013-10-25 02:25:18]
Sierra Chart Engineering - Posts: 104368
This has been answered here:
https://www.sierrachart.com/SupportBoard.php?ThreadID=3696#P15444
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
[2013-10-27 08:23:05]
Lavie - Posts: 10 Invalid SC Account Name.
Hi,
I did everything that mention in the link you sent me...
I want to change the Line color that was added to the chart via the Line/Ray menu buttons, and not to create a new line instead.
What do i need to use in order to change the colors of an exitsting lines(not created by the ACSIL), and not to create new lines?
Ariel
[2013-10-27 18:55:53]
Sierra Chart Engineering - Posts: 104368
You cannot as documentation says.
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: 2013-10-30 17:37:15
[2013-10-30 12:05:09]
User15952 - Posts: 132
It is also possible to modify a Chart Drawing that was added as a user drawn drawing. To do this, you need to set s_UseTool::AddAsUserDrawnDrawing to 1 when modifying the drawing.

It is not possible to modify a Chart Drawing that was manually drawn by a user.



These two lines seem to contradict each other. Can a user drawn drawing be modified? By a user drawn drawing I am referring to manually clicking line on the tool bar and drawing a line on the chart. I would like to edit that line? How do I do that?

Thanks
[2013-10-30 17:36:52]
Sierra Chart Engineering - Posts: 104368
In ACSIL, you can use the sc.UseTool to add a drawing and flag it as a user drawn drawing (s_UseTool::AddAsUserDrawnDrawing). However, a drawing actually drawn by a user, cannot be modified.
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-03-26 04:33:33
[2013-10-30 19:08:39]
Lavie - Posts: 10 Invalid SC Account Name.
OK,
So If the user actually draw a Ray\Line, i cannot change their properties(color, locations), by ACSIL?
Can I at least have the ability to delete the user drawn?
Ariel
[2013-10-30 19:59:40]
Sierra Chart Engineering - Posts: 104368
Other than actually getting the data/properties of it, there is no way to delete or modify it.

Is this capability important? If so, we can consider this.

It probably will require assigning a unique ID to each manually drawn drawing.
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: 2013-10-30 19:59:58
[2013-10-30 22:19:17]
Lavie - Posts: 10 Invalid SC Account Name.
Actualy it is important.
We want to update the lines\rays positions, as the chart price is mooving on..
The lines\rays that were drawn by the use have a zero value at the line number so they cannot be updated.
I suggest that you can create two differant functions for it.
1. To call an Init(int baseLineNumer) function, that the programmer can overridde the zero line number of the user drawn tools, so every thing that is drawn, will get a uniq number that starts from the Init function.
or..
2. To create a function that can delete every tool that was drawn by the user, or in othet words, every tool that has a zero line number.
Hope to hear from you soon.

[2013-10-30 23:34:34]
User15952 - Posts: 132
Agreed to amend or delete Chart Drawing that was manually drawn by a user. should not be a special feature. This should be standard
[2013-10-31 16:25:29]
N2S - Posts: 15
+1
[2013-10-31 20:18:14]
N2S - Posts: 15
Q:

When I add an drawing with ACSIL and set AddAsUserDrawnDrawing=1 and then close Sierra (save all=yes) and restart
the drawings are all gone.

"The chart drawings are also not saved to a chartbook.
They exist only in temporary memory unless you have set s_UseTool::AddAsUserDrawnDrawing to TRUE."
https://www.sierrachart.com/index.php?l=doc/doc_DLLTools.html#UsingTools

Is this an bug in my code?

tested w v1039+1040


[2013-10-31 22:15:34]
Sierra Chart Engineering - Posts: 104368
Chart drawings added by an ACSIL study, are not saved in a Chartbook. The documentation is out of date and will be updated now.
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
[2013-11-01 05:32:18]
User15952 - Posts: 132
Is this capability important? If so, we can consider this.

It probably will require assigning a unique ID to each manually drawn drawing.

What does this mean? What kind of time frame are we looking at?

I am new to sierra, I don't know the procedures for requesting additions

Thanks
[2013-11-05 13:12:08]
User15952 - Posts: 132
Any Updates?
[2013-11-05 19:45:42]
Sierra Chart Engineering - Posts: 104368
This will not be anytime soon. There are a lot of details to 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
[2014-02-03 16:03:51]
User15952 - Posts: 132
This will not be anytime soon. There are a lot of details to this.

Any updates, please
[2014-03-24 14:24:02]
User15952 - Posts: 132
Agreed to amend or delete Chart Drawing that was manually drawn by a user. should not be a special feature. This should be standard

Any Update?

Thanks
[2014-03-24 16:00:56]
sampater - Posts: 243
This will not be anytime soon. There are a lot of details to this.

Any updates, please

Please, too.
[2014-03-26 04:34:52]
Sierra Chart Engineering - Posts: 104368
We will look this over on the weekend and see how to accomplish it.
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-03-26 16:52:46]
Zosimus - Posts: 345
+1
Date Time Of Last Edit: 2014-03-26 16:56:24
[2014-03-26 18:18:45]
oyehya - Posts: 12
+1
+++++
[2014-04-02 14:45:22]
User15952 - Posts: 132
We will look this over on the weekend and see how to accomplish it.
Cheers
Sierra Chart Support - Engineering Level


Update please.
[2014-04-02 21:57:54]
oyehya - Posts: 12
???
[2014-04-02 22:34:58]
Sierra Chart Engineering - Posts: 104368
We have not had too much time to spend on this. It is something that requires a lot of consideration and careful planning with how to implement it. We want to do it right. We will get to it soon.
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