Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 19:32:08 +0000



[Programming Help] - Prior Weekly Settlement

View Count: 363

[2023-07-08 15:36:47]
Federico Roveda - Posts: 34
I'm looking for ways to plot the prior weekly settlement price on an intraday chart. How can I do that?
The goal is to have on a daily chart with weekly volume profiles and the prior weekly settlement price for the current week and the past weeks.
Thanks
[2023-07-10 09:01:18]
Sierra_Chart Engineering - Posts: 17198
Have a look at this study:
Previous/Period OHLC-Variable Period
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-07-10 09:32:01]
Federico Roveda - Posts: 34
I see a different price by using this function compared with the Daily OHLC function targeting an historical chart to get the exact Settlement Price. It seems that the Period OHLC-Variable Period points the close (of the session) and not the official settlement price. Any suggestion? Thanks
[2023-07-10 11:09:30]
Sierra_Chart Engineering - Posts: 17198
You will need to develop your own custom study, to reference a historical daily chart to get the settlement price you are looking for.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-07-10 11:38:09]
Federico Roveda - Posts: 34
As I have no experience in doing that, could anyone assist me? Thanks
[2023-07-15 09:34:00]
Sierra_Chart Engineering - Posts: 17198
No, this is not within the scope of our support but have a look at the source code for the Daily OHLC study:
How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-07-15 18:59:47]
Sawtooth - Posts: 4120
I'm looking for ways to plot the prior weekly settlement price on an intraday chart. How can I do that?
Try this:

1. Add an Historical Weekly chart to your chartbook.
- Add the Spreadsheet Formula study, set the Chart Region to 1, set the Draw Style to Dash, and use this formula in its Formula field:
=C[-1]

2. On the intraday chart:
- Add the Study/Price Overlay study, set the Chart Region to 1, set the 'Study to Overlay' to the Weekly chart and the Spreadsheet Formula study.
Date Time Of Last Edit: 2023-07-15 20:48:34

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

Login

Login Page - Create Account