Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 08:44:18 +0000



Post From: bid volume vs ask volume as absolute value above 0 line

[2024-04-10 15:35:21]
John - SC Support - Posts: 31704
What you are doing is a good way to solve the problem. The only item you are missing is the use of the "Color Bar Based on Alert Condition". In this case, you would need to keep the "Bid Volume v Ask Volume" study with the difference on the chart, but you can eventually hide it. You will use this to determine the coloring for when the difference was negative.

In the Color Bar Based on Alert condition, you will set an Alert formula that looks like the following:
=ID2.SG5 < 0

Where ID2 is the ID of the "Bid Volume v Ask Volume" study and SG5 is the Difference Subgraph.

Then set the color for the "Color Bar" Subgraph to be red (or whatever color you want). Just make sure that you also set the "Color Bar" subgraph to be the same Draw Style and Width as what you are using for the display. And that the Based On is set to the "Study Subgraph Absolute Value" study with the Output set to the Input value and the Input value set to the Subgraph you are displaying there. And that the Region is set correctly.

Refer to the following:
Color Bar Based on Alert Condition: Coloring Subgraphs of Other Studies
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing