Support Board
Date/Time: Wed, 30 Apr 2025 10:49:59 +0000
Highlighting Volume in Numbers Bars
View Count: 78
[2025-04-25 12:18:45] |
pa_trader - Posts: 31 |
I'd like to highlight Volume using certain calculation logic thats not part of the default study settings. Is there any way to achieve this ? thx |
[2025-04-25 15:20:22] |
John - SC Support - Posts: 39559 |
The best solution to this is to create a custom study, or pay to have one done. Refer to the following: Advanced Custom Study Interface and Language (ACSIL) https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php It can somewhat be done with the "Spreadsheet Formula" study, but the formula gets lengthy, and depending on the time frame of your chart, you may not be able to cover the entire bar with the formula. The idea is that the Alert syntax allows you to access the Total Volume, Bid Volume, and Ask Volume at a price level - therefore you would have to check each price level individually to see if it matches what you want. But this will only get you one result per bar. Here is an example of the formula you would enter if you want to highlight when the Bid is greater than 50 for the first 3 levels starting at the Low of the bar: =IF(BVAP(L, 0) > 50, L, IF(BVAP(L + TICKSIZE, 0) > 50, L + TICKSIZE, IF(BVAP(L + 2 * TICKSIZE, 0) > 50, L + 2 * TICKSIZE, 0))) You would then set the Subgraph Draw Style to an item that marks the level you want. Refer to the following: Spreadsheet Formula Study/Chart Alerts And Scanning: Special Functions Chart Studies: Subgraphs Tab >> Draw Style For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2025-04-25 15:21:41
|
[2025-04-27 02:36:44] |
pa_trader - Posts: 31 |
I'm able to programmatically access Volume at Price data. But having difficulty in highlighting the relevant price level, like a box around it (similar to how Numbers Bars study does it)
|
[2025-04-28 16:19:27] |
John - SC Support - Posts: 39559 |
There is no Draw Style for a non-filled rectangle like what is available in the Numbers Bars. The closest option is the Draw Style of "Color Background at Price", but this gives a filled rectangle. It can be used, but you have to ensure that the text is a different color and that your study is drawn before the Numbers Bars (higher up in the list of studies). Refer to the following: Chart Studies: Color Background At Price (ACSIL: DRAWSTYLE_COLOR_BACKGROUND_AT_PRICE) 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: