Support Board
Date/Time: Thu, 21 Nov 2024 13:19:04 +0000
Ask Volume Bid Volume Difference Text
View Count: 56
[2024-11-18 18:22:25] |
User688525 - Posts: 257 |
Hello Sierra Chart, Is it possible to customize the "Ask Volume Bid Volume Difference Text" study to display the following: 1. Delta Difference at and 2 ticks above the current price (3 tick range)? 2. Delta Difference at and 2 ticks below the current price (3 tick range)? 3. Delta Difference at and 2 ticks above and below the current price (5 tick range)? If not, what would be the way to calculate and display the above scenarios, i.e., "Study Subgraph Above/Below Bar as Text" or "Ask Volume Bid Volume Difference Text"? Lastly, where is the source code for the "Ask Volume Bid Volume Difference Text" study? Thank you |
[2024-11-18 21:26:11] |
John - SC Support - Posts: 36174 |
The "Ask Volume Bid Volume Difference Text" study is available in the Studies8.cpp file in the ACS_Source folder under your main Sierra Chart installation folder. But that study will not help you in terms of creating a new study to do what you want, as the study is fairly simple and takes the entire bar Ask Volume minus the Bid Volume, which are already stored variables. To look at individual price levels, you need to use the Volume at Price structure. Refer to the following: ACSIL Programming Concepts: Accessing Volume at Price Data Per Bar You could do what you want using the "Spreadsheet Formula", as the Total Volume, Bid Volume, and Ask Volume at a price level per bar is available through the Alert conditions. Refer to the following: Study/Chart Alerts And Scanning: Special Functions For example, to get the Delta Difference at the current price and two ticks above, your Spreadsheet Formula formula would be the following: =AVAP(L, 0) + AVAP(L + TICKSIZE, 0) + AVAP(L + 2 * TICKSIZE, 0) - BVAP(L, 0) - BVAP(L + TICKSIZE, 0) - BVAP(L + 2 * TICKSIZE, 0) If you want to display that value above/below the bars, use the "Study Subgraph Above/Below Bar as Text". Refer to the following: Study Subgraph Above/Below Bar as Text We leave it to you to work out the other formulas. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-11-19 01:05:51] |
User688525 - Posts: 257 |
Thanks very much John. I appreciate your time and support.
|
To post a message in this thread, you need to log in with your Sierra Chart account: