Support Board
Date/Time: Mon, 16 Jun 2025 08:40:54 +0000
Programmatically accessing the Point and Figure box levels
View Count: 243
[2025-05-15 10:32:05] |
pa_trader - Posts: 36 |
Is it possible to directly access within the ACSIL framework ? thx
|
[2025-05-15 14:35:02] |
John - SC Support - Posts: 40422 |
We are not understanding the question. The Point and Figure Bar Period and Draw Type put the information into the standard subgraph information. So you can access the Open/High/Low/Close of the bar just like any other bar type. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-05-15 15:17:48] |
pa_trader - Posts: 36 |
Here is an explanation of what I'm looking. I've shown a PnF chart (boxSize=8ticks, reversal=1), plotted both PnF X and O, and as a Candlestick chart. Bar High is 5905.5 and Bar Low is 5896.75, but the actual PnF box levels are 5905/5903/5901/5899/5897. The 0.5pt above the 5905 box and 0.25pt below the lowest box were incomplete boxes. So basically, is there a way to access these through ACSIL, without replicating the full logic to calculate these ? Its similar to Renko Closes, in the sense that once the chart is set, then the boxes can only occur on certain levels that are 8 ticks apart |
Attachment Deleted. ![]() |
[2025-05-15 16:46:13] |
John - SC Support - Posts: 40422 |
The Open and Close of the Point and Figure boxes are contained within subgraphs 22 and 23 for the main graph data. These are the same items that contain the Open and Close for the Renko bars. You can access these programmatically using the sc.BaseData[][] array with either the "SC_RENKO_OPEN" and "SC_RENKO CLOSE" or with "SC_POINT_FIGURE_HIGH" and "SC_POINT_FIGURE_LOW" constants. Refer to the following: ACSIL Interface Members - Variables and Arrays: sc.BaseDataIn[][] / sc.BaseData[][] There is also a "PF_DIRECTION_ARRAY" constant that can be used with te sc.BaseData array that is not documented at the above at this time. For the most reliable, advanced, and zero cost futures order routing, use 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: