Login Page - Create Account

Support Board


Date/Time: Thu, 27 Feb 2025 12:42:50 +0000



Post From: sc.GetIndexOfHighestValue()

[2021-07-03 20:29:08]
User39772 - Posts: 311
The sc.GetIndexOfHighestValue() function returns the bar index of the highest value over the specified Length in the FloatArrayIn array.

Example:

IndexHighestValue = sc.GetIndexOfHighestValue(sc.BaseDataIn[SC_LAST], Length);

Does it return the max value of the last "Length" bars or the next "Length" bars