Login Page - Create Account

Support Board


Date/Time: Sun, 29 Dec 2024 16:55:22 +0000



color moving average based on alert condition?

View Count: 1647

[2016-01-30 00:31:00]
User380760 - Posts: 88
How to color moving average based on alert condition?
I tried "color bar", doesn't seem to apply to the moving average. Thanks.
[2016-01-31 19:18:23]
User380760 - Posts: 88
up
[2016-01-31 21:20:39]
Sawtooth - Posts: 4143
Try this:
-Set the Based On to the MA study
-Set the Output When Condition True to Use Input Data
-Set the Input Data to Avg
[2016-01-31 21:39:30]
User380760 - Posts: 88
the price bar color changed, but not the color of moving average. Can I custom the color of moving average based on alert condition?
[2016-01-31 23:01:52]
Sawtooth - Posts: 4143
You also must change the Draw Style to Line, or Line - SkipZeros.

There are other caveats when coloring a line from a formula, the solutions to which depend on specifically what you are doing.

For an example solution to a certain line coloring issue, see this:
http://www.sawtoothtrade.com/free-stuff-13.html
[2016-01-31 23:43:46]
User380760 - Posts: 88
It works! Thank you very much, tomgilb. You have been very helpful to all of us.
[2016-02-01 02:05:57]
Sierra Chart Engineering - Posts: 104368
Step-by-step procedures for how to do this have always been documented here:
https://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s245
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