Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 19:45:23 +0000



[Programming Help] - Custom Value Label

View Count: 882

[2020-03-28 20:37:24]
User184576 - Posts: 20
Hi,

Is there a way to customize value labels for horizontal lines?

i.e. A current price line that displays % from open instead of current price

Any assistance would be appreciate.

Thanks!
Date Time Of Last Edit: 2020-03-28 20:38:56
[2020-03-29 01:19:39]
Sawtooth - Posts: 3975
Aside from using ACSIL, the only way is to use the Spreadsheet Study study.

1. Use this method to create the dynamic name label in row 2 of a Formula Column, e.g. cell K2:
Using the Spreadsheet Study: Using a Formula in Formula Columns Row 2
with a formula like this:
=TEXT(VALUE(ROUND(ID4.SG1@3,5)*100))+" %"
where ID4 is the Percent Change Since Open study. Hide this study.

2. Use this formula in cell K3 to assign where to place the name label:
=$E$3
this will place it at the current close price.

3. On the Subgraphs tab, check the Name Label box, and place it at the Right or the Right Edge.

4. Set the Draw Style to Line. If you don't want a line, set the Draw Style to Text.

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

Login

Login Page - Create Account