Toby Crabel's narrow range with historical volatility

1. Find bar with the smallest narrow range for a chosen period. Use hvol for filter.
2. Place stop-order for long position at previous high and stop-order for short at previous low to catch breakout in any direction.
3. Take profit on the next bar.

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.