Login Page - Create Account

Support Board


Date/Time: Mon, 23 Apr 2018 15:29:41 +0000



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

Support Request:
[2018-01-02 20:49:13]
User735389 - Posts: 88
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: 59332
Refer to these functions:
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scGetPersistentInt
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.
[2018-01-02 21:42:10]
User735389 - Posts: 88
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: 59332
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. 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