Support Board
Date/Time: Tue, 03 Jun 2025 07:11:38 +0000
Post From: Programming Help: Study Subgraph Above/Below Bar as Text
[2025-05-30 13:40:08] |
John - SC Support - Posts: 40170 |
There is not a way to do this directly with the "Study Subgraph Above/Below Bar As Text". But there are a number of ways to get what you want. The best option is to use the "Color Bar Based on Alert Condition" study, as you can use this one study to do both the filtering you want and to display the data. Add this study to your chart and set the following in the study (we give you the specifics for Number of Trades, but you can modify as needed): - Output When Condition True: Use Input Data - Input Data: Select "# of Trades" - Subgraph Tab >> Color Bar Subgraph: Set the Draw Style to "Value on Low" - Alerts Tab >> Alert Condition: Enter the following to only display trades above 10: =ID0.SG6 > 10 You will want to change the size of the text, which is controlled by the "Width/Size" setting for the Color Bar subgraph, and you can change the color for this as well. Refer to the following: Color Bar Based on Alert Condition -- Other methods for doing this require that you have a study that will get the filtering you want, and then use the Study Subgraph Above/Below Bar As Text. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |