Login Page - Create Account

Support Board


Date/Time: Mon, 03 Mar 2025 20:39:59 +0000



[Programming Help] - Ask/Bid Volume difference bars

View Count: 1092

[2019-07-29 15:47:40]
User968625 - Posts: 260
Hello,

Is there a way to NOT invert the -ve delta bars. I like to use it as background filled bars under volume for easy interpretation as well as space. Here is an image using another delta custom indicator but it is not exact delta so not as accurate as the Ask/Bid Volume difference bars

Thank you
imageVolume with Delta Background.png / V - Attached On 2019-07-29 15:46:56 UTC - Size: 1.05 KB - 431 views
[2019-07-29 19:48:55]
Sawtooth - Posts: 4179
Use two instances of the Spreadsheet Formula study, one for each color:

-Hide the Ask/Bid Volume Difference Bars study.

-Green formula:
=IF(ID17.SG4>ID17.SG1,ID17.SG2,0)

-Red formula:
=IF(ID17.SG4<ID17.SG1,-ID17.SG3,0)

where ID17 is the Ask/Bid Volume Difference Bars study; edit formula as needed.

Note: the Volume study must be below both Spreadsheet Formula studies in the Studies to Graph list, and set all studies to the same Chart Region.
[2019-07-30 00:18:03]
User968625 - Posts: 260
Brilliant. works perfectly. thank you so much @tomgilb for sharing your knowledge and your time

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account