Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 17:11:40 +0000



[User Discussion] - Bid Ask Volume Ratio Study

View Count: 2068

[2014-03-26 15:14:50]
User28682 - Posts: 233
Can you please make this study (a version for me) so it only updates when a bar closes out? Or show me in your code how I can modify it?

Thank you

Tom
[2014-03-26 18:51:24]
Sawtooth - Posts: 3952
Here's a way to do this using an existing study:

Add the Color Bar Based On Alert Condition study
-set the Based On to the Bid Ask Volume Ratio study
-set the Chart Region to the same as the Bid Ask Volume Ratio study
-set the Output When Condition True to Use Input Data
-set the Input Data to Vol Ratio Avg
-set the Draw Style to Line
-put this in the Alerts tab:
=OR(BARDATE<BARDATE[1],BARTIME<BARTIME[1])

In the Bid Ask Volume Ratio study:
-set the Draw Style of SG1 to Hidden

The Color Bar Based On Alert Condition study must be below the Bid Ask Volume Ratio study in the Studies to Graph list.

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

Login

Login Page - Create Account