Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 05:06:31 +0000



Color Bar Based on Alert error message

View Count: 153

[2024-10-24 18:14:09]
User719512 - Posts: 280
How to prevent this message and/or write a formula that can lookback and compare previous bars?
I am guessing on bar index 0, it's looking for bar -1 and that is causing the below message in the message log.
Is there a way to reference "bar number > lookback period?"

This is a simpler version of a more complicated lookback formula I might want to use...thanks for taking a look.

Error: 
2024-10-24 11:00:00.624 | Chart #3 | Color Bar Based On Alert Condition ID: 0 SubGraphData Array0: Out of bounds array error at Index 0

Formula:
AND(ID6.SG1[-1]<ID6.SG2[-1],ID6.SG1[0]>=ID6.SG2[0])

ID6 is the MACD study
[2024-10-25 19:14:00]
Sierra_Chart Engineering - Posts: 17672
We need to get the chart containing this study configuration. Instructions:
Support Board Posting Information: Providing Chartbook with Only a Single Chart
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-10-25 21:43:48]
User719512 - Posts: 280
Attached chartbook with the repro. Since market is closed, I used replay from 9am at speed 1. Chart is using PT time zone.
Private File
[2024-10-27 18:38:27]
Sierra_Chart Engineering - Posts: 17672
The out of bounds error will be corrected in the next release.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

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