PROTECTED SOURCE SCRIPT

Reddington Regime Panel + Playbook

45
Reddington Regime Panel + Playbook

On-chart market regime panel and strategy playbook for use with ReddingtonBotAdaptive Signal.
Shows the current regime (Trend / Correction / Range), key metrics (TF, ADX, +DI/−DI, BB Width, RSI), directional bias, and a Playbook with live recommendations for the ReddingtonBotAdaptive Signal strategies ST / MACD / BB / SC / CT:

✅ Use

⚠ Use with caution / extra condition

❌ Avoid

This script is a context filter. Pair it with ReddingtonBotAdaptive Signal to decide when its entries are most appropriate.

What it does

Classifies the market on your chosen timeframe into:
TREND UP / TREND DOWN / CORRECTION UP / CORRECTION DOWN / RANGE.

Guides strategy selection for ReddingtonBotAdaptive Signal via a compact on-chart table.

Multi-timeframe & multi-asset: works on any symbol and exchange; calculations are performed on the selected timeframe via request.security.

Clean UI: table only (top-right). No lines, no shapes, no price-scale impact.

How it works (logic)

Uses standard, transparent components:

EMA(20) / EMA(34) — directional structure and mean.

DMI/ADX(14) — trend strength and side dominance (+DI vs −DI).

Bollinger Band Width(20) — volatility compression/expansion.

ATR(14) — normalizes EMA “confluence/flatness”.

RSI(14) — “healthy pullback” bands in corrections.

Regime definitions (summary):

TREND UP/DOWN — ADX ≥ trend threshold, +DI/−DI confirm direction, EMA20/34 aligned, not in heavy squeeze.

CORRECTION UP/DOWN — price between EMA20 and EMA34 within a trend, ADX between range/trend thresholds, RSI in pullback band.

RANGE — ADX ≤ range threshold and/or EMAs “confluent” (flat) with low BB Width.

Playbook mapping for ReddingtonBotAdaptive Signal

The panel renders a line like: ST ✅ MACD ✅ BB ⚠ SC ✅ CT ❌

TREND UP / TREND DOWN

ST ✅, MACD ✅, SC ✅, BB ⚠, CT ❌
Trade with trend. For BB, prefer confirmed expansion (BB Width ↑ & ADX ↑).

CORRECTION UP / CORRECTION DOWN

ST ✅, SC ✅, MACD ⚠, BB ⚠, CT ❌
Wait for impulse resumption (ADX uptick / BBW expansion) after EMA20/VWAP retest.

RANGE

SC ✅, CT ⚠, ST ❌, MACD ❌, BB ❌/⚠
Mean-reversion/scalps inside the corridor; BB only if early expansion emerges.

✅/⚠/❌ are heuristics. Tune thresholds per asset/timeframe if needed.

Inputs (essentials)

Regime timeframe — empty = use chart TF.

ADX Trend/Range Thresholds — default 25 / 20.

EMA Fast/Slow — 20 / 34.

BB Width Length — 20.

ATR Length — 14.

EMA confluence vs ATR (×ATR) — flatness sensitivity (default 0.20).

BBW squeeze factor (vs BBW SMA) — compression sensitivity (default 0.90).

Correction RSI bands — pullback zones for up/down trends.

Show Playbook — toggle recommendations row.

How to use with ReddingtonBotAdaptive Signal

Filter first, then act: take Adaptive entries only when the Playbook shows ✅ for that strategy in the current regime.

Confirm at bar close on the regime timeframe to avoid MTF “in-bar” fluctuations.

Best practice:

Trading TF: 5–15m

Regime filter TF: 15m–1h

Raise ADX Trend to 28–30 on noisy assets; set BBW squeeze to 1.0 on volatile alts.

Notes & limitations

This is an analytical tool, not an entry/exit system.

No alerts by design (panel only). You can add alerts in your entry script.

MTF values update until the higher-TF bar closes; for strict discipline, use confirmed bars.

Disclaimer

This script is for educational purposes only and is not financial advice. Trading involves risk, including the loss of capital. Past performance does not guarantee future results. By using this script, you acknowledge that you are solely responsible for your trading decisions.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.