Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 06:04:46 +0000



Post From: StorageBlock returns zeros if used in sc.LastCallToFunction

[2017-10-09 15:01:51]
cross - Posts: 70
Hi,

I used to "save" a custom indicator's info box (text tool) coordinates to the StorageBlock when sc.LastCallToFunction was true (save the position when the chartbook closed).
However, now this works only if I set the coordinates in the StorageBlock in the loop part. Otherwise -if set only in the sc.LastCallToFunction- next time only zeros loaded.

Is this by-design or a bug?

Thanks