Support Board
Date/Time: Tue, 01 Jul 2025 02:40:06 +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 ACSIL Interface Members - Functions: 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. |