Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 09:45:39 +0000



Post From: Set subgraph value ACSIL

[2023-02-25 03:47:45]
ondafringe - Posts: 286
In your "if" condition, try changing sc.High[1] to sc.High[sc.Index - 1]

if (sc.Close[sc.Index] > sc.High[sc.Index - 1])
{
Highs[sc.Index] = sc.High[sc.Index];
}

Date Time Of Last Edit: 2023-02-25 03:48:25