Support Board
Date/Time: Sun, 07 Sep 2025 19:03:39 +0000
Overlaying multiple numbers bars conflict
View Count: 183
[2025-08-23 09:30:31] |
neevaksama - Posts: 58 |
Context: I currently have a - Numbers Bars with 3 columns - The 1st column is a volume profile colored based on volume percentage I would like a - 2nd Numbers Bars with 3 columns to add some features - Eg: I would like to now colour the 1st column which is a volume profile just like from previous Numbers Bars but with actual volume - I specifically only wanted to highlight high volume price levels in the Numbers Bar relative to the session so I made all the other colors equal to my background except Range 3 color Problem: - Clearly, the colors start conflicting. I.e depending on the order of the studies, 1 will hide the other or mess up. - I have attached a picture to show what I mean by "conflicting" - So I tried a "Color Bar ... Based on Alert Condition" and tried VAP(C,0) > XXX. This doesn't work either Qn: - Is there any way to circumvent this? Thanks! |
![]() |
[2025-08-25 15:15:47] |
John - SC Support - Posts: 41652 |
There is not a way around what is occurring due to what you are doing. Although it is possible to have multiple Numbers Bars studies on a chart, they need to be very closely setup so that they do not overwrite each other. Refer to the following: Numbers Bars: Using Multiple Numbers Bars Studies on the Same Chart For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-08-25 20:03:24] |
neevaksama - Posts: 58 |
Hmm, are there alerts then that can highlights when volume at a price > XXX? And color it accordingly?
|
[2025-08-25 21:04:30] |
John - SC Support - Posts: 41652 |
The "Volume at Price Threshold Alert V2" does some of what you are asking for. Refer to the following: Volume at Price Threshold Alert V2 Another option would be to create your own alerts and setup coloring or markers using the Color Bar Based on Alert Condition study. Refer to the last three alert examples (41, 42, and 43) at the following: Study/Chart Alerts And Scanning: Alert Formula Examples Also refer to the following: Study/Chart Alerts And Scanning: Special Functions You can then use this with the "Color Bar Based on Alert Condition" to produce a marker of some kind for what you want: Color Bar Based on Alert Condition For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-08-25 21:35:40] |
neevaksama - Posts: 58 |
- As mentioned, I actually have tried the closet alert formula on a Color Bar Based on Alert Condition - All I did was VAP(C,0) > 1000 but it didn't fire - Am I correct to assume that it should color the entire bar/produce some marker? - In such a case, was my formula wrong? - Side question: Is there no way to color just that level with some indicator with the VAP formula? |
[2025-08-26 13:04:27] |
John - SC Support - Posts: 41652 |
The formula is fine, but it is stating that the total volume at the close of the bar needs to be greater than 1000. Is that the case somewhere? Also, if you are using this with a Numbers Bars study, then the "Draw Style" setting of "Color Bar" will not do anything, as there is no bar to color. You need to use some other option. To color a price level, use the "Draw Style" of "Color Background at Price". Refer to the following: Chart Studies: Color Background At Price (ACSIL: DRAWSTYLE_COLOR_BACKGROUND_AT_PRICE) Keep in mind that you will then need to tell the "Color Bar Based on Alert Condition" the actual price level. to color. To do this for the close of the bar (to match your condition), set the following: - Output when Condition True: Study Subgraph Reference - Study Subgraph Reference Value when True: <Main Price Graph> and Last (SG4) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-08-26 18:44:20] |
neevaksama - Posts: 58 |
Thank you. Actually, I want the VAP(current price, 0) > 1000. My bad for assuming C would be current price if candle had yet to close. If there a variable for that? |
[2025-08-26 19:38:16] |
John - SC Support - Posts: 41652 |
C is the correct shorthand for that. The current price is the Close/Last for the current bar. Just keep in mind that it is the Close for each of the previous bars as well.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-09-02 08:12:01] |
neevaksama - Posts: 58 |
Hi John, I have tried this and realized the alert is not sticky. What I mean is Expected: if Vol @ Price is > 1000 and VAP(C,0)>1000, the alert activates when we are at the price (i.e the price level is colored) Unexpected but I guess it's working as intended: When we leave that price level, the alert deactivates (i.e the price level is not colored). May I know how to make it "sticky"? |
[2025-09-02 14:37:24] |
John - SC Support - Posts: 41652 |
This is correct for it to be doing what you are stating, as it is only checking the "Close/Last" price. So when the price moves, there is a new Close/Last, which it is then checking. The only way to make it "sticky" is to test all the different levels within a bar. Refer to example 43 at the following link: Study/Chart Alerts And Scanning: Alert Formula Examples For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-09-02 14:42:52] |
neevaksama - Posts: 58 |
Oh wow, considering I have 16-32 ticks in my bar; the formula will look ugly. Though I'm ok with that, I was wondering it will impact performance as it is checking for all 16-32 levels. For NQ, it will be even worse as I'll be looking through 80 ticks. |
[2025-09-02 15:16:50] |
John - SC Support - Posts: 41652 |
Alert conditions are fairly quick, and it should not be an issue in terms of performance. The issue you will have, however, is that there is not enough space to create an alert that will check 80 levels for the Volume at Price. In the end, the best solution would be to create a custom study that does what you want. Refer to the following: ACSIL Interface Members - Variables and Arrays: sc.VolumeAtPriceForBars https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php 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: