Login Page - Create Account

Support Board


Date/Time: Wed, 30 Apr 2025 07:39:15 +0000



[Programming Help] - Show current value of variable on chart

View Count: 32

[2025-04-28 14:34:18]
User591914 - Posts: 2
Hello,
i have build a advanced custom study for automated trading purposes. There seems to be something logically wrong in this study. In order to solve the problems i would like to have access to the current value of several variables of my study when the study is running on a chart. I have tried to copy the value of the variables to a subgraph, but somehow the stored variables in the subgraphs are different to the real values of the variables (i read the value of the variables by sc.AddMessageToLog). I tried the following with manual looping (autolooping did not work either), where EntryAllowed is an int variable.

Subgraph_EntryAllowed[Index]=EntryAllowed;
Is there a way to show the value of the variables on the chart?
Thank you.
Date Time Of Last Edit: 2025-04-28 14:37:21

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account