Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 14:40:32 +0000



Color Bar Alert Condition Inconsistent Result

View Count: 679

[2018-04-29 02:32:38]
RonW - Posts: 103
ES Futures numbers bars
Changed the background to no color and turned on the highlight of the point of control.

Numbers Bars Calculated Values. Turned on display of point of control value.

Color Bar Alert Condition:

AND(
ID2.SG42[-3]<ID2.SG42[-4],
ID2.SG42[-2]<ID2.SG42[-3],
ID2.SG42[-1]<ID2.SG42[-2],
ID2.SG42[0]>ID2.SG42[-1])

Basically, it draws an arrow when the Point of Control, 4 down in a row, followed by 1 up.

http://www.sierrachart.com/image.php?Image=152496775798.png

I drew a rectangle around a 5 bar sequence where it worked as expected, and one where it did not.

Thanks.
[2018-04-30 16:05:31]
John - SC Support - Posts: 31160
You need to set the Value Format for the Numbers Bars Calculated Values to a precision of 0.01.

This is due to the Color Bar Based on Alert Condition having an Inherited Value Format and the default for the Numbers Bars Calculated Values is 1. Therefore, the Alert Condition is not seeing the small drops in the POC due to rounding.
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