Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 13:59:34 +0000



Post From: Color Bar based on closing price above/below sub graph

[2020-08-22 11:23:56]
User238343 - Posts: 20
how do i write color bar condition for bar close above/below : ID1.SG2 & ID1.SG3 (HORIZONTAL PARALLEL LINES)

price closes above SG2 -color green. it will stay so until bar closes below SG3. (after closing above SG2, if any bar closes between SG2 and SG3, still color green) color changes to red only when first bar that closes below SG3. it stays red until next bar that closes above SG2.