Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 15:10:46 +0000



Post From: How to Highlight Price level when Bid or Ask Volume is greater than some % of Total volume

[2025-01-27 19:00:24]
John - SC Support - Posts: 37808
The best way to do this would be to create a custom study. Refer to the following:
ACSIL Programming Concepts: Accessing Volume at Price Data Per Bar

https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php

Using the built-in tools, the only way to do this would be to use an Alert option. Either a simple alert, or using the "Color Bar Based on Alert Condition". In either case, the alert would have to look like the following:
=OR(AND(VAP(L, 0) > 500, BVAP(L, 0) >= 0.9 * VAP(L, 0)), AND(VAP(L + TICKSIZE, 0) > 500, BVAP(L + TICKSIZE, 0) >= 0.9 * VAP(L, 0)), AND(VAP(L + 2 * TICKSIZE, 0) > 500, BVAP(L + 2 * TICKSIZE, 0) >= 0.9 * VAP(L + 2 * TICKSIZE, 0)))

There VAP is the Volume at Price, L is the Low of the bar, BVAP is the Bid Volume at Price, TICKSIZE is the tick size of the chart. So the above checks the first three lowest levels of a bar to see if the total volume at that level is greater than 500 and then if the Bid Volume at that price is greater than or equal to 90% of total volume.

We leave it to you to extend this to all the levels that you would see for the bars you are using.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing