Login Page - Create Account

Support Board


Date/Time: Tue, 15 Apr 2025 13:50:09 +0000



Getting Sum of Pulling/Stacking for Given Levels

View Count: 86

[2025-04-08 07:27:32]
kam2001 - Posts: 86
Hi, is there a function to get the difference of sum of Ask MArket Depth Stacking Pulling and Bid MArket Depth Stacking Pulling, if not i can always use the functions below to calculate the difference.
The actual question was how can i get the sum using the functions below for given levels, i mean at the moment it gives the sum of all Levels, for example on FDAX there are 100 Levels but i only want the sum of last 10 levels, I wonder if there is a function that can take levels as parameter and return the sum of passed levels parameter. something like for example double GetAskMarketDepthStackPullSum(Levels); Thanks


double GetAskMarketDepthStackPullSum();

double GetBidMarketDepthStackPullSum();
[2025-04-08 07:47:33]
User431178 - Posts: 646
The actual question was how can i get the sum using the functions below for given levels

To get the value for pull/stack over some arbitrary number of levels, you need to use these functions and do the sum yourself:

sc.GetAskMarketDepthStackPullValueAtPrice()
sc.GetBidMarketDepthStackPullValueAtPrice()

ACSIL Interface Members - Functions: sc.GetBidMarketDepthStackPullValueAtPrice()
[2025-04-08 14:47:20]
John - SC Support - Posts: 39274
The other option is to limit the Pulling/Stacking levels to the number you want in the chart, then you can get the sum of that amount. Refer to the following:
Global Trade Settings Windows: Maximum Bid/Ask Market Depth Pulling/Stacking Levels (Global Settings >> Chart DOM Settings >> Other >> Other Settings)
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:

Login

Login Page - Create Account