PROTECTED SOURCE SCRIPT

Intelligent Oscillation Box

30
Indicator Name: Smart Consolidation Box

Purpose: Automatically draws "consolidation boxes" and identifies breakout directions.

Core Logic:

Find Consolidation: If the price fluctuates very little over a recent period (below a set threshold), it is identified as consolidation, and a blue box is drawn.

Monitor Breakout: When the price moves outside the box, the color does not change immediately.

Filter False Breakouts: A breakout is only confirmed as genuine if the price remains outside the box for several consecutive bars.

Bullish Breakout (Up): Box turns Green.

Bearish Breakout (Down): Box turns Red.

Box Expansion: During the blue consolidation phase, if the price makes a new high/low while the overall range remains tight, the box automatically expands to include it.

One-Sentence Summary: It automatically draws the market's "consolidation ranges" for you and provides a clear color-coded signal when the range is effectively broken.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.