Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 04:42:23 +0000



How to color background between 2 EMA's crossover area

View Count: 3048

[2016-12-27 18:01:32]
User396743 - Posts: 3
Hi,
I have 2 different period EMA's (say 5 and 12 period) charted on the graph. I want to have Sierra color the background ares of their crossover so that when EMA5 crosses below EMA12, the area bound by those 2 EMAs is colored yellow (undercross) while when EMA5 crosses over EMA12, the background area on the chart bound by those 2 EMA's is colored blue.

I don't want the SC to paint the bar any color or to have thick vertical line run through the bar that crosses. I specifically need only background area between the 2 EMA's to be colored.
Please see either the image in the link or the attachment for visual representation of what I'm trying to achieve (areas shaded in yellow and red in the pictures):
http://www.forexfactory.com/attachment.php?attachmentid=452837&d=1270641454
I have found a way to paint the bar upon crossover or the make a vertical thick line but not how to color the background within the crossover of the 2 EMA's.
Can you please tell me either if there is an existing study that could accomplish it (I have found EMA crossover study but I fail to see how it can do what I need) or suggest the code to paste into code editor/spreadsheet creator to do it?
Your help will be much appreciated.
imageEMA Crossover color background between EMA.jpg / V - Attached On 2016-12-27 17:58:25 UTC - Size: 184.63 KB - 516 views
[2016-12-27 19:06:00]
Sierra Chart Engineering - Posts: 104368
Here is the documentation for how to do this:
http://www.sierrachart.com/index.php?page=doc/ChartStudies.html#FillingArea
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
[2016-12-29 09:11:53]
User84094 - Posts: 43
You have already bulit in study for that FlexMA
[2016-12-29 15:11:10]
User630996 - Posts: 25
Where exactly is this "FlexMA"?
[2016-12-29 18:25:16]
Sierra Chart Engineering - Posts: 104368
We do not know what the user is referring to.
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
[2016-12-30 12:26:16]
User84094 - Posts: 43
User Contributed Studies
Flexible MAs
image1.png / V - Attached On 2016-12-30 12:26:02 UTC - Size: 158.63 KB - 497 views

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

Login

Login Page - Create Account