Support Board
Date/Time: Sat, 15 Mar 2025 16:19:53 +0000
How to get the sum of size of all levels for ask side or bid side
View Count: 1258
[2022-07-21 18:27:10] |
User395175 - Posts: 90 |
i wonder is there a function to get the value directly.
|
[2022-07-21 19:43:49] |
John - SC Support - Posts: 38678 |
You can turn on the display of this information by setting the option for Trade >> Chart DOM Settings >> Other >> Display DOM Depth Totals to Yes. But this, puts the numbers at the top/bottom of the list of depths, which can be very far away. Refer to the following information: Global Trade Settings Windows: Display DOM Depth Totals (Global Settings >> Chart DOM Settings >> Other>> Other Settings) Another option is to use the DOM Graph found in Chart >> Chart Settings >> Market Depth >> DOM Graph and turn on the options for Only Single Level with Greatest Depth and Show Volume Totals and Percentages, then you will have better access to the sum of the Bid and Ask Market Depth, but it can again, be far off the screen. Refer to the information here: Chart Settings: Draw DOM Graph On Chart (Chart >> Chart Settings >> Market Depth >> DOM Graph menu) And finally, if you want to have the numbers available in a Subgraph, then you would want to use the Bid and Ask Depth Bars study. Refer to the information here: Bid & Ask Depth Bars For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-07-22 03:02:32] |
User395175 - Posts: 90 |
Ok, so there is no sc function to direct access the values right? But I can use the last method and get the subgraph array value to access the total size indirectly, right?
|
[2022-07-22 17:22:41] |
John - SC Support - Posts: 38678 |
There is not a specific function that adds up the levels, but you can do it yourself using the following two functions: ACSIL Interface Members - Functions: sc.GetAskMarketDepthEntryAtLevelForSymbol ACSIL Interface Members - Functions: sc.GetAskMarketDepthNumberOfLevels 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: