Consolidation Zones - Live
Published on MillionChart by ChartMaster.
This script finds consolidation zones in real time and draws them as they form. It looks for the highest and lowest bars inside a lookback period, works out the direction of the move, and uses both to outline a sideways area. Once such an area is at least as long as the minimum length you set, it is displayed as a consolidation zone, and the zone keeps extending to the right for as long as price has not broken out of it.
How it works:
- Highest and lowest bars are located using the Loopback Period.
- The direction between them is calculated.
- Direction plus those extremes define the zone in real time.
- A zone is shown only if its length meets your user-defined minimum.
- The zone extends automatically until a breakout happens.
Settings:
- A larger Loopback Length produces bigger consolidation zones.
- You can choose whether or not to paint the consolidation area.