Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 15:04:25 +0000



Post From: AddAndManageSingleTextDrawingForStudy is not updating as expected under v1908

[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