Support Board
Date/Time: Sat, 14 Nov 2026 17:43:51 +0000
Post From: ACSIL – date/time of forward projection columns and drawings by bar index in the future
| [2026-11-14 15:48:08] |
| Deltareversal - Posts: 64 |
|
I am developing a custom ACSIL study (Sierra Chart version 2980) that draws a cycle projection into the future. The study uses a subgraph with GraphicalDisplacement, plus vertical lines and text drawings (s_UseTool, DRAWING_VERTICALLINE / DRAWING_TEXT) placed on specific future bars. Symbol: ESZ26-CME, continuous contract, Historical Daily chart and 60-minute intraday chart. The problem: the subgraph is positioned by column (bar index + displacement), while the drawings in the forward area must be positioned by BeginDateTime. To align them, I need to know exactly which date/time Sierra Chart assigns to each forward column. My questions: 1. Historical Daily chart: how does Sierra Chart calculate the date of the forward projection columns? Does it skip only Saturdays and Sundays, or also holidays? If holidays are skipped, which list is used (per symbol, per exchange, a global setting)? Are holidays that fall on a weekend shifted to the nearest weekday? 2. Intraday chart (e.g. 60 minutes): is the date/time of the forward columns always last bar time + N × bar period, including weekends and outside session hours? 3. Is there an ACSIL function or member that returns the exact date/time of the column N bars after the last bar, as shown on the chart's time scale? We tested sc.BaseDateTimeIn[sc.ArraySize + n] on the daily chart, and it seems to advance by calendar days (weekends included), so it does not match the axis. 4. Can s_UseTool.BeginIndex be set to an index greater than sc.ArraySize - 1, to place a drawing (vertical line or text) in the forward projection area by bar index instead of by date/time? If yes, are there any requirements (for example Number of Forward Columns)? 5. Ruler drawing: in the "NB" value (number of bars), are both the starting bar and the ending bar included in the count? Thank you very much for your help. Best regards, Antonio |
| |
