Consecutive Small CandlesThis script identifies relatively "small" candles based on their being smaller than a maximum size you set based on the instrument and your own criteria. Default is 5, as I use this indicator largely on CL which rarely has candles smaller than 3 ticks but frequently greater than 5.
It identifies 2 or more consecutive candles to help identify patterns similar to Bob Volman's Double Doji Break methodolgy. Written by Grok 3.
Small
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.