Hi could someone help me plot labels for the following on the 1 hour and 4 hour chart to use on the daily chart and have the labels be red for the high and green for the low and gray for neither. I can do the math but not the coding. Thanks in advance for the help.
= high > high[1] and close < low + (high-low)*0.5;
= low < low[1] and close > low + (high-low)*0.5;
= high > high[1] and close < low + (high-low)*0.5;
= low < low[1] and close > low + (high-low)*0.5;