Login Page - Create Account

Support Board


Date/Time: Mon, 30 Dec 2024 18:08:29 +0000



[User Discussion] - Moving Average Crossover Study Indicator?

View Count: 2935

[2015-04-09 01:36:51]
User20200 - Posts: 38
Hello,

I want to have 2 Moving Averages (Tenken-Sen & Kijun-Sen) when they cross each other to plot Green or Red Bars or Background color in the Study Sub-graph Section below chart (my own study indicator) instead of having my price bars those colors?

Not sure if there is a specific study overlay or custom alert in Studies and if I will need a Formula to put in alert tab?

Your the best,

Team One

http://www.sierrachart.com/image.php?l=1428506659800.png

[2015-04-09 04:41:31]
Sawtooth - Posts: 4144
You would need 2 instances of the Color Bar Based On Alert Condition study, one for each color. Set both to the same Chart Region, and the Draw Style to Background.

One with this formula:
=ID1.SG1>ID2.SG1

and the other with this formula:
=ID1.SG1<ID2.SG1

where ID1 and ID2 are the MAs
[2015-04-09 08:59:23]
User20200 - Posts: 38
Your right!

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

Login

Login Page - Create Account