Support Board
Date/Time: Fri, 14 Aug 2026 04:11:09 +0000
Post From: DominantCyclePhase does not use IndexParam parameter
| [2026-08-13 23:52:40] |
| User719512 - Posts: 455 |
|
Hi Sierra Chart Engineering, DominantCyclePhase has two overloads and the one that should be used for manual looping does not make use of the IndexParam parameter. This does not follow the convention of the nearby code. Current sierrachart.h SCFloatArrayRef DominantCyclePhase(SCFloatArrayRef In, SCSubgraphRef Out, int IndexParam) { return InternalDominantCyclePhase(In, Out, Index); } SCFloatArrayRef DominantCyclePhase(SCFloatArrayRef In, SCSubgraphRef Out) { return InternalDominantCyclePhase(In, Out, Index); } Suggested sierrachart.h SCFloatArrayRef DominantCyclePhase(SCFloatArrayRef In, SCSubgraphRef Out, int IndexParam) { return InternalDominantCyclePhase(In, Out, IndexParam); } SCFloatArrayRef DominantCyclePhase(SCFloatArrayRef In, SCSubgraphRef Out) { return InternalDominantCyclePhase(In, Out, Index); } |
