Small candle indicatorI've modified the original script by Wiscodish to show any candle that's smaller than the median of the previous 10 as green. As soon as it crosses the median point it'll change colour to gray.
I've also added a horizontal line where the median is so you can see how close the candle is to becoming large.