PROTECTED SOURCE SCRIPT
[ACR+]EXPANSION DETECTION

[ACR+] Expansion Detection is a price-action tool that spots true momentum expansions, distinguishes high-quality displacements (CISD), and flags wick-driven reversals—all in the context of internal market structure. It keeps your chart clean: only the trade-relevant signals are plotted; structure lines/labels are computed under the hood.
Signals on the chart
Expansion (non-CISD)
Bullish: ▲ triangle below bar (green)
Bearish: ▼ triangle above bar (red)
CISD (Change In State of Delivery) — expansion with displacement & quality filters
Bullish: ◆ diamond below bar (lime)
Bearish: ◆ diamond above bar (orange)
Reversal (wick-dominant + optional engulf)
Bullish: ● circle below bar (teal)
Bearish: ● circle above bar (purple)
The script automatically prefers CISD: if a bar qualifies as CISD, only the CISD mark is shown (not the plain Expansion).
How it works (under the hood)
Body vs Wick engine
Expansion when body dominates wick (Body/Wick > kBW) and body exceeds its average (Body > kBodyAvg × SMA(Body)).
Reversal when one wick is decisively larger than the body (pin-bar style) with optional engulf confirmation.
Structure context (internal)
Builds short/intermediate/long-term swings internally and checks BOS (Break of Structure) and liquidity sweeps around the latest IT levels for higher signal quality.
CISD filter
Expansion + displacement vs ATR (min body vs ATR)
Optional FVG (3-bar gap) confirmation
Optional BOS confirmation in the same direction
Optional previous Inside Bar requirement
Signals on the chart
Expansion (non-CISD)
Bullish: ▲ triangle below bar (green)
Bearish: ▼ triangle above bar (red)
CISD (Change In State of Delivery) — expansion with displacement & quality filters
Bullish: ◆ diamond below bar (lime)
Bearish: ◆ diamond above bar (orange)
Reversal (wick-dominant + optional engulf)
Bullish: ● circle below bar (teal)
Bearish: ● circle above bar (purple)
The script automatically prefers CISD: if a bar qualifies as CISD, only the CISD mark is shown (not the plain Expansion).
How it works (under the hood)
Body vs Wick engine
Expansion when body dominates wick (Body/Wick > kBW) and body exceeds its average (Body > kBodyAvg × SMA(Body)).
Reversal when one wick is decisively larger than the body (pin-bar style) with optional engulf confirmation.
Structure context (internal)
Builds short/intermediate/long-term swings internally and checks BOS (Break of Structure) and liquidity sweeps around the latest IT levels for higher signal quality.
CISD filter
Expansion + displacement vs ATR (min body vs ATR)
Optional FVG (3-bar gap) confirmation
Optional BOS confirmation in the same direction
Optional previous Inside Bar requirement
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
The House of Profitable Traders
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Możesz jednak używać go swobodnie i bez żadnych ograniczeń – więcej informacji tutaj.
The House of Profitable Traders
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.