This indicator helps identify 3-bar and 4-bar plays, which are price action patterns consisting of a wide ranging bar that breaks above or below resistance or support, followed by one or two collecting/consolidating bars, then a continuation bar in the direction of the new trend. The 3 and 4-bar play is taught by Jared Wesley and Anmol Singh at Live Traders.
The indicator works by looking for a wide ranging bar breaking out of an offset donchian channel, followed by one or two consolidating bars, then a continuation in the direction of the move. The script will place a label on the chart when it spots the pattern and alerts can be set up. Enjoy!