Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 10:41:31 +0000



[Programming Help] - AddAndManageSingleTextDrawingForStudy is not updating as expected under v1908

View Count: 981

[2019-04-22 17:09:48]
User972768 - Posts: 166
Hello,

I came across interesting behaviour. Not sure if it is "by design". In my custom study I have 2 simple calls to sc.AddAndManageSingleTextDrawingForStudy one after another. Both of them show Last price of the current bar in different areas of the screen. Hence they both expected to get updated on each tick of the chart. Yet what is see:
1) They both show correct value after "Full Recalculation" is complete
2) After Full Recalculation is complete, only 2nd object (created by 2nd call) gets updates, even though I issue 2 calls to update each object on each call to my study. So, 1st one stales and 2nd one follows current price.

Could you please clarify if this is by design / irregularity that has to be fixed.

Thanks and best regards
[2019-04-22 18:02:21]
Sierra Chart Engineering - Posts: 104368
This is not a version specific issue. Do not put the version number in the subject line. You are implying there is something wrong with the particular version and that is flatly untrue. We are going to start deleting posts if necessary.

This function only supports one drawing per study instance. That is how it is and that's all we have to say. Do not request anything further here. Because we cannot do 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
Date Time Of Last Edit: 2019-04-22 18:02:41
[2019-04-22 18:25:58]
User972768 - Posts: 166
Sorry for this misunderstanding. I didn't intend to blame v1908 for breaking this functionality. I just wanted to provide reference point.

Thanks for your update. Perhaps similar update in documentation would help other developers.

Cheers
[2019-04-24 08:54:32]
Sierra Chart Engineering - Posts: 104368
Documentation has been updated.
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