Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 01:16:20 +0000



Post From: Sierra Chart Shared Variables

[2018-03-01 08:12:06]
User79074 - Posts: 105
Can some shared variables / arrays be created that will be accessible by any study in any chart in any chartbook?

For example

Chartbook 1, chart 1, study 1: Write to sc.SharedArray[0] = "Hello";

Now in

Chartbook 2, chart 1, study 1: Read sc.SharedArray[0] and get "Hello", and also be able to write to it

This would be a portion of memory that could be shared across any study, in any chart, in any chartbook, and would stay there even after the study is removed.

It is similar to say for example variable sc.UserName as it is shared across all studies, charts, chartbooks.
So the request is to create shared variables /arrays that can be read and written to from all studies, charts, and chartbooks.

Can this be done?
Date Time Of Last Edit: 2018-03-01 08:12:50