Login Page - Create Account

Support Board


Date/Time: Tue, 21 May 2024 06:50:26 +0000



Post From: Is there a way to cause chart updates with ACSIL?

[2017-01-15 02:38:50]
Sporken - Posts: 82
Is there a way to flag that a study/chart/subgraph has changed? So that referencing studies (like study/price overlays) update correctly?

I see sc.EarliestUpdateSubgraphDataArrayIndex but I cannot find any documentation on this.

Context: I wrote a study that makes subgraph replications of Line tool lines (Ray's). I then use a Study/Price overlay to copy these 'line' subgraphs from my 1 minute chart to my renko chart. This works really nicely. The lines appear correctly warped with the renko blocks. It means my trading study on the renko chart can see the line subgraphs and trade long/short against them. The problem is that the Study/Price overlay doesnt update unless I select Chart->Recalculate. I had some limited success with sc.EarliestUpdateSubgraphDataArrayIndex by always sending a decrementing value. But this doesn't seem to be 100% reliable. The only reliable way I can force an update is by manually selecting Chart->Recalculate.

Is there a better way?

Thanks again for your help.

-Jason