Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 20:45:44 +0000



Post From: Color bar based on alert condition

[2024-07-03 22:08:20]
John - SC Support - Posts: 34459
What you are wanting is how the "Color Bar Based on Alert Condition" study works - in general. There are a couple of things to keep in mind.

First - on the Inputs for the "Color Bar Based on Alert Condition" study there are Inputs for "Number of Bars to Calculate" and "Automatically Clear from Before 'Number of Bars to Calculate'". If you are calculating on 50 bars and have the option for "Automatically Clear from Before 'Number of Bars to Calculate'" set to "Yes", then as 50 bars pass, the bars prior will remove the color bar effect. Make sure you have these options set to what they need to be for what you are doing.

Second - The Sierra Chart studies are set to only update for the new data as it is entered into the system. So if a bar has been "colored" by the "Color Bar Based on Alert Condition", then it will stay colored, unless there is a reason for a full calculation to occur, which, depending on your conditions, could make the colored bar no longer colored. Full calculations typically occur when first opening a chart, adding a study, or starting a replay. But it should not occur when the system is processing data and updating.

Third - The Back-Testing is going to be different from real-time, especially if you are using Bar Based Back Testing. Refer to the following:
Auto Trade System Back Testing: Differences Between Back Testing and Real-Time Auto Trade System Evaluation
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing