Support Board
Date/Time: Sun, 28 Apr 2024 21:11:21 +0000
Highlighting bars based on moving average
View Count: 627
[2020-03-19 17:32:04] |
User525965 - Posts: 153 |
Hi, Is there a way i can highlight bars green or red using a simple moving average cross? Ex. if 8 period close > 8 period open = green bar 8 period close < 8 period open = red bar. Thanks! |
[2020-03-20 03:53:02] |
Sierra Chart Engineering - Posts: 104368 |
Yes, this can definitely be done using the Color Bar Based on Alert Condition study. Refer to the information here: Color Bar Based on Alert Condition Also, refer to the information for how to create alerts here: Study/Chart Alerts And Scanning 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 |
[2020-03-26 17:38:31] |
User525965 - Posts: 153 |
Thank you. I was able to get the bar colored based on the 8 period moving average open vs. close using this: =ID2.sg1 < ID9.sg1 I am also wanting to add to this a condition where the Close of the bar is less than the open. C < O How do i combine them together? When I put "and"between them nothing happens. =(ID2.sg1 < ID9.sg1) and C < O |
[2020-03-26 19:05:12] |
John - SC Support - Posts: 31159 |
Refer to the information here: Study/Chart Alerts And Scanning: OR and AND Functions For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2020-03-26 20:09:22] |
User525965 - Posts: 153 |
I saved these studies as a collection. But i dont see how i can add them to another chart. Is there any easy way to just add the collection of studies to a new chart?
|
To post a message in this thread, you need to log in with your Sierra Chart account: