Support Board
Date/Time: Sat, 28 Jun 2025 20:56:57 +0000
Post From: Sample Code for sc.GetStudyLineUntilFutureIntersectionByIndex()
[2020-10-24 12:08:58] |
User253985 - Posts: 23 |
Your rewording of the documentation really helped me Thank You. Is below a programming Error on my behalf or is there a fault with the function? When I Click Chart>>Recalculate the value of Index is added again. int Index = 0; Index = sc.GetNumLinesUntilFutureIntersection(sc.ChartNumber, sc.Input[1].GetStudyID()) -1; sc.SetSheetCellAsDouble(SheetHandle, 5, 1, Index); Example. Index Value is 100 and after clicking Chart>>Recalculate it becomes 200, then 300, then 400 etc.... Why is this? Thanks |