Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 02:57:54 +0000



Post From: ACSIL - Associate a Tuple with each index in a subgraph

[2021-05-08 21:27:26]
backinblack - Posts: 29
Hi,

I have a custom study where I am calculating some stuff and displaying it on the chart using usual:

sc.Subgraph[0][Index] = <some float value>;

The above gets displayed on the chart as expected. Works all good so far.

However, I am also looking to associate a Tuple/a pair of integers with every element of the subgraph array above without drawing them.

EG,

sc.Subgraph[0][Index] = <some float value>;

And now associate an int[x, y] with the sc.Subgraph[0][Index]


This study is intended to be used by other studies and am looking to expose this Tuple via the Subgraph array above (In addition to the main float value stored against the Index that is being drawn) so that it can be retrieved/used by the studies which are going to be referencing this study. How do I do this please?


Thanks

J
Date Time Of Last Edit: 2021-05-08 21:30:05