Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 22:34:06 +0000



extends calculated values for several periods into the future

View Count: 291

[2023-03-26 05:12:00]
User99728 - Posts: 8
Is it possible to write a custom indicator in SierraCharts that extends its calculated values for several periods into the future?
[2023-03-27 15:02:01]
John - SC Support - Posts: 36350
Depending on what you are doing and how you want to do it - you would either take the value of the subgraph you want to extend and copy that data point to all subsequent indices.

Or, you could use the sc.AddLineUntilFutureIntersection() function. Refer to the following:
sc.AddLineUntilFutureIntersection()

Or you could use a Draw Style of Line from Last Bar to Edge:
Chart Studies: Line at Last Bar to Edge (ACSIL: DRAWSTYLE_LINE_AT_LAST_BAR_TO_EDGE)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account