Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 13:54:26 +0000



Post From: Color Bar Based On Alert Condition Question

[2014-05-07 20:57:16]
infpz - Posts: 826
Please see the attached image. There is a Difference - Single Line study being displayed on this ES chart as the main price graph. There is a MACD below which is based on the Difference study. The MACD is ID3.

What I want: The line is colored pink when the MACD (ID3.SG1) is below its signal line (ID3.SG2) and above the zero line (ID3.SG4) OR when the MACD (ID3.SG1) is above its signal line (ID3.SG2) and below the zero line (ID3.SG4).

Here is the forumla I am using:

=OR(AND(ID3.SG1<ID3.SG2,ID3.SG1>ID3.SG4), AND(ID3.SG1>ID3.SG2,ID3.SG1<ID3.SG4))

You'll notice the image has little pink blocks on it, like points. So, I think my code is working, but how do I make it so the line is actually colored pink, rather that just the pink blocks?
image1234.png / V - Attached On 2014-05-07 20:52:19 UTC - Size: 22.99 KB - 401 views