Support Board
Date/Time: Sun, 02 Nov 2025 15:31:18 +0000
Post From: Set subgraph value ACSIL
| [2023-02-26 22:42:07] |
| Tony - Posts: 640 |
|
SC's bar index goes from left to right. The very first bar on the far left of the chart (it could be out of the window if you see a scroll bar at bottom of the chart window) has index number 0, so, sc.High[1] means the high value of the 2nd bar from far left. The index number of last bar (current bar) will be added one every time a new bar is printed, and it can be accessed by sc.Index. Just in case, if you wonder why ondafringe use sc.High[sc.Index-1] |
