Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 17:03:45 +0000



Colour the bar which the alert triggered on

View Count: 1222

[2022-10-17 10:36:59]
User266447 - Posts: 266
Can you help me to color bar based on alert from cumulative delta, please? The set-up for the alert on cumulative delta is:
=AND(ABS(SG2-SG3)>210,ABS(SG2-SG3)<499)

To color the bar, I have added Color Bar Based on Alert, but because my alert based on a range (between 210 to 499 (SG2-SG3)) I am not sure how to set the color bar alert. For instance, Study Subgraph Reference (in 15) should be set to SG.2 or SG3? Could you tell me how to set the alert, please?
[2022-10-17 16:01:36]
John - SC Support - Posts: 37826
If you want the same condition for the Color Bar Based on Alert Condition, then you would use the exact same alert, but you would need to reference the ID of the Cumulative Delta, so you would need to change the SG2 and SG3 to be IDx.SG2 and IDx.SG3 where x is the ID of the Cumulative Delta study.

You do not need to use the Study Subgraph Reference for the Color Bar Based on Alert Condition. That is just for what to use as output. If you are just coloring the bar, then you would leave the Inputs as their defaults and just add the Alert condition.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-17 16:52:03]
User266447 - Posts: 266
Shall I put two Color Bar based indicators and in one put IDxSG2 and in the second IDxSG3? I do not see a place to put both of them in the one Color bar based indicator? Or shall I make this changes in cumulative delta indicator?

For instance, if I need to make this changes on Color bar based...then in the: Output When Condition True (in 4) I put: Use Input Data.
Then I go to Input and use what?
Then I go to Study Subgraph Reference (In. 15) and then on the left small window (bottom left I put Cumulative Delta Bars- Volume) and on the right: High (SG2)? But I should put IGx.SG2?

Or this SG2 should be change in the alert condition: =AND(ABS(IGxSG2-IGxSG3)>210,ABS(IGxSG2-IGxSG3)>499)
[2022-10-17 22:51:50]
John - SC Support - Posts: 37826
the way you have your original condition is fine if you are wanting to test when it is within the range between 210 and 499. Therefore, you would just use the exact same condition with the addition of the IDx before the SG2 and SG3, and this would be in a single Color Bar Based on Alert Condition study.

If you just want to color the bar and not do anything else "fancy", then just leave all the Inputs at their defaults.

If needed, refer to the documentation for this study here:
Color Bar Based on Alert Condition
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-18 11:50:30]
User266447 - Posts: 266
Could you attach a print screen, please? I have the alert coming from cumulatice delta indicator, now I want only to color the cumulative delta bar the alert triggered. You are saying about changing SG into IGxSG2 - where shall I change it? A print screen will be helpful.
[2022-10-18 15:59:22]
John - SC Support - Posts: 37826
If the Cumulative Delta Bars study ID is 3, for example, then the alert condition that you enter on the Color Bar Based On Alert Condition study would be the following:
=AND(ABS(ID3.SG2-ID3.SG3)>210,ABS(ID3.SG2-ID3.SG3)<499)

Refer to the following for how to reference other studies within an Alert:
Study/Chart Alerts And Scanning: Referencing Other Studies on the Chart

With regards to the Color Bar Based On Alert Condition study, if you are wanting to color the Cumulative Delta study bars, then you will need to change the Region to be the same as the Cumulative Delta and also set the Based On to be the Cumulative Delta study. The other Inputs would stay as their defaults.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-18 16:57:08]
User266447 - Posts: 266
I am sorry for asking: are you sure the second part of the alert condition is correct? ABS(ID3.SG2-ID3.SG3)<499) the ID3 should be before SG3 in the second part?
[2022-10-18 20:47:35]
John - SC Support - Posts: 37826
The IDx defines the ID of the study for which the subgraph is from. Refer to the following:
Study/Chart Alerts And Scanning: Referencing Other Studies on the Chart
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-19 08:50:00]
User266447 - Posts: 266
Shall we start from the beginning with slightly easier stuff? (I got lost entirely)

I would like to have color bar on Volume, Relative Volume and Cumulative delta bars. Starting from Volume, when the alert conditions are: V>120

How can I color the bar on volume?
[2022-10-19 12:17:46]
User266447 - Posts: 266
And the second option I would consider is to put an arrow above the bar (on volume, relative volume and cumulative delta) which triggered the alert.
[2022-10-19 17:07:13]
John - SC Support - Posts: 37826
Use the Color Bar Based on Alert Condition study and enter the following in the Alert section on the Alert tab:
=V > 120

Leave everything else at their defaults. When the volume is greater than 120 for a bar, it will turn pink (the color is defined in the Subgraph under the Subgraph tab). Refer to the following regarding the color:
Chart Studies: Subgraphs Tab >> Color

In terms of displaying an arrow above a bar refer to the following:
Color Bar Based on Alert Condition: Drawing Arrows/Text or Other Styles at the High or Low of Bars
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-10-19 17:07:28
[2022-10-20 11:19:28]
User266447 - Posts: 266
On my chart I have cumulative delta indicator, relative volume and volume indicator, so I placed three Color Based on Alert Condition indicators. Is that correct? And in each of them I wrote different alert conditions. However only Color bar basedon alert condition based on volume gives me an arrow on the chart. Other does not give anything...
[2022-10-20 13:18:11]
User266447 - Posts: 266
The post above was about a lower time frame. I have done the set-up on Point and Figure as well, but nothing is coming up, at all. What I wrote in my prevoius message, I had at least one arrow based on volume chart, but on point and figure I got nothing.

Either way I would prefer to have arrows/dimonts etc. from volume, cumulative volume and cumulative delta. Better if the arrowds comes on the indicator rather than on the main graph. To sum up, low time frame gives arrows on volume and is not giving anything based on cumulative delta or relative volume alert set-up conditions.

Point and figure is not generating any arrows, dimonds end so on, at all. I have attached a few printscreen, of Color Bar Based on Alert Condition for Point and Figure (on volume indicator, alert condition is the same as on Color Bar Based...). If we figure our what I am doing wrong here maybe I can adjust it for cumulative delta and relative volume as well. One more print screen will come in the next short message.
image1_Point_Figure_All_Studies.png / V - Attached On 2022-10-20 13:17:13 UTC - Size: 78.42 KB - 99 views
image2_Point_Figure_Volume_Color_Based....png / V - Attached On 2022-10-20 13:17:21 UTC - Size: 73.56 KB - 97 views
image3_Alert condition_Color Based....png / V - Attached On 2022-10-20 13:17:30 UTC - Size: 53.15 KB - 99 views
[2022-10-20 13:18:39]
User266447 - Posts: 266
one more print-screen with regards to the message above.
image4 Subgraph.png / V - Attached On 2022-10-20 13:18:34 UTC - Size: 73.72 KB - 96 views
[2022-10-20 14:31:49]
John - SC Support - Posts: 37826
Your Alert Condition is V > 8000, but looking at the Volume graph the highest volume is approximately 6000. Therefore, you are not getting any alerts because the condition has not been met.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-20 14:57:13]
User266447 - Posts: 266
This is likely not the case as the volume goes even above 12000. It is the volume from Point and Figure 7-3. It has to be something else... Please help :-)
[2022-10-20 15:10:58]
John - SC Support - Posts: 37826
Everything looks fine. We suggest changing the size of the arrow to a width greater than 2, something more like 8 to begin with to ensure that you are able to see it and that it is not covered up.

If you are still not seeing the arrow, then scroll the chart back to a point where the volume is greater than 8000 and you should have a pink arrow at the high of that bar (in the main price graph, not the Volume graph). If you are not seeing it, then please give us a screenshot of that portion of the chart.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-20 16:05:41]
User266447 - Posts: 266
This is done - I have arrows, a color bar, and so on on the main graph. Can I have this, instead of my candles on the volume bars? If yes, then how?

Secondly, I have these arrows on volume. Nothing else - even if, I have three different Color Bar Based on Alert - the second is for cumulative delta and the third one is for relative volume. Let me send the print screen regarding cumulative delta. What shall I do to have the three Color Bar Based Alert on one chart? - I am receiving alert from volume only.

