Login Page - Create Account

Support Board


Date/Time: Sat, 15 Mar 2025 23:02:31 +0000



Moving average line color change question

View Count: 1002

[2022-07-22 17:54:04]
User811622 - Posts: 38
Is there away to change color of moving averages such as EMA, SMA, etc. When prices fall below moving average, I'd like change color of moving average line to red, and if price is above moving average, I'd like to change color of moving average line to green. Thanks
[2022-07-22 18:38:01]
John - SC Support - Posts: 38678
You would need to use the Color Bar Based on Alert Condition study to do this. Refer to this particular section of the documentation for the study:
Color Bar Based on Alert Condition: Coloring Subgraphs of Other Studies
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-07-24 00:01:36]
User584084 - Posts: 268
In the Moving Average Subgraphs tab, I set the Auto-Coloring to "Based on Slope". Then I pick the 2 colors I want to use.
[2022-07-24 01:19:18]
Sierra Chart Engineering - Posts: 104368
Here is the documentation for auto coloring:
Chart Studies: Subgraphs Tab >> Auto Coloring
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

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

Login

Login Page - Create Account