Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 06:00:00 +0000



Post From: Color Bar Alert

[2017-05-20 19:18:10]
User104854 - Posts: 441
Hey Tom,

Hope all is well.

2 things. One, thank you for sending me to Onn for my custom indicator. He helped me out and it's worked out great.

Second, you helped me earlier on this thread when I was designing a color bar and I wanted one of the previous 3 bars to be a specific color bar that I already had. I'm having trouble adding a condition. I want the low of my current bar to be higher than or equal to any of the lows of the 3 bars that happen to be one of these specific color bars.

Previously you had me use:

=AND(OR(ID1.SG1[-1]>0,ID1.SG1[-2]>0,ID1.SG1[-3]>0),yourotherconditions)

which worked out great to identify if one of the previous 3 bars was one of these. I tried OR(ID1.SG1[-1]<L, ID1.SG1[-2]<L, ID1.SG1[-3]<L). I have the value of these bars that I refer to at -1 from the low so I would think this would work but it isn't. Can you help?

Thanks again.

John