Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 20:27:16 +0000



OHLC for Weekly, Monthly, and yearly bars

View Count: 910

[2019-06-24 15:10:30]
User834905 - Posts: 35
How can I get the OHLC data points for the current bar from Weekly, Monthly, and yearly charts?
I want to overlay the result on another chart.
I see I can use the study 'Previous Bar Close' to get the data points for the previous bar.
[2019-06-24 23:52:05]
Sierra Chart Engineering - Posts: 104368
There are a few options available, but probably the easiest would be to add 4 versions of the Spreadsheet Formula study, where you set the Number of Bars to Calculate to 1. Then enter H, L, O, and C for the formulas into each study respectively.

The best way to then visualize the information is to set the Draw Style to Dash and the colors different for each study.

Then you can apply your Study/Price Overlay 4 times to get these onto the chart you want.

Refer to the following for the Spreadsheet Formula study:
Spreadsheet Formula

And refer to the following for changing the subgraph color and the section after it for the Draw Style:
Chart Studies: Subgraphs Tab >> Color

And refer to the following for the Study/Price Overlay study:
Study/Price Overlay Study
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