Support Board
Date/Time: Tue, 04 Nov 2025 10:34:23 +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  | 
        
