Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 13:05:22 +0000



Post From: Color coded alert bar

[2018-04-23 04:09:37]
User28682 - Posts: 233
Hi, I would like to have the current bar change colors on the satisfying of these conditions:

previous high [-1] is < high 2 bars ago [-2]
previous low [-1] is > low 2 bars ago [-2]
current bar high is > H[-1]
current bar low is < L[-1]
C < C[-1]

all have to be true.

This is the formula I tried without success so far:

= AND((H[-1]<=H[-2],L[-1]>=L[-2]),(H>H[-1],L<L[-1]),C < C[-1])

Thanks!