Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 10:29:03 +0000



Post From: How to highlight the bar

[2023-02-22 20:46:14]
John - SC Support - Posts: 36350
There is not a way to do this using the Numbers Bars Candle display. But, if you setup the Main Price Graph to be a Candlestick Hollow then you can use the Study Price Overlay to overlay the Main Price Graph onto the Numbers Bars, which will look the same as what you have now.

Then you can use the Color Bar Based on Alert Condition to color the bar based on whether the Bid/Ask is above a certain amount. You will need to change the Subgraph Draw Style for the Color Bar to Color Bar Hollow.

In terms of setting up the alert condition for the Color Bar Based on Alert Condition, you will have to check each level of the bar individually, and you will have to guess as to how many levels there are within the longest bar you expect. You will then create an Alert condition that looks like the following to check if either the Bid or the Ask is above 1000 for the first two levels starting at the low:
=OR(BVAP(L, 0) > 1000, AVAP(L, 0) > 1000, BVAP(L + TICKSIZE * 1, 0) > 1000, AVAP(L + TICKSIZE * 1, 0) > 1000, ...)

You will have to add the rest to do the test. Refer to the following for the information on BVAP and AVAP functions:
Study/Chart Alerts And Scanning: Special Functions
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing