Support Board
Date/Time: Sun, 24 Nov 2024 19:04:49 +0000
[User Discussion] - Volume At Price Threshold Alert V2 - Stacked Imbalance Color Bar based Alert Condition
View Count: 365
[2024-05-15 17:05:22] |
AzharBasri - Posts: 28 |
Hi, I have VaP Threshold Alert V2 study on to identify stacked imbalances and highlighted the adjacent alerts minimum group size to 3. How can I make color bar based on alert condition by drawing a triangle on beside the highest price of the stacked imbalance inside the numbers bars? If I cannot do that, is it possible to draw a triangle on top of the numbers bars candle where there is a stacked imbalance? Thanks |
[2024-05-15 18:08:43] |
John - SC Support - Posts: 36238 |
The general idea is that you would need to use the "Adjacent Alert Highlight Top" subgraphs to get the price at the highest point of the stacked imbalance. As long as the value is non-zero, then you have a set of grouped alerts and that value represents the highest price of that group. For instance, to get a positive alert when there is at least one grouping of 3 you would use the following condition: =ID1.SG50 Where ID1 is the ID of the Volume at Price Threshold Alert V2 study. Refer to the following regarding drawing a marker at the high/low of a bar with the Color Bar Based on Alert Condition: Color Bar Based on Alert Condition: Drawing Arrows/Text or Other Styles at the High or Low of Bars To draw something at a specific price, you would need to set the Input for "Output When Condition True" to be "Study Subgraph Reference" and then set the "Study Subgraph Reference Value When True" to be the SG50 of the Volume at Price Threshold Alert V2. The trickiest part of this is that you could have multiple groupings, therefore you would need to have 5 copies of the "Color Bar Based on Alert Condition" to capture all of them, as you can only have 5 groups in a single bar (this is a limit due to the number of subgraphs available). For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-05-16 02:52:35] |
AzharBasri - Posts: 28 |
I have managed to do that for Up stacked imbalance by referencing Volume At Price study where percentage threshold is a positive number. I have also duplicate the same study and change the percentage threshold to negative number for Down stacked imbalance. The general idea is that you would need to use the "Adjacent Alert Highlight Top" subgraphs to get the price at the highest point of the stacked imbalance. As long as the value is non-zero, then you have a set of grouped alerts and that value represents the highest price of that group.
For instance, to get a positive alert when there is at least one grouping of 3 you would use the following condition: =ID1.SG50 To get the price at the lowest point of the down stacked imbalance, do I have to change SG50 to SG49? =ID1.SG49 ? To draw something at a specific price, you would need to set the Input for "Output When Condition True" to be "Study Subgraph Reference" and then set the "Study Subgraph Reference Value When True" to be the SG50 of the Volume at Price Threshold Alert V2.
And it the the same here where I need to set "Study Subgraph Reference Value When True" = SG49 too? |
[2024-05-16 14:56:50] |
John - SC Support - Posts: 36238 |
SG49 always has a value, so you can not use it to test if there is a grouping, so you need to still test against SG50 (i.e. the Top Highlight subgraphs). But, to get the lowest price in a group, you would want to use SG49 (or the Bottom Highlight subgraphs). For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-05-16 15:05:04] |
AzharBasri - Posts: 28 |
So how can I test if there is a grouping and want to get the lowest price on the group? Still use this formula to identify the grouping =ID1.SG50 and then "Study Subgraph Reference Value When True" = SG49? Is this correct? |
[2024-05-16 15:12:15] |
AzharBasri - Posts: 28 |
Nevermind. I got what I need by doing this Still use this formula to identify the grouping
=ID1.SG50 and then "Study Subgraph Reference Value When True" = SG49? Thanks for your help! |
To post a message in this thread, you need to log in with your Sierra Chart account: