Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 04:29:42 +0000



Coloring bars...

View Count: 2081

[2018-06-23 00:25:09]
User629089 - Posts: 93
Hi,

Is it possible to color a sequence of candlesticks (or whatever type of bar) the same color over a period of time and a different color after. For example, daily bars, one color for a week and then another color for the next week and a different color for the next week and so on.

Thanks...
[2018-06-24 07:19:21]
Sierra Chart Engineering - Posts: 104368
Yes this can be done by using the Color Bar Based on Alert Condition study. You will need multiple instances of it, one for each color.

And you would need to work with the Bar Date Time identifier:
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-06-24 07:19:43
[2018-06-29 19:58:23]
nioko54130 - Posts: 108
Hi dear support!

is it possible to add an "alerts counter" in this studies ? (color bar based on alert condition)
as you have already done for the "volume at price alert V2" ?

thank's
[2018-07-03 14:37:54]
nioko54130 - Posts: 108
any update please?

thank's
[2018-07-21 10:36:08]
nioko54130 - Posts: 108
Hi dear Support!
Any news on this topic ?

It would be great to get this features (alerts counter) as a new subgraph, in order to be able to count the number
of the differents alert which are coming all day long.

For the scalping, i'm sur it could be interesting :)

Thank's in advance

Nico
[2018-07-25 15:58:49]
John - SC Support - Posts: 31159
We will look into adding a counter to the Color Bar Based on Alert Condition study when we have some time. We are very busy right now, so we will not be able to even look into this for a few weeks.
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: 2018-07-25 18:40:05
[2018-07-25 17:42:21]
Sawtooth - Posts: 3976
You can color price bars that alternate their color each week using two instances of the Color Bar Based On Alert Condition study.
Use this formula for one color:
=EVEN(WEEKNUM(BARDATE))=WEEKNUM(BARDATE)
and this formula for the other color:
=ODD(WEEKNUM(BARDATE))=WEEKNUM(BARDATE)

To use more than two colors, you'll need to use the Spreadsheet Study study which would allow up to 60 weeks/colors in one study.

Add the Spreadsheet Study study and give it a name in the Spreadsheet Name field.
Set the Number of Formula Columns to your needs (16-60).

Put this formula in cell K1:
=WEEKNUM(A3)
Put this formula in K3:
=WEEKNUM(A3)=$K$1
Put this formula in L3:
=WEEKNUM(A3)=$K$1-1
Put this formula in M3:
=WEEKNUM(A3)=$K$1-2

Continue with columns to the right, decrementing the referenced week number for each additional column.
For each subgraph on the Subgraphs tab, set the Draw Style to Color Bar and choose each color.
[2018-07-30 18:47:50]
nioko54130 - Posts: 108
thank's John! it should be very nice!
[2018-08-16 21:45:20]
John - SC Support - Posts: 31159
We have added a new Subgraph to the Color Bar Based on Alert Condition named Sum of Alerts. This contains the sum of the alerts up to the bar that is being displayed. This will be in the next release - 1789.

When available, you can download this release by following the instructions here:
Software Download: Fast Update
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-08-17 06:46:58]
nioko54130 - Posts: 108
Thank's a lot John for this work!
It will be very very usefull for me and my team ;)

thank's

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

Login

Login Page - Create Account