Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 12:01:43 +0000



Post From: Color bar based on alert condition syntax error

[2024-04-25 19:02:04]
rshimmin - Posts: 42
I am trying to color bar based on the alert condition of 4 bars being inside the range of the previous bar. I keep getting a syntax error with the following:

(h<h[-5],h[-4]<h[-5],h[-3]<h[-5],h[-2]<h[-5],h[-1]<h[-5],
l>l[-5],l[-4]>l[-5],l[-3]>l[-5],l[-2]>l[-5],l[-1]>l[-5]
)

Why is this?

Thanks