Support Board
Date/Time: Mon, 16 Jun 2025 08:51:40 +0000
[Programming Help] - Study settings input value in region line
View Count: 208
[2025-05-13 06:48:15] |
User781731 - Posts: 55 |
I am using a custom study. One of the inputs in settings is titled Status and the selection options are On and Off. When On is selected, the study works, when Off is selected, the study stops performing the functions. I want to display this in the region data line at top of the chart, so I can easily tell whether this script is On or Off. The problem is it is displaying as "1.00" for On, and "0.00" for Off. I am using the "Value of Subgraph" draw style. I have also tried the "Text" draw style. Both result in this. 1. Is there a way to display the proper value i.e. text "On" or "Off" in the region data line? 2. Instead of displaying the value in the region data line, is there a way to display it physically on the chart in the same way you can with "Clock - RealTime" study? It would need to dynamically update as the setting itself does |
[2025-05-13 13:04:51] |
John - SC Support - Posts: 40422 |
1. No, you cannot view that item as text in the region data line. On/Off are not built-in options for Sierra Chart, so those are being stored as a 0 and 1 value. 2. You would need to modify the study to do what you want. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: