Hello, I'm trying to make a chart study to highlight three candles that have higher lows within 3 bars.
plot x =(low[3]<low[2] and low[2]<low[1]) within 3 bars;
AssignPriceColor(if x is true then Color.violet else Color.current);
It's showing random sequences instead of the simple pattern I'm trying to see. I've looked through the site for similar help, but a lot of them involved lines and labels that I don't need and can't modify to get what I want.
Any help would be greatly appreciated!
Thanks!
plot x =(low[3]<low[2] and low[2]<low[1]) within 3 bars;
AssignPriceColor(if x is true then Color.violet else Color.current);
It's showing random sequences instead of the simple pattern I'm trying to see. I've looked through the site for similar help, but a lot of them involved lines and labels that I don't need and can't modify to get what I want.
Any help would be greatly appreciated!
Thanks!
Last edited: