Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 13:35:44 +0000



Post From: Calculations: bid - ask, average market depth

[2023-05-11 14:27:33]
John - SC Support - Posts: 36350
Sorry we forgot to answer that.

Again, there is not a single study, but you can put together what you need.

To get the sum of the Bids or Asks, you would use the Bid and Ask Depth Bars, and set the calculation mode to Sum Bid Side for one copy and Sum Ask Side for a second copy. This will give you the sums in the "Close" subgraph. Refer to the following:
Bid & Ask Depth Bars

There is not a way to get the number of levels of Bid and Ask, so you would have to limit this by using the option for Chart >> Chart Settings >> Market Depth >> Number of Levels for Bid Ask Depth Calculations. Refer to the following:
Chart Settings: Number of Levels for Bid/Ask Depth Calculations (Chart >> Chart Settings >> Market Depth menu)

Then you can use the Study Subgraph Divide study to divide the data from the Close subgraph in the Bid and Ask Depth Bars by the number of levels you have defined to get your average. Refer to the following:
Study Subgraph Divide
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing