Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 15:43:30 +0000



Post From: when to use [sc.Index]

[2020-07-13 17:53:58]
JohnR - User831573 - Posts: 309
In the first 2 lines, you are working with/defining the entire array - opens and lasts. To get at a specific bar, is when you use the [sc.Index].

assuming sc.Index = current bar
Line 3 says, for the subgraph[0] current bar, plot/output the calculated value of the current bar open - low.

Hope that helps,
JohnR