Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 11:51:23 +0000



Chart Drawing - is there a persistent string or scdatetime property I can use

View Count: 820

[2018-01-02 20:49:13]
User735389 - Posts: 188
Basically I need save the datetime a user drawing was created. This info needs to be persistent. Is this possible? I do not want to use the Text field since I dont want this to be user visible.
[2018-01-02 21:26:17]
Sierra Chart Engineering - Posts: 104368
Refer to these functions:
sc.GetPersistentInt()
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-01-02 21:42:10]
User735389 - Posts: 188
This won't really work with what I'm trying to do. Maybe I wasn't clear with what i'm trying to do.

For each and every user drawing, i need to know the datetime the drawing was created. This needs to be persistent with the drawing even after the program is closed, just like how user drawings are persistent in a chartbook until they are deleted. I need a property that behaves similarly to Text for a chart drawing, except it is not visible by the user. Does that make sense?
[2018-01-02 21:56:37]
Sierra Chart Engineering - Posts: 104368
OK but this does not exist.

You would need to remember that Date-Time and write it to your own file. Each drawing has a unique LineNumber that you can use to match up these Date-Times to a particular 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

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account