I would like to introduce you decision point boxes study. The idea is the same as the pivots looking left and right some count of candles that has to be either up or down candle the only difference from pivots is that I'm only looking for consecutive up or down candle and in between them one candle that is oposite stance than surounding also candle has to have by default 50% or greater of wicks than body which mean market has done some decission at this candle.
Example of up candles and decision down candle:
Example of down candles a decision up candle:
Hope you will enjoy it
Release Notes
added option to extend boxes only those which are untouched by price action
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 publication is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.