50-Minute Compression → Expansion

A plain-English guide. You do not need to know statistics. Read the DO THIS row first — that one line tells you what to do.

blue = coil / READY teal T = entry green = long red = short research playbook · no auto orders

What this tool is trying to find

Imagine a rubber band around price.

  1. 01
    Compression (the coil) — Price gets quiet. The rubber band gets tight. The chart often turns blue.
  2. 02
    Release — Price pushes outside the quiet zone (gold dots). Direction locks: up or down.
  3. 03
    Trigger (T) — Price then clears a clear structure level. That is the entry idea.
  4. 04
    Expansion — The move gets louder (wider). That confirms hold / add — not the first entry.
  5. 05
    Deceleration — The move slows. Time to reduce risk or exit.
This is a research playbook. It tracks one practice trade per cycle with a stop and an “R” score. It does not auto-place real orders.

The only row you must read: DO THIS

The second row of the chart table is labeled DO THIS. It is one plain-English sentence. Obey it first — every other row is supporting detail.

DO THIS says What it means What you do
CLOSED — outside regular hours Engine is off (pre / post market) AVOID — do not trade this tool now
WAIT — warming up (N bars left). No trades yet Too early; today's average is still using yesterday WAIT — no long, no short
WAIT — getting quiet (3/10). Not a full coil yet Bands are shrinking but the coil is not old enough WAIT
READY — wait for close > X (long) or < Y (short) Coil is valid (often blue). X / Y are the gold dots WAIT for a close past X or Y, then for the entry
WATCH — enter on close > X (N bars left) Released. X is the teal line = the close needed to enter WAIT for that close — do not guess
WATCH — enter on pullback to the mean (N bars left) First break ran too far (chase). A pullback entry (T2) is still allowed WAIT for the pullback
GO LONG T @ price · stop S · N sh Long entry just fired (T = first break, T2 = retest) GO LONG (research), stop at S
GO SHORT T @ price · stop S · N sh Short entry just fired GO SHORT (research), stop at S
HOLD the long / the short · stop S · open +0.8R You are in the trade; current stop and open R shown STAY — manage the stop
REDUCE risk · trail stop S Move is slowing; stop now trails the average CUT RISK / prepare to leave
EXIT now (STOP) · result −1.00R — flatten Flat now. Reason in brackets: STOP, MEAN, OPP T, TIME, EOD, IDLE EXIT — you should already be flat
NO ENTRY — ran too far (chase), no retest  /  entry window closed This coil produced no usable entry AVOID — wait for the next coil
STAND ASIDE — move is slowing Deceleration with no trade on AVOID new trades
No setup — stay flat Nothing happening WAIT
Pink T = CHASE — price ran too far from the average at the break. Do not enter. If retest is on, wait for T2 when price comes back closer (DO THIS will say WATCH — enter on pullback to the mean…).
The Settings row must say OK — true 50-minute average. If it says WARNING — average is NOT ~50 minutes (amber), the chart timeframe or mean setting is wrong → AVOID live decisions until fixed.

Simple picture of a good long

  1. 1
    Blue background / READY — coil.
  2. 2
    Price closes above the upper gold dots → RELEASE ↑.
  3. 3
    Teal WATCH line — wait for a close above it → teal T↑ (not pink).
  4. 4
    DO THIS says GO LONG T @ … → go long; stop at the bottom of the coil (shown in the same line).
  5. 5
    Green background while long → HOLD; later REDUCE or EXIT.

A good short is the mirror: release down, T↓, stop at the top of the coil.

Numbers you trade (defaults)

Words like “quiet / loud / slowing” only matter when tied to these cutoffs. If you change a setting, the table and tooltips use your values — not vibes. The Stretch row prints the word and the score and the cutoff, e.g. “bands QUIET (18 ≤ 20) — wait”.

Stretch row says Exact rule (defaults) What you do
bands QUIET (18 ≤ 20) — wait Band-width score ≤ 20 (Compression: BW% ≤) WAIT / READY — coil forming, not an entry
bands mid (35) — wait Score between 20 and 50 WAIT — not coil, not expansion yet
bands EXPANDING (62 ≥ 50) — hold only Score ≥ 50 (Expansion: BW% ≥) After a good entry → HOLD (E flag). Not the first entry by itself.
bands VERY LOUD (96 ≥ 80) — too late Score ≥ 80 (Mature expansion) AVOID new entries — late / stretched. Hold/trail only if already in.
SLOWING (−15 from peak 96) — reduce / exit Score ≤ cycle peak − 15 (Decel drop) REDUCE / EXIT — move is decelerating
Near mean (0.40σ) |Z| < 1σ Fine to enter if DO THIS says so
STRETCHED 1.60σ from mean (chase > 1.00σ) |Z| > 1.0σ at the break AVOID entry — wait for T2 if allowed

The Setup row grades the coil itself:

Setup row says Exact rule (defaults) What you do
Tight coil (shrinking vs 20m ago) · … · 14m in Compressed and raw band width now < 20 minutes ago Best energy — still WAIT for release + entry
Weak coil (quiet, not shrinking) Compressed but band width is not lower than 20m ago Weaker coil — prefer WAIT / be pickier
… mean tilting UP (coiling) · tilt was UP (released) 50m slope > +0.15σ over 10 minutes Helps GO LONG bias (with R↑ / T↑)
… mean tilting DOWN · tilt was DOWN 50m slope < −0.15σ over 10 minutes Helps GO SHORT bias (with R↓ / T↓)
… mean flat · tilt was flat |slope| ≤ 0.15σ No directional lean — be pickier
Cycle #N from tight coil (14m quiet) · tilt was UP Summary of the coil that produced the current cycle Judge the entry against it — a break against the tilt is weaker
Stretch is greyed out and says “Ignored (warming up / closed) — not tradable yet” until the warm-up finishes — do not read its numbers before then. Settings says “OK — true 50-minute average” instead of a code string. For reference, the old one-word codes still used in alerts and Diagnostics are LOW = QUIET, RISE = EXPANDING, HOT = VERY LOUD, FALL = SLOWING, COIL / BASE = tightening / weaker coil; the L50 C20/10… fingerprint lives under Diagnostics → Log id.

Words you’ll see (plain English)

Word Meaning Trade read
50m meanAverage price over ~50 minutesCenter line. Above favors longs after ↑ release; below favors shorts after ↓ release
σ (sigma)How “spread out” recent prices wereBuilds the bands
BandsMean ± σ linesQuiet inside; stretch outside
BW / BW%Band width (raw %) and its percentileUse the Numbers table: QUIET ≤20 / EXPANDING ≥50 / SLOWING = peak−15 — never trade a vague “rising”
ZHow many σ from the mean|Z| > 1.0 at T = CHASE → AVOID
Tightening vs weaker coilBand width still shrinking vs 20m ago — or not (Setup row)Prefer tightening; still wait for T
R↑ / R↓Release up / downDirection bias — still WAIT for T
T / T2Trigger / retest entryTeal = GO LONG/SHORT. Pink = AVOID
EExpansion = BW% ≥ 50HOLD / add — not the first entry
MMature = BW% ≥ 80Late for new entries
D / DECELBW% ≤ peak − 15 (or mean fail)REDUCE / prepare EXIT
R (multiple)P&L vs original risk+1R = made 1× what you risked

What you see on the chart

  • Colored mean + bands — the 50-minute “tube.”
  • Gold dots — release levels while compressed (and on the release bar).
  • Teal line — armed T level. Pinkish line — armed T2 retest edge.
  • Background (Action only) — blue = coiled/ready; green = research long; red = research short.
  • Markers — C (coil), R (release), E (expansion), T/T2 (entry), pink T (chase), ✗ (failed release).
  • Gray / red dashed plan lines — entry and stop while a research trade is open.
  • Exit labels — why it flattened and the R result.

Short tooltips vs detailed tooltips

Open Settings → Visuals:

Detailed tooltips = ON

Default. Hover any table cell for a longer explanation plus:

  • GO LONG
  • GO SHORT
  • WAIT / AVOID
  • EXIT LONG
  • EXIT SHORT

Detailed tooltips = OFF

Short tip only — still includes the trade meaning for that metric (go long / short / wait / exit).

Hover any table cell, including DO THIS.

How to set it up (first time)

  1. Use an intraday chart (1m, 2m, or 5m work well).
  2. Add the indicator 50m C→E v1.3.
  3. Leave Lock mean to 50 minutes = ON.
  4. Leave Engine runs in regular hours only = ON.
  5. Leave Warm-up after the open = 50 minutes (first real setups ~10:20 ET on US stocks).
  6. Leave Flatten at the close = ON if you do not want overnight research holds.
  7. Check the Settings row says OK — true 50-minute average, then read DO THIS.

Optional: turn Table: show diagnostics ON when you want Mean tilt, VWAP, Width (σ), Band width, Log id, etc.

Settings groups (what matters)

50-minute mean

Keep the lock ON. Wrong length = wrong coils and fake breaks → AVOID.

Session (v1.3)

  • RTH only — ignore overnight noise
  • Warm-up — no entries until today’s mean is honest
  • EOD flatten — EXIT long and short on the last regular bar

Compression

How quiet / how long before READY. Lower threshold / longer min time = fewer, cleaner coils.

Trigger

  • T level — close that must clear to enter
  • Z cap — how far is “too far” (CHASE)
  • Retest (T2) — pullback entry after a chase

Risk management

  • One research position from T / T2
  • Stop starts at the far edge of the coil
  • After E → E-STOP; later may trail the mean
  • Exits: STOP, MEAN, OPP T, TIME, EOD, IDLE
  • R always uses original risk

Visuals / Tracking

  • Background, markers, table, detailed tooltips
  • One alert → condition “Any alert() function call”
  • JSON log, real-time only

Cheat sheet: go long / go short / avoid / exit

GO LONG when

  • Settings says OK — true 50-minute average
  • Past warm-up, in regular hours
  • Setup says Tight coil (prefer mean tilting UP)
  • RELEASE ↑, then teal T↑ (or T2↑)
  • DO THIS says GO LONG

GO SHORT when

  • Same checklist mirrored
  • RELEASE ↓, teal T↓ / T2↓
  • DO THIS says GO SHORT

WAIT / AVOID when

  • DO THIS says WAIT, READY, or WATCH
  • Pink CHASE with no T2 (Entry row: Chase — too far from mean)
  • DO THIS says NO ENTRY or STAND ASIDE
  • Settings shows amber WARNING — average is NOT ~50 minutes
  • DO THIS says CLOSED (after-hours, RTH on)
  • Stop loss row says TOO WIDE (if you skip wide trades)

EXIT LONG / SHORT when

  • DO THIS says EXIT now (any reason in brackets)
  • DO THIS says REDUCE risk and the move keeps dying
  • Stop hit, mean cross against you, opposite T, time / EOD / idle

Logging (optional)

  1. Create one alert on this indicator.
  2. Condition: Any alert() function call.
  3. Optional webhook to your logger.
  4. Each bar can send a JSON array of that bar’s events (COMP, RELEASE, TRIG, CHASE, RETEST, ENTRY, EXIT, …).
  5. Every payload includes the cfg fingerprint so different settings never mix in the log.
  6. Alerts are real-time only — they do not backfill history.

Common mistakes

  1. Buying the gold-dot release (R) instead of waiting for T.
  2. Taking a pink CHASE as a new entry.
  3. Trading during WARM-UP or with an amber Settings warning.
  4. Treating E as the entry (it is hold/add).
  5. Ignoring REDUCE / EXIT because the trade “feels fine.”
  6. Using a daily chart or unlocking the mean without knowing why.

Quick daily checklist

  1. Chart is intraday; Settings = OK — true 50-minute average
  2. Past warm-up? (DO THIS no longer says warming up)
  3. What does DO THIS say?
  4. If GO LONG / GO SHORT — where is the stop? (same line, and the Stop loss row)
  5. If HOLD — has it flipped to REDUCE or EXIT?
  6. Flat by the close if EOD flatten is on.