3 print screens attached regarding cumulative delta alert condition on Color Bar Based on Alert (the same chart which I use for volume)
imageCumulative Delta Color Bar 1.png / V - Attached On 2022-10-20 16:05:20 UTC - Size: 119.74 KB - 99 views
imageCumulative Delta Color Bar 2.png / V - Attached On 2022-10-20 16:05:29 UTC - Size: 96.86 KB - 101 views
imageCumulative Delta Color Bar 3.png / V - Attached On 2022-10-20 16:05:35 UTC - Size: 77.59 KB - 102 views
[2022-10-20 19:18:00]
John - SC Support - Posts: 37826
This is done - I have arrows, a color bar, and so on on the main graph. Can I have this, instead of my candles on the volume bars? If yes, then how?

Set the following:
- Based On: Volume (study)
- Region: same as the region for the Volume graph
- Input Data: Volume
- Output When Condition True: Use Input Data

---------

For the Cumulative Delta, you need to add the ID of the Cumulative Delta study to the alert. When you do not specify the ID then that means to use the Subgraphs of the study on which the alert is entered - in this case, the Color Bar Based On Alert Condition.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-21 15:11:03]
User266447 - Posts: 266
What do you mean by: Region: same as the region for the Volume graph? I cannot find it. I am not sure what and where to look for. Please take a look at print-screen attached. Just in case.
imageRegion_Color_Volume.png / V - Attached On 2022-10-21 14:56:54 UTC - Size: 49.34 KB - 91 views
[2022-10-21 17:59:39]
John - SC Support - Posts: 37826
"Chart Region" on the left side of the window just under Short Name. Refer to the following:
Chart Studies: Settings and Inputs Tab >> Chart Region
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-21 19:06:46]
User266447 - Posts: 266
It does not wor. When I did the set up all my volume bars (on point and figure 7-3) become the same size. Please see attachment.
imageVolume Region.png / V - Attached On 2022-10-21 19:06:32 UTC - Size: 89.77 KB - 90 views
[2022-10-21 19:49:52]
John - SC Support - Posts: 37826
Everything looks good. What is the Subgraph Draw Style set to for the Color Bar?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-26 18:04:08]
User266447 - Posts: 266
I cannot manage to color volume bars, cumulative delta bars or relative volume or volume. I can only color candle sticks (on the main grapth) based on volume. Let`s start from scratch about coloring a cumulative delta bar.

1) I added to Studies to graph:
a) cumulative delta bar and the alert condition set there is: =ABS(SG2-SG3)>60
b) Color based on Alert Condition and the alert condition there is: =ABS(IDx.SG2-IDx.SG3)>60

please not the difference. I tried put both the same but it still does not work.

2) Having the alert condition ( as in b above) My Setting and Inputs on the Color Bar Based (...) is::
a) Based on: Cumulative Delta Bars - Volume
b) Chart Region 4
c) Output When Condition True (in. 4): Use Input Data
d) Input data: Volume
e) Study Subgrapth Reference Value (I tried a few different set-ups here): Color Bar Based on Alert: (SG1) (printscreen attached)

I tried many different set-ups and I am unable to get it right atm.
image1.png / V - Attached On 2022-10-26 18:03:43 UTC - Size: 37.26 KB - 85 views
image1a.png / V - Attached On 2022-10-26 18:03:53 UTC - Size: 42.05 KB - 91 views
[2022-10-26 19:01:52]
User266447 - Posts: 266
A correction to the post above - my alert condition are both the same for cumulative delta and for color bar:

a) cumulative delta bar and the alert condition set there is: =ABS(ID3.SG2-ID3.SG3)>60
b) Color based on Alert Condition and the alert condition there is: =ABS(ID3.SG2-ID3.SG3)>60

I am not sure about d) from above and still how to set the Study Subgrapth Reference - I put: Cumulative delta bars (on the left) and then volume.
Output: Use input Data
Input Data: High...

I have tried volume as well.

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

Login

Login Page - Create Account