Outsize Bar Range greater than 2 standard deviations

Hi Optuma

I’d like to scan for big range daily bars, which would be eg a minimum 2 standard deviations greater than the average daily range (high - low) of last 21 days. Not really sure where to start for this one. Can you help please.