Support Board
Date/Time: Wed, 18 Nov 2026 09:39:55 +0000
Post From: Custom Divergence Study: Numbers Bars Delta and Candle Sticks
| [2026-11-04 08:50:13] |
| User862138 - Posts: 40 |
|
Hi John or.... Below is detailed info I got from Claude, but for some reason I still do not see any display on my chart. Can you assist? Here is a no-code setup in Sierra Chart using only built-in studies. It uses Numbers Bars Calculated Values (NBCV) to supply the Delta, and Color Bar Based on Alert Condition to draw the dot. Before you start Sierra Support confirms that NBCV colors can’t be changed by a condition. The workaround they recommend is a separate study that places a marker on the bar, which is what this setup does. Your Numbers Bars study is already on the chart. Keep it as is. Step 1: Add NBCV and find the Delta subgraph number Go to Analysis > Studies > Add Custom Study and add Numbers Bars Calculated Values. Set Based On to your Numbers Bars study if it asks. Open its Subgraphs tab and find the subgraph named Delta (Ask Volume minus Bid Volume). Note its number, for example SG10. Note the ID number of NBCV in the Studies to Graph list, for example ID2. You can set the NBCV Draw Style to Hidden. Do not set the subgraph to “Ignore”, or the alert will read zeros. Step 2: Add the dot study Add Color Bar Based on Alert Condition to the chart. Settings tab: Chart Region: 1 (same as price) Evaluate On Bar Close: Yes. The dot only appears once the bar has closed. Subgraphs tab, SG1: Draw Style: Point on High. This places the dot at the bar’s high and won’t distort your chart scale. Color: your choice, for example yellow or white. Width/Size: 5 to 8 for a solid, visible dot. Step 3: Enter the condition On the Alerts tab, enter this formula: =AND(C<O, ID2.SG10>0) C<O means the close is below the open, so the bar is red. ID2.SG10>0 means Delta is positive. Replace ID2 and SG10 with the numbers you found in Step 1. Step 4: Check the order and test In Studies to Graph, keep this order: Numbers Bars, then NBCV, then Color Bar Based on Alert Condition. Scroll back through history and confirm that every dot sits on a red bar whose Delta shows positive in NBCV. Example A candle opens at 5000.00 and closes at 4998.50, so it is red. NBCV shows Delta = +120. Both conditions are true, so a dot appears above that candle right after the close. Good to know Point on High sits right at the top of the candle. To lift it slightly, increase the dot size or use a hollow-free, larger point. Red bar definition: this formula uses close below open. If your Numbers Bars colors by something else, such as volume down, tell me and I’ll adjust the condition. Alert sound (optional): on the same Alerts tab you can add a sound for the same condition. |
