Support Board
Date/Time: Wed, 27 Nov 2024 08:53:28 +0000
[User Discussion] - Ask/Bid Volume Difference Alert Formula
View Count: 419
[2023-09-05 18:23:42] |
User185631 - Posts: 12 |
I am trying to create a color bar based on alert condition for a reversal on the Ask/Bid Volume Difference Study. Can anyone provide the alert formula for when the previous bar is below 400 ask vol and then the next bar is above 300 bid vol? Similar to the attached screenshot. Open to suggestions if there is another study in Sierra that is better suited for this use case. |
Ask_BidVol.PNG / V - Attached On 2023-09-05 18:23:04 UTC - Size: 16.43 KB - 106 views |
[2023-09-06 14:53:59] |
John - SC Support - Posts: 36309 |
The alert condition would be the following: =AND(ID1.SG4[-1] < 400, ID1.SG4[-1] > 0, ID1.SG4 < -300) Where ID1 is the ID of the "Ask Volume Bid Volume Difference Bars" study, and SG4 is the Close of the bar. The reason to check the previous bar is above 0 is to ensure that it is an Ask dominant bar, otherwise any Bid dominant bar would qualify. You might also want to enable the option for "Evaluate on Bar Close" in order to avoid situations where the current bar meets the criteria and then as it is building, does not meet the criteria. But it depends on what you are wanting to do. 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: