INVITE-ONLY SCRIPT

AG Pro Dynamic Channels Elite

25
# AG Pro Dynamic Channels Elite (AGPDC Elite)

AG Pro Dynamic Channels Elite is a pivot-driven dynamic channel framework for traders who want a clean, institutional chart layout: adaptive trend channels, structured breakout/reaction alerts, optional future projection, auto de-cluttering, and an Elite-grade Channel Quality Score (0–100) that can be displayed on labels and injected into webhook JSON alerts.

IMPORTANT (risk disclosure): This indicator is for analysis and alerting only. It does not provide financial advice, does not guarantee results, and should not be used as a standalone decision engine. Past behavior and historical drawings do not imply isk management and confirm with your own process.

---

## What you get (at a glance)

### Dynamic channel families (8 total)
AGPDC Elite classifies channels into Major/Minor and External/Internal, and each channel can be Up or Down (so 4 × 2 = 8 families). In the UI, visibility is controlled with four master toggles: Major External, Major Internal,l.

### Premium visual system
- Theme engine: Institutional (default), Neon, Monochrome
- Uode (none/both/right/left), “Replace Prev” to keep the chart clean, and separate width/style for Major vs Minor
- Fill modes: Off / Classic / Gradient (Mrd projection: optional dashed projections for active channels

### CharDe-Clutter (Hide Overlaps): hides lower-priority overlapping channels to keep Affects Alerts: if enabled, channels hidden by de-clutter will not fire alerts (prevents “invisible alerts”).

### Elite: Channel Quality Score (Q-score)
A per-channel 0–100 quality score that can:
- show on labels (e.g., Q82)
- be included in alertsic field q
- filter alerts by a minimum quality threshold

### Alerting: breakouts + reactions (semantic, repeatable)
Each channel family supports:
- Breakout events (channel invalidation via close beyond the base line)
- Reaction events (e rejects back to the valid side)

Alerts can be delivered as:
- Text (human-readable)
- JSON (single-line webhook payload, machine-ready)

---

## Conceptual model: what “dynamic channels” means here

AGPDC Elite builds channels from confirmed swing poookback/confirmation window and then “connects the structure” into channel rails. Because pivots are confirmed onlwindow, the most recent swing can still be forming until confirmed.

That is intentional: the script prioritizes structural channels (confirmed swings), not micro-noise.

### The Base line (core concept)
For alert semantics and for “validity,” the Base line is treated as the structural rail:
- For Up channels, a close below Base is considered bearish invalidation a close above Base is considered bullish invalidation (breakout).

### Reaction vs Breakout (deterministic alerts)
AGPDC Elite defines reactions using “pierce + reject” mechanics:
- Up channel reaction: wick pierces below Base, then close returns above Base.
- Down channel reaction: wick pierces above Base, then close returns below Base.

If you want only confirmed signals, use bar-close alerts (recommended).

---

##

### Start with clean defaults
1) Add AGPDC Elite to the chart.
2) Leave Theme = Institutional for the intended premium palette.
3) Enable only the families you need:
- Swing traders: Major External + Major Internal
- Intraday/scalpers: consider enabling Minor familie Step 2 — Tune the Pivot Engine (structure sensitivity)
Pivot Lookback Period controls how
- Lower values → more sensitive, more pivots, more channels (and more noise)
- Higher values → fewer, higher-quality pivots and cleaner channels

Max Scan Bars is a performance/stability computations
- Higher → more accurate channel width scanning (but heavier)

### Use De-Clutter for professional chart density
If your chart is too busy:
- Keep Auto De-Clutter (Hide Overlaps) = ON
- Increase Thr (ATR) to hide more overlaps

If you rely on alerts only:
- Keep De-Clutter Affects Alerts = ON so hidden channels won’t trigger.

---

## Channel Quality Score (Elite)

### What Q-score is
Q-score is designed to quickly answer: “Is ?”
It computes a 0–100 quality score using factors such as:
- touch frequency and recency
- channel age
- channel width vs ATR
- slope behavior
- base-linQ-score in practice
- Show it on labels: Channel Labels = ON and “Label” enabled under Q-score.
- Filter alerts by quality: set Min Q for Alerts above 0 (e.g., 60–75 for stricter filterle “Alerts” under Q-score so the field q is included in payloads.

---

## Alerts: philosophy + controlAGPDC Elite does not emit vague alerts like “price touched channel.” Instead, it uses consistent definitions:

Breakout (channel invalidation)
- Up channel: close breaks below Base (bearish)
- Down channel: close breaks above Base (bullish)

Reaction (base rejection)
- Wick pierces Base, then close rejects bnable breakout/reaction alerts per family: Major/Minor × External/Internal × Up/Down.

### Alert quality controls (noise vs c: All / Once Per Bar / Once Per Bar Close (recommended)
- Confirm Mode: Auto / Intrabar / Close (Auto for: Off / ATR / Ticks (reduces wick-spam)
- Cooldown (bars): blocks repeated alerts from the same family for N amps can be formatted in a chosen IANA timezone.

---

## Webhook JSON payload (single-line)

Set Payload Mode = JSON to output a one-line webhook body.

### JSON schema (fields)
The JSON payload includes (among others):
- app (alert name)
- symbol (tickerid)
- tf (timeframe)
- time, tz
- dir (LONG/SHORT)
- event (BREAKOUT/REACTION code)
- channel (optional)
- q (optional)
- detail, message
- OHLC: o, h, l, c
- optional levetal (null if unavailable)

### Example JSON payload (representative)
{"app":"Aymbol":"BINANCE:BTCUSDT","tf":"1h","time":"2026-02-12 18:45:00","tz":"Europe/Istanbul","dir":"LONG","event":"REACTION","event_code":"nal Up","q":82,"detail":"Basic","message":"Base rejection (wick below, "h":48400.0,"l":48120.0,"c":48390.0,"entry":null,"tp":null,"slnull}

Note: The script outputs null for levels that are not applicable/availablbility notes

AGPDC Elite is designed to be premium-clean by default, but your chart/symbol/timeframe cant.

To keep performance stable:
- Prefer Major families first; enable Minor families only if you truly need these overlap threshold if the chart gets dense.
- Keep Max Scan Bars reasonable for your timeframe/symbol (higher = heavier).

---

## Limitations & transparency

- Pivot confirmation: pivots (and therefore channel anchors) are based on a confirmation window. The most recent swing can update until confirmed.
- Alerts depend on chart feed: OHLC and wick behavior can differ slightly across brokers/exchanges, which may change borderline triggers. indicator and alert tool; it does not execute trades.

---

## Quick-start presets (first run)

### Preset A — Clean swing structure (recommended)
- Show: Major External + Major Internal
- Projection: ON (50 bars)
- De-Clutter: ON, Thr (ATR) 0.35–0.60
- Alerts: Once Per Bar Close, Buffer = ATR 0.25, Cooldown 8

### Preset B — Intraday structure + more signals
- Show: Major + Minor families
- De-Clutter: ON, increase Thr (ATR) as needed
- Q-score: Min Q for Alerts 50–70
- Alerts: Once Per Bar or Close (avoid “All” unless you understand intrabar noise)

---

## Version notes
Tm UX features (theme system, projection, de-clutter), plus Channel Quality Score support (labels + alert/webhook field q).

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.