Support Board
Date/Time: Fri, 07 Feb 2025 07:08:56 +0000
Post From: GetIndexOfLowestValue
[2020-05-23 04:04:13] |
Flipper - Posts: 65 |
Additionally, is there any way to tell sc.GetIndexOfLowestValue to search 20 bars back but exclude the current bar?
from here sc.GetIndexOfLowestValue()float GetIndexOfLowestValue(SCFloatArrayRef FloatArrayIn, int Index, int Length);
float GetIndexOfLowestValue(SCFloatArrayRef FloatArrayIn, int Length); Auto-looping only. First one has a start index so if you do sc.Index - 1 that will be what you want. As to the first problem. No idea without see all the code. The function works fine for me though. |