Support Board
Date/Time: Wed, 27 Nov 2024 16:53:49 +0000
Input for Color Bar Based on Alert Condition
View Count: 300
[2023-07-21 03:13:49] |
ssangha84 - Posts: 122 |
Hello, I want to have price bars colored when price is positive, and the study "ask/bid volume difference bars" is negative. And vice versa. I'm using the "color bar based on alert condition", but can't seem to get it working completely. It seems to work for some bars, but not all of them. The input I have is: AND(C-O> 0,ID9.SG1< 0) The ask/bid volume difference study is ID9. Please advise on how to correct this. Thanks |
[2023-07-21 13:53:13] |
John - SC Support - Posts: 36323 |
The Ask/Bid Volume Difference Bars display as bars, therefore there is an Open/Close/High/Low associated with them. SG1 for the study is the Open. The open is always 0, so you should never get a positive result to your alert condition. If you are wanting the full Bar difference then you would need to use ID9.SG4, which is the close of the bar. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-07-21 14:31:12] |
ssangha84 - Posts: 122 |
Is there a link to where I can see all of the different meanings of these inputs? I didn't know thats what SG1 meant and want to learn the other ones too.
|
[2023-07-21 14:35:54] |
John - SC Support - Posts: 36323 |
Refer to the following for referencing Study Subgraphs: Study/Chart Alerts And Scanning: Referencing Study Subgraphs You should also look through the rest of the information on that page regarding Alerts and the various options available with them. 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: