i use bgcolor and it draw with not right offset, not in correspondence with the bar. Please make a simple try as bgcolor(close > [value] ? [color1] : [
bgcolor
bgcolor(close > [value] ? [color1] : [