Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 06:31:46 +0000



Post From: Set subgraph value ACSIL

[2023-02-25 03:47:45]
ondafringe - Posts: 322
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