Login Page - Create Account

Support Board


Date/Time: Tue, 01 Jul 2025 06:00:43 +0000



Post From: How can the Bar Period be set to

[2025-06-18 17:47:01]
John - SC Support - Posts: 40676
The first thing to look at is the following functions to access the Total Volume, Bid Volume, and Ask Volume at each price level for a bar:
Study/Chart Alerts And Scanning: Special Functions

These can be used with the Main Price Graph Identifiers:
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables

So you can setup an alert that checks to see if the Bid at High is 0 by entering the following:
=BVAP(H, 0) = 0

To use multiple conditions, you need to use the AND() and/or OR() functions:
Study/Chart Alerts And Scanning: OR and AND Functions

So to check both the Bid at the High and the Ask at the Low, your formula would be the following:
= AND(BVAP(H, 0) = 0, AVAP(H, 0) = 0)

To check a value at a location within a bar, you need to add the offset amount to the High or Low. The best way to do this is to use the TICKSIZE variable. For instance, to check if a value at two prices below the high is greater than 100, your formula would be the following:
=BVAP(H - TICKSIZE * 2, 0) > 100

We leave the rest for you to work out to get exactly what you need.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing