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...