Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 12:13:58 +0000



How can I make ask/bid difference bars all positive (drawn up/above 0 line only)

View Count: 220

[2023-01-23 16:39:23]
wreck - Posts: 9
Hi,

I use the ask/bid difference bar study. Positive delta bars are drawn above the 0 line, and negative delta bars are drawn below the 0 line, as one might expect.
What I would like is for both positive and negative bars to be drawn above the 0 line, and just use color to differentiate between positive/negative.

My suspicion is that there is a very simple way to do this, but I cannot for the life of me figure it out.

Thank you!
[2023-01-23 22:57:01]
John - SC Support - Posts: 31098
you would have to use the Color Bar Based on Alert Condition to black out the bars that are negative. Refer to the following:
Color Bar Based on Alert Condition

Then you would have to use the Spreadsheet Study to rearrange the data for the "negative" bars to recreate the bar in the opposite direction.
Using the Spreadsheet Study

Then you would need to use the Spreadsheet Formula (Bar) study to redraw the data from the Spreadsheet Study as a bar by referencing the appropriate Subgraph for each of the bar items (Open, High, Low, Close). Refer to the following:
Spreadsheet Formula
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