Support Board
Date/Time: Fri, 20 Jun 2025 03:34:22 +0000
ACSIL - Referencing OHLC values from another chart.
View Count: 1472
[2022-04-20 19:08:17] |
User92573 - Posts: 563 |
Dear Support I have created a number of studies that reference multiple subgraphs in other charts within the same chartbook but I can't find any specific examples of how to access the main subgraph data, OHLC etc. Example:
Input_StudySubgraphReference01.SetStudySubgraphValues(4, 3); // ID, SG. Any help appreciated. Many thanks. |
[2022-04-20 20:28:07] |
John - SC Support - Posts: 40526 |
We think you are looking for this: ACSIL Interface Members - Variables and Arrays: sc.BaseDataIn[][] / sc.BaseData[][] For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-04-20 20:41:23] |
JohnR - User831573 - Posts: 333 |
Might this work also? Study/Price Overlay Study: Study/Price Overlay Study Updating and Timing of Calculations Between Source and Destination Charts This page documents the Study/Price Overlay study. Follow the instructions below to overlay a study or main price graph from one chart onto another chart with a different Bar Period, Session Times or Symbol as compared to the original source chart. If you need to overlay the main price graph from another chart that has the same chart Bar Period which is based on a fixed amount of time (Example: 5 Minutes per bar and not Number of Trades ), and the same Session Times as the chart you are overlaying to, then it is best to use the Overlay (Bar) study. It is more efficient. Just trying to help. JohnR |
[2022-04-22 10:22:08] |
User92573 - Posts: 563 |
Hi, thank you both. The answers led the way to the Sierra "scsf_StudyOverlayOHLC". Parts of that code should allow me to capture the OHLC and other values I need from the source chart - making it possible to complete my calculations on the destination chart. .... which is what I wanted. Many thanks. |
[2022-04-23 10:44:09] |
|
This is what you need: ACSIL Interface Members - Functions: sc.GetChartBaseData() 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 |
[2022-06-08 08:47:46] |
User92573 - Posts: 563 |
Great, many thanks.
|
To post a message in this thread, you need to log in with your Sierra Chart account: