Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 23:09:56 +0000



What is the best way to add a value to a candlestick chart subgraph?

View Count: 1059

[2015-05-12 04:00:51]
hft168 - Posts: 31
Hi S.C. support,

I need to add a value ( a straight line, like using "Line" study and set it to "95" as a constant value) to an existing candlestick graph displaying OHLC values.

If I use "Study Subgraph Add" without using the "Line" study, I have to selet an "input Data" type, put in 95 as "Amount to Add", but then the graph becomes a line chart instead of a chart with OHLC (candles).

If I use "Study Subgraphs" to add a candle chart and a second chart using "Line" study, I would still have to chose one "Input type" from the candle chart such as open, high, low, last.

Is there an easy way I can just simply add a constant value to candlestick chart without the OHLC values? These are all subgraphs within one chart.

Thanks.
[2015-05-12 05:02:33]
Sierra Chart Engineering - Posts: 104368
Not totally sure we understand this. Do you want to add a constant value to the close value of each bar?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-05-12 13:46:24]
hft168 - Posts: 31
Yes, your assumption is correct but not just to the close value of each bar.

I just want to take a CL (crude oil futures) candlestick chart, multiplied by a constant of 45.54 (a factor for metric and currency conversion), then add a constant value to Open, High, Low, and Close (all 4 values).

Do I have to use two charts to achieve this in order to keep the derived chart in candlestick?

With one chart and subgraphs, it looks like I can only pick one input from the 4 (Open, High, Low, Close) and the derived subgraph displays a line chart, rather than a candlestick.

Thanks.
[2015-05-13 19:11:24]
Sierra Chart Engineering - Posts: 104368
To do this properly, requires custom programming. You can use either Spreadsheets or ACSIL:
https://www.sierrachart.com/index.php?page=doc/doc_SpreadsheetStudy.html
https://www.sierrachart.com/index.php?page=doc/doc_CreatingDLLs.html


There is also 2 price multiplier settings in Chart >> Chart Settings>> Advanced Settings 2.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-05-13 19:22:47]
hft168 - Posts: 31
Thanks.

I can use spreadsheet to derive the value without any problem.

The suggested multiplier settings seem useful but I wonder if S.C. can also add an offset function there in the future so we can add or subtract a constant and keep the form of the chart (like a candlestick chart) the way similar to this "multiplier" function in chart setting.
[2015-05-13 19:38:15]
Sierra Chart Engineering - Posts: 104368
This is a setting that we would not add to Chart Settings.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to 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