Support Board
Date/Time: Mon, 10 Mar 2025 06:49:00 +0000
Post From: ACSIL Support For Non-Extended Line
[2022-03-14 10:25:26] |
User907968 - Posts: 838 |
Does it actually build? As, if this is the entirety of the code, then you are missing the required include directive from the top of the file. #include "sierrachart.h"
Also, did you actually want to hardcode the chart numbers into these statements? int ChartStartIndex = sc.GetContainingIndexForSCDateTime(1, Input_ReversalOne_Start.GetDateTime()); int ChartEndIndex = sc.GetContainingIndexForSCDateTime(1, Input_ReversalOne_End.GetDateTime()); Maybe change for below? int ChartStartIndex = sc.GetContainingIndexForSCDateTime(sc.ChartNumber, Input_ReversalOne_Start.GetDateTime()); int ChartEndIndex = sc.GetContainingIndexForSCDateTime(sc.ChartNumber, Input_ReversalOne_End.GetDateTime()); I made these changes and built the study, it renders as expected. Date Time Of Last Edit: 2022-03-14 10:26:41
|