Support Board
Date/Time: Sat, 11 Jan 2025 21:00:57 +0000
Post From: How to color background between 2 EMA's crossover area
[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. |
EMA Crossover color background between EMA.jpg / V - Attached On 2016-12-27 17:58:25 UTC - Size: 184.63 KB - 573 views |