Support Board
Date/Time: Tue, 04 Nov 2025 01:59:32 +0000
[Programming Help] - WhenI Click Chart>>Recalculate sc.GetNumLinesUntilFutureIntersection() Index value Doubles
View Count: 639
|   [2020-10-21 11:12:06]     |  
| User253985 - Posts: 23 | 
| 
                 int Index = 0; Index = sc.GetNumLinesUntilFutureIntersection(sc.ChartNumber, sc.Input[1].GetStudyID()) -1; sc.SetSheetCellAsDouble(SheetHandle, 5, 1, Index); Is above 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. Example. Index Value is 100 and after clicking Chart>>Recalculate it becomes 200, then 300, then 400 etc.... Why is this? does anyone know? Thanks  | 
        
To post a message in this thread, you need to log in with your Sierra Chart account:
