Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 06:14:26 +0000



Post From: Skip zeros with High/Low study

[2021-02-17 21:24:52]
John - SC Support - Posts: 31627
The problem is that the Color Bar Based on Alert Condition is outputting a value of 0 when False. This is causing a problem for your particular setup since you are dealing with negative values. Therefore, 0 is the Highest value at those points where the data is negative.

There really is no good solution for your particular setup. You can't change the Output When False to some large negative value, as that would then cause issues for your Low values.

The only thing we can think is to shift the chart up so the values are all positive. If the actual price values are not important to what you are looking at, then this would be the best/easiest solution. Refer to the following for how to adjust your data:
Using the Basic Arithmetic Studies

Otherwise, you would have to modify the code to handle the situation you are dealing with. Refer to the following:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing