I have been trying to create a paintbar study that only paints one bar if the conditions are met, otherwise the bars would print as typical candles. When I use PreMain: setColorPriceBars(true); then all the bars not meeting my condition get painted some neutral color. If I use setPriceBarColor(UpColor); without the PreMain function mentioned above then nothing happens. SetBarFgColor doesn't seem to do it either. Is there any way to just paint ONE bar without having to paint every bar?
PaintBar test.efs
PaintBar test.efs