Login Page - Create Account

Support Board


Date/Time: Wed, 11 Mar 2026 19:48:12 +0000



[Programming Help] - ES Futures

View Count: 220

[2026-03-04 03:07:25]
coachted - Posts: 498
I am writing a custom study, and I know historical charts for ES provide the settlement price as the close...is there a way to get the settlement price without using a historical chart or spreadsheets study.. for example, is there a function to add into the code that would access the settlement price?
[2026-03-04 03:24:52]
Sierra_Chart Engineering - Posts: 23191
Do you just need the settlement price, for the prior trading day? That is available:
sc.SymbolData.SettlementPrice
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
[2026-03-04 13:53:32]
coachted - Posts: 498
thank you
[2026-03-04 13:55:08]
coachted - Posts: 498
sorry one last question..is there a way i can find the code for the extended rectangle tool?
Date Time Of Last Edit: 2026-03-04 14:08:42
[2026-03-04 15:19:54]
John - SC Support - Posts: 45054
We are not sure what you are looking for in terms of "code for the extended rectangle tool".

The information for creating drawings from a custom study is here:
Using Drawing Tools From an Advanced Custom Study

That is all that is available - there is no other code that shows how this is handled internally.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-03-04 15:22:08]
coachted - Posts: 498
ok thank you i was looking to have a custom study draw and an extended rectangle when a condition is met in my custom study
[2026-03-06 17:35:32]
coachted - Posts: 498
i have a delayed historical daily chart in rithmic for VXH and have a sudy/price overlay for the daily close from a historical daily ES chart yet the value is coming in as zero, yet i have a study/price overlay for the historical daily close for ES on other charts and the value appears - please note in the second chart attached ...psettle represents the pCose form the historical daily chart...in reviewing the the study to overlay and all other information all inputs are the same can you please advise
imageScreenshot 2026-03-06 122858.png / V - Attached On 2026-03-06 17:32:16 UTC - Size: 113.62 KB - 17 views
imageScreenshot 2026-03-06 123157.png / V - Attached On 2026-03-06 17:32:28 UTC - Size: 175.64 KB - 16 views
[2026-03-06 19:05:53]
John - SC Support - Posts: 45054
With regards to Post #8, we do not have enough information to be able to say what is occurring.

The one thing we see is in the image named "Screenshot_2026-03-06_122858.png" you have the "Short Name" set as "ES Prior Month Close". If you are actually trying to pull the prior month, then do you have enough data loaded in the source chart?

Also, do you have that value somehow projected forward such that it can be picked up properly in the current bars for the destination chart?

--

Separately - this last post should be in a thread of its own. The previous posts were related to Programming Help. We nearly missed this posting due to this.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-03-06 19:08:13]
coachted - Posts: 498
ok sorry...i will start a new post and be more descriptive and provide you with more clear information

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

Login

Login Page - Create Account