Login Page - Create Account

Support Board


Date/Time: Sun, 03 Mar 2024 22:17:59 +0000



personolize CD chart

View Count: 105

[2023-11-30 18:34:09]
nilahi - Posts: 8
Hello,

I'm interested in personalizing the CD chart. Specifically, I'd like to include some text to facilitate the calculation of the CD for a single candle. Please take a look at the attached picture for reference on what I'm aiming for.

I would like to add a label Value , to calculate automatically the value of the CD candle , i.e Close value - open value .
imageCD custom.PNG / V - Attached On 2023-11-30 18:32:45 UTC - Size: 14.71 KB - 31 views
[2023-11-30 22:25:14]
John - SC Support - Posts: 29568
The first thing is to calculate the value you want. There are several ways to do this, but the easiest is to use the "Study Subgraphs Subtract/Difference" and subtract the Close from the Open (or vice versa). Refer to the following:
Using the Basic Arithmetic Studies

You can then use the "Text Display from Study" to display that value. Refer to the following:
Text Display For Study

Note that if you are wanting to always view the information as positive values, then you would need to take the Absolute Value of the first calculation. In this case, the easiest thing to do is to use the "Spreadsheet Formula" to do the calculation and use the following formula:
=ABS(ID0.SG1 - ID0.SG4)
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:

Login

Login Page - Create Account