Jamie
You are missing an open parenthesis in var Condition1 = (highest...etc. See the original example in this thread
Also setDefaultBarFgColor() should be setBarFgColor(). However you are not returning anything in your script so I am not sure what plot you are trying to color.
Alex
Jamie
You need to use setPriceBarColor(your color). Then in preMain you will also need to add setColorPriceBars(true) and define a default color for the price bars with setDefaultPriceBarColor(your color)
Alex
Comment