Login Page - Create Account

Support Board


Date/Time: Sat, 11 May 2024 10:48:39 +0000



[Programming Help] - Study Subgraph text above and below

View Count: 853

[2020-10-17 13:39:32]
User202416 - Posts: 37
Hi

I am using study Subgraph above and below to plot text either above or below the candle or bar or number bar . I need to plot the text either at last traded price , or middle of the bar or one text above the bid or other text above ask prices in number bar . I think SC is capable of outputting in any areas . Please help me
[2020-10-17 18:18:41]
Sawtooth - Posts: 3995
That study can only plot values at Top Of Bar or Bottom Of Bar.
There is no workaround to plot a value at a custom price.
It would require a custom ACSIL study.

Try this workaround to plot the Last price at the Last price:
-Add the Spreadsheet Formula study,
-Use a formula like this in the Formula field:
=ID0.SG4
-Set the Draw Style to Value of Subgraph.
With this workaround you could plot any value at its Y value.
[2020-10-19 04:56:49]
User202416 - Posts: 37
Thanks for your prompt response . If I put IDO.SG4 , only last traded price is displayed . If I reference the study Subgraph text above below study and put that ID.. SG4 , nothing is displayed
[2020-10-19 13:20:27]
Sawtooth - Posts: 3995
You can only do these two things with native studies:
- Display any value at the bar's high or low using the Study Subgraph Above/Below study.
- Display any value only at its Y coordinate using the Spreadsheet Formula study workaround in post#2.

Displaying values at a bar's other Y coordinates will require a custom ACSIL study.

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

Login

Login Page - Create Account