Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 05:02:27 +0000



[Programming Help] - color background based on condition

View Count: 707

[2018-03-06 17:17:09]
ctcamb007 - Posts: 5
Hello folks. I have been looking into this for hours but couldn't find an answer. I am trying to achieve the following:

if price on the hourly chart (same chart) is higher than the previous bar high, color background green
if price on the hourly chart (same chart) is lower than the previous bar low, color background red
if price is inside the hourly range of previous bar (same chart), color background yellow.

Thank you in advance.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account