Artemis Adaptive RSI🟦 Artemis Adaptive RSI is a Pine v6 self-tuning RSI workbench. Instead of shipping with a fixed period and fixed thresholds — and forcing the trader to babysit the inputs across regimes (14 / 70 / 30 on stocks, 7 / 80 / 20 on crypto, 21 / 60 / 40 in trends) — a 60-candidate optimisation grid scores Supersmoother-filtered RSI variants against their own forward-return performance on a rolling window, then picks the variant whose threshold trips deliver the cleanest mean-reversion edge on the current market. The active period, smoothing, and OB / OS thresholds update online, and a five-state regime label tells you why the optimiser chose what it chose.
The indicator integrates seven analytical layers — Supersmoother-filtered RSI core, online candidate optimiser, hysteresis-locked regime classifier, Stochastic-Extreme-style multi-band zone visual, pivot-based Regular + Hidden divergence detection with a Smart AI Filter, adaptive trigger markers, theme-adaptive bar painter, and a PRO 8-row dashboard — each operating independently and rendered on a single, clean oscillator panel.
🟦 CREDITS & ATTRIBUTION
The adaptive optimisation CORE — Supersmoother-filtered RSI fleet, rolling-window incremental scorer, champion selection with hysteresis, and the five-state regime classifier — is derived from the open-source work of **GoodBadBitcoin** and published under the same MPL-2.0 license. Full respect to the original author for the design and the open release; this project would not exist without that groundwork.
- Source script — [Adaptive Modern RSI ]()
- Original author — (www.tradingview.com)
Everything else — the Stochastic-Extreme-style multi-band zone UI, the twelve-theme palette system, the pivot-based divergence engine, the Smart AI Filter, the PRO dashboard, the hover-tooltipped regime badge, the theme-aware bar painter, and the curated nine-channel alert pack — is original work added on top.
🟦 HOW THE CORE ENGINE WORKS
**Supersmoother**
Each bar, the per-bar close change is split into two streams — positive (gains) and negative (losses) — and each stream is fed through an Ehlers two-pole Butterworth low-pass filter. The Supersmoother removes high-frequency noise without piling on the phase lag that naive EMA / RMA pre-smoothing chains accumulate. The filtered gain / loss streams then feed the classical Wilder RSI ratio:
rsi = 100 − 100 / (1 + smoothedGains / smoothedLosses)
**Candidate Fleet**
15 RSI variants are precomputed in parallel — every combination of:
| Axis | Values |
|---|---|
| RSI length | 7 / 10 / 14 / 21 / 28 |
| Supersmoother smoothing | 6 / 10 / 16 |
Combined with 4 threshold tiers (15-85 / 20-80 / 25-75 / 30-70), this gives the 60-slot fleet the optimiser grades against.
**Online Optimiser (Rolling-Edge Scorer)**
Every bar, each of the 60 slots is evaluated:
1. **Trigger detection** — for the slot's threshold pair, did the bar produce an OS-entry (RSI crossed down through OS) or an OB-exit (RSI crossed back down through OB)?
2. **Forward-return scoring** — if a trigger fired, score it by `close / close − 1` (signed by trigger direction).
3. **Rolling bookkeeping** — each slot maintains its own running mean over a sliding `scoreWindow`-bar window. Returns enter on add, exit on subtract, mean recomputed in O(1) per slot per bar — no rescans, no naive sum-of-products drift.
After every bar's update, the slot with the highest mean return wins — subject to two gates:
- **Min Triggers per Candidate** — under-sampled slots are disqualified
- **Switch Margin (%)** — a new champion must beat the current incumbent by this hysteresis margin before it actually takes over
This protects against bar-by-bar leadership flapping when two candidates trade marginal scores.
**Regime Classifier**
The crowned champion's shape (length-index, smoothing-index, level-index, mean-return) is read each bar and the market is tagged as one of five phases:
| Glyph | Phase | Meaning |
|---|---|---|
| ◐ | Adapting | Cold start — optimiser not yet armed (default RSI in use) |
| ✸ | Noisy | Score collapsed, no exploitable edge — sit out |
| ➜ | Trending | Long period + relaxed thresholds — trend dominates, avoid OB/OS reversals |
| ▣ | Range | Short period + strict thresholds — RSI's sweet spot, triggers reliable |
| ⊠ | Calm | Middling parameters — mild swings, use as light confluence |
The raw tag stream is then locked through a two-stage hysteresis machine: the displayed phase only updates after the underlying classification holds for `Regime Confirmation Bars` in a row. This keeps the floating badge from twitching on every minor optimiser jitter.
🟦 MULTI-BAND ZONE UI
A Stochastic-Extreme-style six-band visual at 100 / 80 / 70 / 50 / 30 / 20 / 0. The active OB / OS thresholds overlay as steplines that move as the optimiser updates. Zone fills key off the *adaptive* thresholds so the visual escalation tracks the actual signal logic, not a fixed 70 / 30 line.
The fills are tiered — when the RSI line plus the live champion's mean-return both confirm a zone state, the fill intensifies; otherwise the band shows a lighter tint. The 40 / 60 reference dotted lines and the 50 zero line are decorative — they are NOT the triggers.
**RSI line colour**
| Zone | Colour |
|---|---|
| Above 60 | theme-bull (price-strength bias) |
| Between 40 and 60 | neutral |
| Below 40 | theme-bear (price-weakness bias) |
These 40 / 60 bands are FIXED — they are NOT the adaptive OS / OB. The adaptive thresholds drive the triggers; the 40 / 60 bands just colour the RSI line for at-a-glance bias reading.
🟦 TRIGGER MARKERS
Triangle markers fire at the bar of OS entry / OB exit on the *adaptive* thresholds — the events the optimiser is actually scoring:
- ▲ **OS Entry Trigger** — RSI just crossed down through the adaptive OS threshold (mean-reversion long opportunity)
- ▼ **OB Exit Trigger** — RSI just crossed back down through the adaptive OB threshold from above (rejection / short opportunity)
Markers use `location.absolute` with fixed Y coordinates (10 / 90) so they stay glued to the same visual spot every bar — no drift between candles, no shift when zone fills update. Each visible triangle is paired with an invisible `label.style_circle` carrying a hover tooltip with live RSI value, active threshold, active period, and active smoothing — `plotshape()` does not support tooltips natively, so the dual-track rendering is required for hover content.
🟦 DIVERGENCE DETECTION
Pivot-based detection for the four classical divergence flavours:
| Type | Price | RSI | Signal |
|---|---|---|---|
| Regular Bull (D▲) | Lower Low | Higher Low | Potential reversal up |
| Regular Bear (D▼) | Higher High | Lower High | Potential reversal down |
| Hidden Bull (H▲) | Higher Low | Lower Low | Uptrend continuation |
| Hidden Bear (H▼) | Lower High | Higher High | Downtrend continuation |
Pivots are sampled on raw price (high / low) using `Pivot Arm` bars on each side (symmetric). Each pivot bar's RSI value is read **dynamically from the current active RSI series** via bar-index lookup — so when the optimiser switches champions between pivots, the comparison stays internally consistent (both endpoints come from the SAME series). This is a subtle but critical fix vs. naive divergence ports.
Regular Divergence labels (D▲ / D▼) use bracketed glyphs with solid styling — these are the reversal signals.
Hidden Divergence labels (H▲ / H▼) use the same bracket scheme — these are the continuation signals.
Each label hovers a tooltip with the price change, RSI change, and the pivot bar distance.
**Smart AI Filter**
An optional pre-filter that rejects low-quality divergences before they render. Three independent gates:
1. **Min RSI Swing** — minimum RSI difference between the two pivots (default: 5 points). Drops noise-level differences where RSI barely moved between pivots.
2. **Min Price Swing (%)** — minimum price swing between pivots as a percentage of the recent (80 bars) price range (default: 0.3%). Drops divergences where price barely moved relative to recent volatility.
3. **Zone Confirmation** — RSI at the current pivot must sit in the matching adaptive reversion half:
- Bullish divergence → RSI ≤ midpoint(liveOs, 50) (moderate-to-deep oversold)
- Bearish divergence → RSI ≥ midpoint(50, liveOb) (moderate-to-deep overbought)
The zone gate is adaptive — it tightens or loosens as the optimiser updates the live OS / OB thresholds. This encodes the classical "best divergences form at extremes" rule using the live adaptive thresholds, not a fixed 30 / 70.
When the master toggle is OFF (default), all detected divergences render. When ON, only divergences that clear all three gates survive. The filter applies identically to both chart rendering and alert conditions — no mismatch between visual and alert signals.
🟦 REGIME BADGE
A floating label pinned to the LATEST bar, extending rightward into the chart's right-margin / future area. The `label.style_label_left` style places the arrow tip on the LEFT of the box so it visually "points back" to the active RSI data without overlapping the oscillator line.
The badge shows:
- **Glyph + phase name** (e.g. `▣ Range`)
- **Bars stable** (how long the current phase has held)
- **Action note** (e.g. "RSI's sweet spot — triggers work well")
The background colour pulls from the theme palette — Range = theme-bull tint, Trending = theme-bear tint, Adapting / Noisy = theme-neutral tint, Calm = theme-signal tint — so the badge meaning is reinforced by the palette consistency.
**Hover tooltip**
Hovering the badge surfaces a comprehensive phase legend explaining all five glyphs, what each means, what action to take in each, and how to read the "bars stable" counter.
**Position**
User-selectable: Top (y = 80, upper third), Middle (y = 50, centre, default), Bottom (y = 20, lower third). The Y resolver maps the dropdown onto fixed pane-fraction coordinates so the badge stays parked at the same visual spot regardless of RSI value.
🟦 BAR COLORING
Two mutually exclusive modes apply a state-driven colour to every price bar on the chart:
| Mode | Behavior |
|---|---|
| None | Leave bars untouched (default) |
| RSI Zone | Theme-bear when RSI in OB zone, theme-bull when in OS zone, theme-neutral otherwise |
Uses the *adaptive* OB / OS thresholds, not fixed 30 / 70. The bar painter pulls directly from the active threshold state — when the optimiser switches candidates, the bar colour rule updates accordingly with no lag.
🟦 DASHBOARD
A compact 2-column, 8-row PRO data panel renders on the last bar when enabled. Every value derives from variables already computed upstream, so the dashboard adds zero overhead until the final bar.
| Row | Left | Right |
|---|---|---|
| Header | Artemis A-RSI | ▲ OB / ▼ OS / ■ Neutral (current bias) |
| Phase | Phase | ◐ ✸ ➜ ▣ ⊠ glyph + name (current regime) |
| Period | Period | Active RSI length (e.g. 14) |
| Smooth | Smooth | Active Supersmoother smoothing (e.g. 10) |
| OS Level | OS | Active adaptive OS threshold (e.g. 20) |
| OB Level | OB | Active adaptive OB threshold (e.g. 80) |
| Score | Score | Champion's mean forward return (in %) |
| Last Div | Last Div | Most recent divergence within last 50 bars (D▲ / D▼ / H▲ / H▼ / —) |
**Theme-Adaptive Chrome**
The dashboard auto-inverts its layout based on the active theme:
- **Dark themes** (Tropic, Amber, Pastel, Cyber, Helios, Electric, Candy, Bloomberg, Solar, Royal): header and footer use a faint `thBull` tint, middle rows stay solid dark, text uses full-saturation `thBull`. Border uses `thBull` at 20% transparency for strong theme presence.
- **Light themes** (Midnight, Graphite): backgrounds flip to white, text stays `thBull` (which is itself dark on these themes), border uses `thBull` at 40% transparency.
This guarantees text legibility against every palette without per-theme manual tuning.
**Position & Size**
Six anchor slots (Top / Middle / Bottom × Left / Right) and four text sizes (Tiny / Small / Normal / Large).
🟦 COLOR THEMES
Twelve cohesive palettes, each resolving to four axis colors. The whole script reads through these four variables — nothing below the theme resolver references a raw hex literal, so a single dropdown selection drives every plot, fill, stepline, divergence line, dashboard cell and badge.
| Theme | Character | Bull | Bear |
|---|---|---|---|
| Tropic | Cyan steel + deep orange | #00bcd4 | #ff6d00 |
| Amber | Warm amber + indigo blue | #ff9800 | #e53935 |
| Pastel | Sky blue + soft lavender | #4fc3f7 | #9575cd |
| Cyber | Neon lime + hot crimson | #00e676 | #ff1744 |
| Helios | Bright gold + scarlet | #ffd600 | #ef5350 |
| Electric | Electric aqua + magenta | #00e5ff | #e040fb |
| Candy | Neon green + hot pink | #69F0AE | #FF4081 |
| Bloomberg | Terminal orange + cyan | #ff8c00 | #00b0ff |
| Solar | Solarized olive + crimson | #859900 | #dc322f |
| Royal | Imperial gold + deep purple | #ffd700 | #6a0dad |
| Midnight | Deep navy + dark crimson | #0d47a1 | #b71c1c |
| Graphite | Near-black + silver grey | #1a1a1a | #757575 |
🟦 ALERT SYSTEM
Seven user toggles drive nine alert messages, all using `alert.freq_once_per_bar_close`:
| Toggle | Alert(s) | Condition |
|---|---|---|
| OS Entry Trigger | OS Entry | RSI crossed down through adaptive OS |
| OB Exit Trigger | OB Exit | RSI crossed back down through adaptive OB |
| Regime Change | Phase Flip | Locked regime label updates (post-hysteresis) |
| Regular Divergence | D▲ + D▼ | Reversal divergences detected (respects Smart AI Filter) |
| Hidden Divergence | H▲ + H▼ | Continuation divergences detected (respects Smart AI Filter) |
| RSI Mid Cross Up | Mid ↑ | RSI crossed above 50 |
| RSI Mid Cross Down | Mid ↓ | RSI crossed below 50 |
Each alert fires through `alert()` so the message body carries live context — current RSI value, the active adaptive threshold that triggered, active period and smoothing, and (for Regime Change) the previous phase's hold duration. Divergence alerts respect the Smart AI Filter — if the filter is ON and a divergence is rejected visually, the alert will also not fire.
🟦 SETTINGS REFERENCE
**Visual**
- Theme — 12 palette options. Default: Tropic
**Adaptation Core**
- Optimization Lookback (bars) — 100–1000. Default: 300
- Forward-Return Eval Horizon — 2–20. Default: 5
- Min Triggers per Candidate — ≥ 2. Default: 5
- Switch Margin (%) — 0–50, step 2.5. Default: 10
**Regime Label**
- Show Regime Label — Toggle. Default: ON
- Regime Label Size — Tiny / Small / Normal / Large / Huge. Default: Normal
- Regime Confirmation Bars — 1–100. Default: 10
- Regime Label Position — Top / Middle / Bottom. Default: Middle
**Zones & Levels**
- Show Adaptive Levels — Toggle. Default: ON
- Show Zone Fills — Toggle. Default: ON
- Show Trigger Signals — Toggle. Default: ON
**Divergence**
- Regular Divergence — Toggle. Default: ON
- Regular Opacity — 0–100. Default: 80
- Hidden Divergence — Toggle. Default: ON
- Hidden Opacity — 0–100. Default: 80
- Pivot Arm — 2–50. Default: 5
- Label Size — Tiny / Small / Normal / Large. Default: Tiny
- Smart AI Filter — Master toggle. Default: OFF
- Min RSI Swing — 1.0–50.0. Default: 5.0
- Min Price Swing (%) — 0.1–5.0. Default: 0.3
- Require Zone Confirmation — Toggle. Default: ON
**Bar Coloring**
- Bar Color Mode — None / RSI Zone. Default: None
**Dashboard**
- Show Dashboard — Toggle. Default: ON
- Panel Position — 6 anchor slots. Default: Middle Right
- Panel Text Size — Tiny / Small / Normal / Large. Default: Small
**Alerts**
- OS Entry Trigger — Default: ON
- OB Exit Trigger — Default: ON
- Regime Change — Default: ON
- Regular Divergence — Default: ON
- Hidden Divergence — Default: OFF
- RSI Mid Cross Up — Default: OFF
- RSI Mid Cross Down — Default: OFF
🟦 COMPATIBILITY
Works on all asset classes and all timeframes in TradingView Pine Script v6.
- Crypto: Spot, futures, perpetual contracts
- Forex: All pairs
- Equities: Stocks, ETFs, indices
- Commodities: Metals, energy, agriculture
- Timeframes: 1m through Monthly
Because the engine self-tunes its RSI period, smoothing, and OB / OS thresholds online, the same default settings work on a 5-second BTC chart and a weekly index chart without retuning. The optimiser sees the asset's actual reversion behaviour and adapts — no per-asset preset library needed.
🟦 TECHNICAL NOTES
- Pine Script v6
- `max_lines_count = 500`, `max_labels_count = 500`, `max_bars_back = 1000`
- No repainting — all values calculated on bar close. Pivot-based divergence results appear `Pivot Arm` bars late by design (standard Pine pivot confirmation behaviour)
- The adaptive RSI line is internally consistent across optimiser switches — divergence pivots read RSI dynamically via `activeRsi `, so both endpoints come from the SAME (current) RSI series even when the champion changes between pivots
- The Supersmoother filter relies on `var float lpY = 0.0` private state per call-site — Pine v6 issues one independent state slot per call-site, so the 15 fleet entries below produce 30 (15 × 2 streams) independent filter histories with zero cross-talk
- Champion switch is hysteresis-gated by `Switch Margin (%)` and an eligibility floor (`Min Triggers per Candidate`) — protects against bar-by-bar flapping when two candidates trade marginal scores
- Regime tag is doubly hysteresis-gated — first the candidate must hold, then the displayed phase only flips after `Regime Confirmation Bars` of stable tagging
- Trigger markers use `location.absolute` with fixed Y coordinates (10 / 90) for visual stability — no slide on zoom or candle-spacing changes
- Trigger marker tooltips piggy-back on invisible `label.style_circle` parallel renders — `plotshape()` does not natively support the `tooltip` argument
🟦 DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and apply proper risk management. 指標

指標

指標

指標

指標

指標

EMA Ribbon with ATR ExtensionsThis indicator is an EMA ribbon framework combined with multi-timeframe trend structure and volatility-normalized distance measurements using ATR.
The core component is a configurable exponential moving average ribbon, allowing multiple EMA lengths to be plotted simultaneously across different timeframes. This includes both intraday EMAs and optional higher-timeframe EMAs such as daily and weekly periods. The purpose of this structure is to provide a layered view of trend behavior across multiple time horizons, helping visualize alignment, compression, and expansion within broader market structure.
In addition to standard EMA visualization, the indicator integrates a volatility context layer using the Average True Range (ATR). This allows price distance from each EMA to be expressed not only in percentage terms, but also in ATR-normalized form. The ATR extension metric is derived from the relationship between percentage deviation from the moving average and current ATR percentage, enabling comparison of movement intensity across different instruments regardless of price scale.
The included table presents a structured breakdown for each selected EMA:
EMA value based on configurable length and timeframe
Percentage distance between price and each EMA
ATR-normalized extension value representing volatility-adjusted deviation
This structure allows users to observe how price interacts with multiple trend references simultaneously, while also understanding whether movement is occurring within normal volatility conditions or represents an expanded deviation relative to recent market behavior.
A visual marker is included to highlight conditions where price is significantly extended above a selected higher timeframe EMA relative to ATR-based expansion. This is intended to assist with quickly identifying periods of elevated trend extension within the broader EMA framework.
The header display optionally shows symbol, description, and active chart timeframe to maintain contextual awareness when analyzing multiple assets or timeframes.
Overall, the tool is designed as a multi-layer trend and volatility visualization system combining moving averages, relative distance metrics, and ATR-based normalization to better contextualize price positioning within ongoing market structure. 指標

ORB Risk LadderORB Risk Ladder
ORB Risk Ladder is a Trade Manager-style opening range research indicator built for traders who want more than a basic ORB high/low plot.
Most ORB indicators stop at drawing the opening range and marking a breakout. This one is designed around the full trade-planning sequence after the range breaks: where the breakout triggered, where the setup is invalidated, and where structured targets sit relative to the initial risk.
What makes it different:
- Full risk map, not just an ORB box: the script plots Entry, Stop Loss, TP1, TP2, and TP3 after the first qualified breakout.
- Clean one-signal session logic: it focuses on the first valid breakout in the selected trade window instead of filling the chart with repeated arrows.
- R-based target ladder: TP levels are calculated from the distance between entry and stop, so the ladder adapts to the actual range size instead of using fixed arbitrary points.
- Optional midpoint stop mode: choose between a wider opposite-side ORB stop or a tighter midpoint invalidation model.
- Compact right-side labels: price values are attached to the end of each level line so the chart stays readable while still showing the exact ladder values.
- Session controls: customize the opening range window and breakout window to match the market or session you trade.
- Planning-first design: the output is meant to organize a setup visually, not claim prediction or profitability.
Core visual elements:
- Opening range box
- BUY/SELL breakout marker
- Entry line with price value
- Stop-loss line with price value
- TP1/TP2/TP3 ladder with price values
- Optional ORB midpoint reference
Suggested use:
Use it on intraday charts where the opening range matters and the trader wants a fast visual read of trigger, invalidation, and target structure. The default 9:30-9:45 opening range and 9:45-11:00 breakout window are designed around the U.S. cash open, but both are adjustable.
Suggested timeframe:
15m on NQ or ES for the cleanest public screenshot. Lower timeframes can be used for more granular review, but 15m keeps the ladder and range structure readable.
Important:
This script is provided for educational and research purposes only. BUY/SELL markers, TP levels, and SL levels are visual planning references, not financial advice or trade recommendations. The script does not predict market direction, guarantee profitability, or replace independent risk management. Test all settings on your own market and timeframe before relying on any output.
指標

指標

CASCADE DCA - Spot Long Strategy# CASCADE DCA 🌊 — Spot Long Strategy
### Intelligent accumulation with dynamic exits. No RSI. No guesswork.
---
## What is CASCADE DCA?
Most DCA strategies buy blindly at fixed intervals. CASCADE DCA is different — it only buys when the price is **consolidating at support**, not in free fall. It scales in with increasing position sizes as price drops, then exits when the bullish impulse is fully exhausted.
The result: high win rates, low drawdowns, and exits timed to capture the full bounce — not just the first tick of recovery.
---
## How It Works
### 🟢 Entry Logic — The "Scouting Entry"
The first buy is intentionally small (configurable, default $5). It fires when price drops a defined % from a recent swing high **and** lands in a consolidation zone. Think of it as placing a sensor, not a bet.
If price keeps falling, the strategy scales in with progressively larger positions at deeper levels — but only when price consolidates again. It never buys into a free fall.
### 📉 DCA Levels — Mathematical Progression
Drop distances follow a user-defined formula. You set the first DCA drop % and choose the progression type:
- **Linear (+)**: each level adds a fixed increment → 50% / 60% / 70% / 80%...
- **Geometric (×)**: each level multiplies → 50% / 65% / 84.5% / 109.8%...
Position sizes grow with each level (configurable multiplier), with a hard **safety cap** to prevent oversizing accidents.
### 🔲 Consolidation Filter — The Key Differentiator
Every buy — initial and DCA — requires the price to be in a **lateral zone**, detected by two independent indicators:
- **BBW** (Bollinger Band Width): narrow bands = price coiling = consolidation
- **ADX**: low values = no directional trend = sideways market
You can require either condition (permissive) or both simultaneously (strict mode).
### 💨 Exit Engine — VWM (Volume-Weighted Momentum)
This is the original indicator at the heart of CASCADE DCA. **No RSI used.**
**Formula:**
```
ROC = Rate of Change of price (n bars)
rVol = current volume / average volume
VWM = EMA( ROC × rVol , smoothing )
```
**Interpretation:**
- VWM > 0 and rising → impulse building → **HOLD**
- VWM > 0 and falling for N consecutive bars → impulse dying → **EXIT**
The exit only fires when the position is already profitable (configurable minimum). This prevents closing at a loss during post-entry noise.
An optional **Supertrend safety exit** catches sudden reversals that VWM might take longer to detect.
---
## Dashboard
A full real-time control panel shows:
- **Active DCA level** and total USD deployed
- **Average cost**, entry price, open P&L %
- **Open P&L USD**, closed P&L, and **Total P&L** (matches backtest exactly)
- Live VWM score and impulse status
- Lateral zone confirmation (BBW + ADX)
- Supertrend direction
- Full DCA schedule with drop %, trigger prices, and USD amounts — with ✓ for filled levels and ► for the next pending level
---
## Backtest Results (1H, Binance Spot Perpetuals)
| Pair | Period | Win Rate | Profit Factor | Total PnL|
|--------------------|---------------|--------------|-----------------|------------|
| 1000RATSUSDT | 18 months | **93.59%** | 1.87 | +$26.65 |
| AIOTUSDT | 13 months | **89.71%** | **23.97** | +$816.92 |
| ACXUSDT | 16 months | 80.00% | **9.54** | +$131.55 |
| ACTUSDT | 14 months | 85.19% | 2.47 | +$75.79 |
| 1000MOGUSDT | 17 months | 82.22% | 5.11 | +$72.19 |
| ACEUSDT | 15 months | 76.00% | 2.51 | +$25.38 |
| AEROUSDT | 14 months | 82.50% | 2.55 | +$46.95 |
| ACHUSDT | 15 months | 85.71% | 3.16 | +$14.08 |
> ⚠️ *Past performance does not guarantee future results. Always backtest on the specific pair and timeframe before live trading.*
---
## Recommended Settings (Starting Point)
| Parameter | Value | Notes |
|---------------------------|----------------|---------------------------------------|
| Base USD | $5 | Small scouting entry |
| Amount Increment | 10× | Scales fast — use the cap |
| Max USD Cap | $200 | Hard safety ceiling per level |
| Initial drop | 5% | From recent swing high |
| First DCA drop | 50% | From initial entry price |
| Progression | Linear +10% | Predictable spacing |
| DCA Levels | 9 | Red of safety — most never fire |
| Min profit to exit | 2% | Avoids exiting at a loss |
| Supertrend exit | ON | Safety net for sudden reversals |
---
## Best Use Cases
- ✅ Mid-cap altcoins on 1H timeframe (XXX/USDT spot)
- ✅ Markets that have already experienced a significant correction
- ✅ Pairs with volume — the VWM engine requires real volume data
- ❌ Do NOT use during sustained bear markets with no consolidation
- ❌ Do NOT use on illiquid pairs with manipulated volume
---
## Why No RSI?
RSI is a great indicator. It's also in roughly 80% of all published TradingView strategies. The VWM (Volume-Weighted Momentum) was designed specifically to measure impulse exhaustion using price velocity amplified by volume conviction — giving you a more dynamic read of when a rally is truly running out of steam, not just when price is "overbought" by a fixed threshold.
---
## Parameters Guide
**💰 DCA Amounts**
- `Base Amount`: USD invested on the initial scouting entry
- `Amount Increment`: Multiplier per level. Level 0 = Base×1, Level 1 = Base×1.5, etc.
- `Max USD Cap`: Hard ceiling — no single level can exceed this amount. **Always set this first.**
**📉 DCA Drop Progression**
- `Initial Entry drop %`: How far below the recent swing high to open the first position
- `First DCA drop %`: The anchor of the progression formula (measured from initial entry)
- `Progression Type`: Linear or Geometric spacing between levels
- `Linear Increment / Geometric Multiplier`: Controls how fast levels spread apart
**🔲 Lateral Zone Detection**
- `BBW threshold`: Lower = stricter consolidation requirement
- `ADX threshold`: Lower = stricter no-trend requirement
- `Require BOTH`: AND mode for strictest filtering
**🚀 Exit — VWM**
- `Min profit %`: Position must be profitable before exit can fire
- `Decay bars`: Consecutive bars of VWM decline needed to trigger exit
- `Supertrend exit`: Additional safety exit on trend reversal
---
*Built with 10 years of algorithmic trading experience. Designed for spot markets. Long only.*
*The VWM indicator is original to this strategy.*
策略

Nadaraya-Watson Regression Liquidity Sweeps [AlgoAlpha]🟠 OVERVIEW
This script combines Nadaraya-Watson regression, momentum analysis, and liquidity level tracking into a single workflow. It measures the slope of a smoothed price regression curve, converts that slope into a normalized oscillator, and uses momentum shifts to identify areas where liquidity may be resting.
The oscillator is built from the rate of change of the Nadaraya-Watson estimate rather than price itself. This allows momentum transitions to be measured relative to the underlying regression trend. When momentum weakens after an extended move, the script records swing-based liquidity levels that can later be swept by price.
A volatility-adjusted Nadaraya-Watson band is also displayed on the chart. This provides context for trend direction, momentum strength, and potential rebound conditions around the regression value.
🟠 CONCEPTS
Nadaraya-Watson Regression — A kernel-based smoothing method that estimates an underlying price curve by weighting nearby historical data more heavily than distant data.
Normalized Regression Slope — The change in the Nadaraya-Watson estimate divided by its recent standard deviation, allowing momentum strength to be compared across different market conditions.
Liquidity Sweep Level — A horizontal level created from a swing high or swing low when momentum begins to weaken, representing an area that may later attract price.
Oscillator Signal Line — An EMA of the normalized oscillator used to identify momentum crossovers and momentum phase changes.
Rebound Condition — A signal generated when price moves back through the Nadaraya-Watson value while oscillator direction remains aligned with the prevailing momentum bias.
🟠 FEATURES
Normalized Nadaraya-Watson Oscillator — Measures momentum using the slope of a smoothed regression curve.
Liquidity Sweep Detection — Creates liquidity levels when bullish or bearish momentum begins to weaken.
Volatility-Adjusted Regression Band — Displays a dynamic overlay around the Nadaraya-Watson estimate using smoothed ATR values.
Momentum Weakening Signals — Marks locations where oscillator momentum begins to lose strength against the current directional bias.
Rebound Signals — Highlights situations where price reclaims or loses the regression value while momentum remains aligned with trend direction.
🟠 HOW TO USE
Monitor the oscillator relative to its signal line to identify momentum shifts and changes in directional bias.
Watch for newly created liquidity levels after momentum weakening events, as these levels may become future sweep targets.
Use sweeps of upper or lower liquidity levels to identify areas where price has taken resting liquidity.
Look for bullish rebound signals when price reclaims the regression value while bullish momentum remains active.
Look for bearish rebound signals when price loses the regression value while bearish momentum remains active.
Combine oscillator direction, liquidity levels, and regression band structure to build context around trend continuation or reversal scenarios.
🟠 CONCLUSION
The Nadaraya-Watson Regression Liquidity Sweeps indicator combines regression-based momentum analysis, volatility-adjusted trend structure, and liquidity level tracking. By linking momentum transitions to swing-derived liquidity zones, it helps identify where liquidity may be forming and when it has been swept. This provides traders with additional context for trend analysis, pullbacks, and potential reversal areas. 指標

Adaptive Expansion Framework Adaptive Expansion Framework (AEF)
AEF combines six classic volatility/structure concepts into one clean overlay so you can read market structure and expansion potential at a glance, without stacking five separate indicators.
WHAT IT COMBINES
1. Regression channel — a straight linear-regression channel (mid ± stdev) defines the prevailing structure and slope.
2. Equilibrium zone — an inner band around the regression line marks "fair value," helping separate mean-reversion from continuation context.
3. Volatility compression — Bollinger band-width is ranked as a percentile against its own lookback; when volatility coils into the lowest percentiles, the equilibrium band brightens and the chart gets a faint tint.
4. Range vs trend detection — Kaufman-style efficiency ratio plus slope classify the tape as Compression, Trending, or Ranging.
5. Breakout detection — a close beyond a channel wall, confirmed by range expansion (and optional volume), flags a breakout.
6. Expansion projection — on a confirmed break, a measured-move target (full channel height) is projected forward, with a 0–100 breakout-quality grade attached.
BREAKOUT QUALITY SCORE (0–100)
Each breakout is graded from four inputs: range expansion (35%), volume (25%), how compressed volatility was just before the break (25%), and how decisively price pierced the wall (15%). Grades A/B/C/D help filter weak or suspect breaks from clean ones.
DASHBOARD
Shows current regime, efficiency %, compression percentile, price position vs equilibrium, and the last signal with its quality grade.
HOW TO USE
- Use the regime label to pick context: fade extremes inside the channel when Ranging, look for breaks when Compression resolves.
- Treat the projection target as a reference level, not a guarantee.
- Higher-grade breakouts (A/B) that resolve a compression phase tend to be the cleaner setups; low-efficiency C/D breaks are more prone to fade.
KEY INPUTS
- Regression length: structural context window.
- Channel width (stdev x) and Equilibrium band: zone sizing.
- Compression percentile: how tight volatility must get to flag a setup.
- Trend efficiency threshold: range vs trend sensitivity.
- Breakout range x ATR / optional volume: how decisive a break must be.
BEHAVIOR ON THE LAST BAR
The channel, equilibrium band and projection are drawn on the most recent bar and update live. Breakout signals are evaluated on closing crosses, so on the currently forming (real-time) bar a signal can appear and disappear until the bar closes. Always confirm signals on closed bars before acting.
NOTES
This is an analysis tool, not a signal service. It does not predict price and is not financial advice. Test settings on your own instrument and timeframe before relying on it. Defaults are tuned for liquid index instruments on intraday timeframes (volume confirmation is off by default). 指標

Micro Pivot
Short description:
A structure-based intraday framework that highlights small pivot points where price may be transitioning from continuation to rejection, or from pullback to renewed directional control.
Full description:
The TM Micro Pivot Framework is a research and validation tool for studying short-term market structure. It is designed to help traders identify compact swing points, local support/resistance reactions, and potential continuation or rejection zones on intraday charts.
This concept focuses on micro pivots: small but meaningful inflection areas that can appear before larger directional moves. Rather than treating every minor swing as important, the framework is intended to organize price action around repeatable structure: prior swing highs/lows, reaction zones, trend context, volatility, and invalidation levels.
Core use cases:
- Identify local intraday pivot highs and pivot lows.
- Mark potential reaction zones where price may pause, reject, or continue.
- Study pullback behavior inside a larger trend context.
- Compare aggressive early structure signals against more conservative confirmation signals.
- Support forward testing and strategy research before any live execution decision.
How to read it:
A bullish micro pivot area may form when price creates a local low, holds above a prior reaction zone, and begins to reclaim short-term structure. A bearish micro pivot area may form when price creates a local high, rejects a prior reaction zone, and begins to lose short-term structure.
Signals and plots are not trade recommendations. They are visual research markers intended to help traders study whether specific structure conditions are present.
Suggested validation workflow:
1. Start with the higher-timeframe trend and key levels.
2. Use the micro pivot markers to identify local structure changes.
3. Define invalidation before considering any setup.
4. Forward test the behavior in a controlled environment.
5. Review results over a meaningful sample before making execution decisions.
Important notes:
- This tool does not predict market direction.
- This tool does not guarantee profitable trades.
- This tool should not be used as a standalone trading system.
- Market conditions, liquidity, volatility, news, and execution quality can materially affect outcomes.
- Any strategy based on this concept should be tested and validated before use.
Risk disclaimer:
Trading futures, stocks, options, forex, crypto, and other financial instruments involves substantial risk and may not be suitable for all traders. Past performance is not indicative of future results. This script is provided for educational and research purposes only and should not be considered financial advice, investment advice, or a recommendation to buy or sell any instrument. Traders are responsible for their own decisions, risk management, and compliance with applicable rules and regulations.
Publication note:
This description is written for TradingView educational/research presentation. It avoids performance claims, guaranteed outcomes, financial advice, and unverifiable profitability language.
指標

Smart Trend Flow Pro [MarkitTick]💡 Navigating modern market structures requires a robust mechanism capable of filtering out transient noise while capturing the dominant directional vectors. The Smart Trend Flow pro is an advanced analytical framework designed to dynamically track market momentum and volatility, transforming complex price action into a highly readable, visual heatmap. By synthesizing trend identification with continuous volatility scaling, this tool aims to provide clarity in both ranging environments and high-expansion phases, allowing for more structured and disciplined market analysis.
✨ Originality and Utility
● A Paradigm Shift in Trend Visualization
Traditional channel-based indicators often suffer from severe lag or become entirely unreadable during periods of intense market contraction. The utility of this script lies in its adaptive ability to map structural boundaries and instantly correlate them with localized market energy. By discarding static thresholds in favor of a dynamic, self-adjusting baseline, the tool presents a unified view of both direction and conviction.
● Beyond Binary Signals
Standard indicators frequently rely on binary conditions—such as a simple moving average crossover—which ignore the underlying volatility context. This script pioneers a synthesized approach where the strength of a trend is continuously evaluated against its own historical variance. This allows users to visually differentiate between a low-conviction drift and a highly energized breakout, providing a much richer context for potential trade management and risk assessment.
🔬 Methodology and Concepts
● Dynamic Boundary Engine
At the core of the script is a reactive boundary detection mechanism. Rather than projecting fixed bands, the engine establishes fluid upper and lower parameters based on recent localized extremes. These boundaries can be structurally smoothed using various adaptive algorithms, effectively tuning the sensitivity of the channel to match the specific rhythm of the asset being analyzed.
● Volatility Normalization Process
To accurately gauge market energy, the framework continuously measures the distance between the established boundaries. This raw measurement is then subjected to a rigorous statistical normalization process. By evaluating current fluctuations against a rolling historical baseline, the engine maps the resulting variance onto a bounded curvilinear scale. This abstract transformation isolates the pure kinetic energy of the market, stripping away absolute price dependencies to provide a standardized metric of volatility expansion and contraction.
● Integrated State Tracking
The logical engine monitors the interaction between the closing prices and the smoothed boundary parameters. A structural shift is recognized only when price definitively breaches and sustains its position relative to these dynamic thresholds. This state-tracking ensures that the primary directional bias is maintained until a statistically significant reversal occurs, minimizing false positives during minor retracements.
🎨 Visual Guide
● Color-Coded Heatmap Candles
The primary visual feature is the complete transformation of the standard candlestick chart into a continuous heatmap. The colors directly correspond to the synchronized output of the trend direction and the normalized volatility metric.
Bullish Gradients: When the market establishes an upward bias, the candles transition through a cool-to-hot spectrum. Deep, cold colors represent low-volatility accumulation phases, while bright, hot neon colors signify intense, high-volatility bullish expansion.
Bearish Gradients: Conversely, downward structural shifts are mapped using a separate color spectrum. Dark, muted tones indicate slow, grinding bearish action, whereas vivid, hot colors highlight rapid, high-volatility sell-offs.
Neutral States: When the price resides within the core boundary parameters, demonstrating no clear directional dominance, the candles default to a flat, neutral gray to reduce visual noise.
● Signal Markers
Buy Labels: Distinct markers appear precisely below the price action when the engine confirms a definitive upward structural breach.
Sell Labels: Clear markers are printed above the price action upon the confirmation of a downward structural breach.
📖 How to Use
● Interpreting the Heatmap
The most effective way to utilize this tool is to read the candle colors as a topographical map of market energy. A transition from a neutral state into a cold bullish or bearish color suggests the early formation of a trend. As the colors heat up and transition toward their neon extremes, it confirms that the directional move is being supported by expanding volatility, which often characterizes the most robust phase of a trend.
● Managing Trend Exhaustion
Traders can monitor the intensity of the heatmap to gauge potential momentum decay. If a strong trend has been characterized by hot, neon colors, a gradual cooling off—where the colors revert to darker, colder shades—may indicate that the localized volatility is subsiding, suggesting potential consolidation or a pending structural shift.
● Confirming Breakouts
The printed Buy and Sell labels serve as structural confirmation points. These markers are best utilized not in isolation, but in confluence with the heatmap. A signal label accompanied by an immediate transition into a high-volatility color spectrum carries significantly more analytical weight than a signal that remains mired in a cold or neutral visual state.
⚙️ Inputs and Settings
● Channel Settings
Channel Length: Determines the primary lookback window for establishing the core upper and lower boundaries. Increasing this value creates a wider, slower-moving channel, while decreasing it makes the system highly sensitive to recent price action.
Channel MA Type: Allows the user to apply different smoothing algorithms to the boundaries. Options range from the standard baseline to advanced weighting methods, providing precise control over signal reactivity.
● Analytics Settings
Squeeze/Z-Score Length: Defines the historical window used to evaluate the relative volatility. A longer length provides a smoother, more macro-level volatility assessment, while a shorter length makes the heatmap highly reactive to sudden micro-expansions.
● Candle Heatmap Settings
Bullish/Bearish Color Controls: Fully customizable inputs allowing the user to define the exact hex values for the cold and hot extremes of both the bullish and bearish spectrums.
Neutral Market Base: The default color applied when the market is bound within the channel without a confirmed directional state.
● Signal Settings
Label Colors: Configurable color selections for the printed Buy and Sell confirmation markers.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Topological Price Mapping
At a fundamental level, the script treats financial time-series data not as discrete data points, but as a continuous topological surface. By evaluating the highest and lowest ranges over a specified temporal window, it effectively creates a rolling bounding box that encapsulates the probable distribution of future price vectors. The application of sophisticated moving average algorithms to these boundaries acts as a low-pass filter, mathematically attenuating high-frequency noise and exposing the true underlying macroeconomic drift.
● Non-Linear Variance Scaling
The most complex aspect of the engine is its approach to variance. Standard deviation on its own is an unbounded metric, making it difficult to utilize in a standardized visual format. The script solves this by isolating the width of the bounding box and comparing it against its own moving average and standard deviation. This transforms the raw width into a standardized probabilistic metric.
● The Sigmoidal Activation Function
To achieve the seamless visual gradient, this standardized variance must be mapped onto a finite plane. The engine employs a logistic function—specifically, a sigmoidal activation curve—to compress the unbounded variance data strictly between a 0 and 100 scale. This non-linear mapping ensures that the visual heatmap remains highly sensitive to subtle shifts around the mean, while gracefully asymptotically compressing extreme, outlier volatility spikes, thereby maintaining absolute visual coherence regardless of the asset's inherent behavior.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. 指標

MTF RSI Price Levels [DIN]## 📌 MTF RSI Price Levels
**What if your RSI could tell you exactly where price needs to go — before it gets there?**
Most traders use RSI to read momentum after the fact. This indicator flips that entirely. Instead of watching RSI react to price, **MTF RSI Price Levels projects the exact price required for RSI to reach overbought or oversold on up to four timeframes simultaneously** — plotted live, directly on your chart, right now.
The result is a set of forward-looking price levels that act as precision targets and confluence zones. Whether you're scalping the 1H or positioning on the weekly, you'll know in advance where RSI exhaustion lives — and when multiple timeframes agree, those levels become some of the most powerful areas on your chart.
---
## 🔬 How It Works
The RSI Price Level math is built on Wilder's smoothing algorithm — the same engine that powers the standard RSI. At every bar close, the indicator works backwards through the formula: given the current average gain and average loss at a specific timeframe, it solves for the exact closing price that would push RSI to your target level (default 70 overbought / 30 oversold) on the next bar.
This is not an approximation. It is a mathematically derived price level, recalculated live across every timeframe you have enabled, displayed as a labeled box and a centerline extending right from the current bar. Every time price moves, the levels update. Every time a new bar closes, the calculation refreshes.
Run it on crypto, forex, indices, or equities — wherever RSI has teeth, these levels will show you exactly where the market is being pulled.
---
## ☁️ The MTF Cloud
Above and below price, two dynamic clouds form — one anchored at your overbought RSI level, one at oversold — each blending between two user-selected timeframes. Where the clouds from different timeframes converge, you get a gradient zone of confluence. The closer price approaches these areas, the more compressed momentum tends to become.
The cloud is not decorative. It represents the space between what two different timeframe RSI calculations say about the same price level. When they agree, the cloud tightens. When they diverge, it widens. Bull and bear coloring shifts automatically based on where current price sits relative to the zone, giving you an instant read on whether you're approaching resistance or support.
---
## 📐 Built-In Divergence Engine
Hidden momentum shifts are detected automatically using a pivot-based divergence system running on your chosen timeframe. When price prints a higher high but RSI prints a lower high — or vice versa — the signal is marked directly on the chart with a clear label. No separate RSI panel needed. No manual scanning. The divergence comes to you.
- **Bearish Divergence (DIV▼)** — Price higher high, RSI lower high. Momentum fading into resistance.
- **Bullish Divergence (DIV▲)** — Price lower low, RSI higher low. Momentum building into support.
Both pivot lookback and divergence timeframe are fully adjustable.
---
## ⚙️ Full Customization — Built for Serious Traders
This indicator was designed so that no two setups have to look alike. Every parameter that matters is exposed in the settings panel, organized by group:
**Per Timeframe (up to 4 timeframes):**
- Timeframe selection (any TF supported by TradingView)
- Independent RSI length per timeframe
- Independent RSI source per timeframe
- Custom overbought and oversold threshold levels
- Individual box color, line color, and transparency per TF
**Cloud Settings:**
- Choose any two timeframes to anchor the cloud
- Set your own Level A and Level B for the fill range
- Independent bull and bear color for inner and outer cloud layers
- Gradual two-layer gradient fade built in
**Box & Line Style:**
- Box extend length (how far right the box projects)
- Box height as a percentage of price (works across all asset classes)
- Line width and line style (solid, dashed, dotted)
- Toggle labels on/off with adjustable label size
**Divergence:**
- Enable/disable divergence detection independently
- Choose the timeframe RSI runs the divergence scan on
- Adjust RSI length and pivot lookback for sensitivity control
**Alerts (4 Conditions):**
- Price enters any overbought zone
- Price enters any oversold zone
- Bullish divergence detected
- Bearish divergence detected
Set your alerts once. Let the indicator do the watching.
---
## 🎯 Best Use Cases
- **Confluence trading** — Stack multiple TF RSI levels and watch for price to cluster around the same area across 1H, 4H, Daily, and Weekly simultaneously. These are your highest-conviction zones.
- **Target projection** — In a trending move, use the OB levels on higher timeframes as your take-profit targets. The math tells you where RSI exhaustion lives.
- **Reversal hunting** — When price is approaching a major OS level on the Daily or Weekly with bullish divergence firing beneath, you have a layered, high-probability setup.
- **Scalping structure** — On lower timeframes, the levels act as short-term magnets. Watch how price respects or breaks through these zones and trade the reaction.
---
## 📋 Usage Notes
- **Higher timeframe levels carry more weight.** A Weekly OB level that aligns with a Daily OB level is significantly more significant than either alone.
- **The box height input is a percentage of price.** The default (0.003 = 0.3%) works well for most assets. Crypto with large price ranges may benefit from a lower value; lower-priced assets may need it slightly higher.
- **Divergence signals are plotted with an offset** equal to the pivot lookback period. This means the signal appears when the pivot is confirmed, not at the exact candle — this is intentional and keeps signals non-repainting.
- **Cloud timeframes are independent of the level timeframes.** You can run 1H + 4H levels while anchoring your cloud to 4H + Daily for a broader confluence picture.
---
## 🔔 Alerts Setup
After adding the indicator to your chart, go to the Alerts panel, create a new alert, and select this indicator from the condition dropdown. Four conditions are available:
1. Price in OB Zone
2. Price in OS Zone
3. Bearish Divergence Found
4. Bullish Divergence Found
---
*Built for traders who want their RSI to work harder.*
*Clean levels. Real math. No guessing.*
**— DIN** 指標

Volatility Power ZonesENGLISH DESCRIPTION
Volatility Power Zones is a multi-layer visual trading tool designed to combine volatility pressure, trend direction, momentum strength, volume confirmation and ATR-based trade zones into one clean chart structure.
This indicator is not designed to be used only by reading a single number. The healthiest interpretation comes from combining the Omega Score, the WVF line, the 3D ATR band, the green/red band structure, volume condition and power nodes together.
The main idea is simple: the market is stronger when price structure, trend, RSI, volume and WVF position support the same direction. When these elements separate from each other, the market should be treated with more caution.
CORE CALCULATIONS
The system uses Williams Vix Fix logic as the volatility-pressure base.
WVF is calculated from the highest high over the selected length and the current close:
WVF = ((Highest High - Close) / Highest High) × 100
Then this WVF value is smoothed with EMA to create the main WVF line.
The upper and lower WVF levels are created by multiplying the smoothed WVF value with user-defined upper and lower multipliers.
The WVF structure is then fitted onto the price chart by anchoring it around the recent lowest low and scaling it visually. This allows the WVF pressure line and band to be read directly on the chart instead of only in a separate oscillator panel.
ATR is used to create the 3D band zone around the WVF line. The band is divided into four visual layers:
Outer 3D Zone
Mid 3D Zone
Inner 3D Zone
Core 3D Zone
These layers create a soft depth effect and help the user visually understand expansion, compression and possible breakout areas.
OMEGA POWER SCORE
The Omega Score is calculated from four main components:
1. Trend Power
EMA 21 is compared with EMA 55.
If EMA 21 is above EMA 55, trend power is bullish.
If EMA 21 is below EMA 55, trend power is bearish.
2. RSI Power
RSI above 55 adds bullish strength.
RSI below 45 adds bearish strength.
RSI between 45 and 55 is treated as neutral.
3. WVF Power
If price is above the fitted WVF line, WVF power is bullish.
If price is below the fitted WVF line, WVF power is bearish.
4. Volume Power
If volume is above its 20-period average and the candle is bullish, volume power supports the bulls.
If volume is above its 20-period average and the candle is bearish, volume power supports the bears.
If volume is weak, volume power is neutral.
These four values are combined into one raw score and converted into a percentage between 0 and 100.
Omega Score above 55 suggests bullish pressure.
Omega Score below 45 suggests bearish pressure.
Between 45 and 55 is a neutral or decision zone.
HOW TO USE THE INDICATOR
The best trading zones are not created by the score alone. A strong setup appears when the Omega Score, the green band, the WVF line and price behavior confirm each other.
Bullish trade zones are healthier when:
The Omega Score is above 55.
Price is above the WVF line.
The band is green.
EMA trend is bullish.
RSI is above the neutral zone.
Volume supports the move.
Power nodes appear near a pivot low or after compression.
Bearish trade zones are healthier when:
The Omega Score is below 45.
Price is below the WVF line.
The band is red.
EMA trend is bearish.
RSI is below the neutral zone.
Volume supports selling pressure.
Power nodes appear near a pivot high or after compression.
The green band should not be used alone. The score should not be used alone. The strongest reading comes when the visual band and the Omega Score agree at the same time.
BAND COMPRESSION AND BREAKOUT LOGIC
One of the most important parts of this indicator is the 3D ATR band.
When the band becomes narrow, compressed or visually tight, it can show that the market is preparing for a larger move. These areas can be breakout preparation zones.
A narrow band does not mean the breakout direction is guaranteed. Direction should be confirmed by:
Omega Score
WVF line position
Price closing above or below the band
Volume increase
EMA trend direction
RSI strength
The best breakout areas usually appear when price compresses around the WVF band, the band becomes tight, and then price breaks away with rising Omega Score and stronger volume.
For bullish breakout conditions, look for price moving above the WVF upper zone while Omega Score turns bullish and the band color supports the move.
For bearish breakout conditions, look for price moving below the WVF lower zone while Omega Score turns bearish and the band color supports the move.
POWER NODES
Power Nodes are visual pivot-based markers. They appear around confirmed pivot highs and pivot lows. The number shown near the node is the current Omega Score.
These nodes are useful for reading market strength at turning points.
A low pivot with a strong Omega Score may suggest accumulation or bullish recovery.
A high pivot with a weak Omega Score may suggest distribution or bearish pressure.
A pivot with neutral score should be treated carefully because it may represent range movement.
Power Nodes should not be treated as automatic buy or sell signals. They are confirmation markers. The healthiest use is to combine the node score with the band color, WVF line, trend and volume.
PANEL INTERPRETATION
The panel shows the internal state of the indicator.
OMEGA shows the total combined power percentage.
TREND shows EMA 21 versus EMA 55.
RSI shows momentum condition.
WVF shows whether price is above or below the WVF line.
VOLUME shows whether current volume is strong or weak.
ATR shows current volatility.
SIGNAL gives a combined reading such as STRONG-BUY, STRONG-SELL or HOLD.
POWERS displays internal trend and volume power values.
The panel is designed as a decision-support area. It should be read together with the chart, not separately.
BEST PRACTICE
The strongest setups usually appear when multiple parts of the system agree:
Green band + Omega above 55 + price above WVF + bullish trend + strong volume = healthier bullish zone.
Red band + Omega below 45 + price below WVF + bearish trend + strong volume = healthier bearish zone.
Narrow band + rising volume + breakout from WVF zone + score confirmation = possible breakout trade zone.
Neutral score + mixed band + weak volume = avoid or wait zone.
This indicator is designed to reduce random decisions by forcing the user to look at combined evidence instead of only one signal.
IMPORTANT NOTE
No indicator can predict the market with certainty. OMEGA WVF 3D Power Nodes should be used as a visual decision-support tool. It is most useful when combined with price action, risk management, higher timeframe direction and personal trading rules.
TÜRKÇE AÇIKLAMA
OMEGA WVF 3D Power Nodes; volatilite baskısı, trend yönü, momentum gücü, hacim onayı ve ATR tabanlı trade bölgelerini tek grafik üzerinde birleştirmek için tasarlanmış çok katmanlı görsel bir analiz aracıdır.
Bu gösterge sadece tek bir rakama bakılarak kullanılmak için tasarlanmamıştır. En sağlıklı yorum; Omega Skoru, WVF çizgisi, 3D ATR bandı, yeşil/kırmızı bant yapısı, hacim durumu ve power node noktaları birlikte değerlendirildiğinde ortaya çıkar.
Ana fikir şudur: fiyat yapısı, trend, RSI, hacim ve WVF konumu aynı yönü desteklediğinde piyasa daha güçlü okunur. Bu parçalar birbirinden ayrıştığında piyasa daha dikkatli izlenmelidir.
TEMEL HESAPLAMALAR
Sistem volatilite baskısı için Williams Vix Fix mantığını temel alır.
WVF, seçilen uzunluk içindeki en yüksek fiyat ile mevcut kapanış arasındaki farktan hesaplanır:
WVF = ((En Yüksek Fiyat - Kapanış) / En Yüksek Fiyat) × 100
Daha sonra bu WVF değeri EMA ile yumuşatılır ve ana WVF çizgisi oluşturulur.
Üst ve alt WVF seviyeleri, yumuşatılmış WVF değerinin kullanıcı tarafından belirlenen üst ve alt çarpanlarla çarpılmasıyla elde edilir.
WVF yapısı daha sonra fiyat grafiğine oturtulur. Bunun için yakın dönem en düşük fiyat referans alınır ve WVF değeri görsel olarak fiyat ölçeğine taşınır. Böylece WVF baskı çizgisi ve bandı ayrı bir osilatör gibi değil, doğrudan fiyat grafiği üzerinde okunabilir.
ATR, WVF çizgisinin etrafında 3D bant bölgesi oluşturmak için kullanılır. Bant dört görsel katmana ayrılmıştır:
Dış 3D Bölge
Orta 3D Bölge
İç 3D Bölge
Çekirdek 3D Bölge
Bu katmanlar derinlik hissi verir ve kullanıcının genişleme, daralma ve olası breakout bölgelerini daha rahat görmesini sağlar.
OMEGA GÜÇ SKORU
Omega Skoru dört ana bileşenden oluşur:
1. Trend Gücü
EMA 21, EMA 55 ile karşılaştırılır.
EMA 21, EMA 55’in üzerindeyse trend gücü pozitiftir.
EMA 21, EMA 55’in altındaysa trend gücü negatiftir.
2. RSI Gücü
RSI 55 üzerindeyse pozitif momentum kabul edilir.
RSI 45 altındaysa negatif momentum kabul edilir.
RSI 45 ile 55 arasındaysa nötr bölge kabul edilir.
3. WVF Gücü
Fiyat WVF çizgisinin üzerindeyse WVF gücü pozitiftir.
Fiyat WVF çizgisinin altındaysa WVF gücü negatiftir.
4. Hacim Gücü
Hacim 20 periyotluk ortalamanın üzerindeyse ve mum pozitifse hacim boğaları destekler.
Hacim 20 periyotluk ortalamanın üzerindeyse ve mum negatifse hacim ayıları destekler.
Hacim zayıfsa hacim gücü nötr kabul edilir.
Bu dört güç değeri birleştirilir ve 0 ile 100 arasında yüzdelik Omega Skoru oluşturulur.
Omega Skoru 55 üzerindeyse pozitif baskı öne çıkar.
Omega Skoru 45 altındaysa negatif baskı öne çıkar.
45 ile 55 arası karar, denge veya nötr bölge olarak okunur.
GÖSTERGE NASIL KULLANILMALI?
En iyi trade bölgeleri yalnızca skorla oluşmaz. Güçlü kurulumlar; Omega Skoru, yeşil bant, WVF çizgisi ve fiyat davranışı aynı yönü desteklediğinde oluşur.
Daha sağlıklı yükseliş bölgeleri için:
Omega Skoru 55 üzerinde olmalı.
Fiyat WVF çizgisinin üzerinde olmalı.
Bant yeşil olmalı.
EMA trendi pozitif olmalı.
RSI nötr bölgenin üzerinde olmalı.
Hacim hareketi desteklemeli.
Power node dip bölgesinde veya sıkışma sonrası oluşmalı.
Daha sağlıklı düşüş bölgeleri için:
Omega Skoru 45 altında olmalı.
Fiyat WVF çizgisinin altında olmalı.
Bant kırmızı olmalı.
EMA trendi negatif olmalı.
RSI nötr bölgenin altında olmalı.
Hacim satış baskısını desteklemeli.
Power node tepe bölgesinde veya sıkışma sonrası oluşmalı.
Yeşil bant tek başına kullanılmamalıdır. Omega Skoru da tek başına kullanılmamalıdır. En güçlü okuma, görsel bant ile skor aynı anda aynı yönü gösterdiğinde oluşur.
BANT DARALMASI VE BREAKOUT MANTIĞI
Bu göstergenin en önemli bölümlerinden biri 3D ATR bandıdır.
Bant daraldığında, sıkıştığında veya görsel olarak inceldiğinde piyasanın daha büyük bir harekete hazırlandığı düşünülebilir. Bu bölgeler breakout hazırlık alanları olabilir.
Fakat bant daralması tek başına yön garantisi vermez. Yön şu parçalarla teyit edilmelidir:
Omega Skoru
WVF çizgisi konumu
Fiyatın bandın üstüne veya altına kapanış yapması
Hacim artışı
EMA trend yönü
RSI gücü
En iyi breakout bölgeleri genellikle fiyat WVF bandı etrafında sıkışırken, bant daralırken ve ardından Omega Skoru ile hacim artışı eşliğinde fiyatın banttan uzaklaşmasıyla oluşur.
Pozitif breakout için fiyatın WVF üst bölgesinin üzerine çıkması, Omega Skorunun pozitif tarafa dönmesi ve bant renginin hareketi desteklemesi beklenebilir.
Negatif breakout için fiyatın WVF alt bölgesinin altına inmesi, Omega Skorunun negatif tarafa dönmesi ve bant renginin hareketi desteklemesi beklenebilir.
POWER NODE NOKTALARI
Power Node noktaları pivot tabanlı görsel işaretlerdir. Onaylanmış tepe ve dip bölgelerinde görünürler. Node yanında görünen rakam mevcut Omega Skorunu gösterir.
Bu noktalar dönüş bölgelerinde piyasa gücünü okumak için kullanılır.
Dip pivot bölgesinde yüksek Omega Skoru, toparlanma veya alım baskısı ihtimalini güçlendirebilir.
Tepe pivot bölgesinde düşük Omega Skoru, dağıtım veya satış baskısı ihtimalini güçlendirebilir.
Nötr skorlu pivotlar dikkatli değerlendirilmelidir çünkü piyasa yatay veya kararsız olabilir.
Power Node noktaları otomatik al/sat sinyali gibi görülmemelidir. Bunlar teyit işaretleridir. En sağlıklı kullanım; node skoru, bant rengi, WVF çizgisi, trend ve hacim birlikte değerlendirildiğinde oluşur.
PANEL OKUMA
Panel göstergenin iç durumunu gösterir.
OMEGA toplam birleşik güç yüzdesini gösterir.
TREND EMA 21 ve EMA 55 ilişkisini gösterir.
RSI momentum durumunu gösterir.
WVF fiyatın WVF çizgisinin üzerinde mi altında mı olduğunu gösterir.
VOLUME mevcut hacmin güçlü mü zayıf mı olduğunu gösterir.
ATR mevcut volatiliteyi gösterir.
SIGNAL birleşik okuma sonucunu STRONG-BUY, STRONG-SELL veya HOLD olarak verir.
POWERS trend ve hacim güç değerlerini gösterir.
Panel tek başına değil, grafik yapısıyla birlikte okunmalıdır. Panel karar destek alanıdır.
EN SAĞLIKLI KULLANIM
En güçlü kurulumlar sistemin birden fazla parçası aynı yönü gösterdiğinde oluşur:
Yeşil bant + Omega 55 üzeri + fiyat WVF üzerinde + pozitif trend + güçlü hacim = daha sağlıklı yükseliş bölgesi.
Kırmızı bant + Omega 45 altı + fiyat WVF altında + negatif trend + güçlü hacim = daha sağlıklı düşüş bölgesi.
Daralan bant + artan hacim + WVF bölgesinden breakout + skor teyidi = olası güçlü trade bölgesi.
Nötr skor + karışık bant + zayıf hacim = bekleme veya işlemden uzak durma bölgesi.
Bu gösterge, kullanıcıyı tek bir sinyale bağlı kalmaktan uzaklaştırmak ve birleşik kanıtlarla daha sağlıklı karar vermeye yönlendirmek için tasarlanmıştır.
ÖNEMLİ NOT
Hiçbir gösterge piyasayı kesin olarak tahmin edemez. OMEGA WVF 3D Power Nodes bir karar destek ve görsel analiz aracıdır. En verimli kullanım; fiyat aksiyonu, risk yönetimi, üst zaman dilimi yönü ve kişisel işlem kurallarıyla birlikte yapılır.
指標

指標

Quantum Flux Bands [JOAT]Quantum Flux Bands
Quantum Flux Bands is an institutional-style regime detector. It stationarizes the price series via Fixed-Window Fractional Differentiation (FFD), runs a classical CUSUM change-point test on the stationarized stream, and draws a baseline that snaps to a new price level on every confirmed regime shift. Around the baseline, three percentile envelopes (50%, 68%, 90%) are drawn and modulated by a windowed Shannon entropy estimator so the bands narrow in low-noise regimes and widen in high-noise regimes.
What makes it different
Most regime filters hard-code a differentiation order (typically the first difference). FFD takes a real-valued differentiation order d between 0 and 1, retaining long-memory while making the series statistically stationary. This script chooses d adaptively from a rolling Hurst estimate so it responds to the market's persistence regime instead of being a fixed magic number.
The CUSUM trigger is fed by FFD-stationarized values, not raw returns. This reduces baseline whipsaws in trending markets that violate stationarity assumptions of classical CUSUM.
The bands are entropy-weighted. When the local windowed Shannon entropy is high (low signal-to-noise) the bands expand. When entropy is low (clean regime) they contract. The bands lock at the moment of a confirmed regime shift so they describe the regime under which the baseline was established.
How it works
A two-point Hurst estimator (rescaled-range over short and long windows) drives an adaptive differentiation order d in the range 0.30 to 0.90.
FFD weights are recomputed only when d drifts by more than 0.05 from its cached value. Caching keeps per-bar work near zero.
FFD weights are applied to a sliding window of close prices to produce a stationarized series.
Classical CUSUM tracks cumulative positive and negative deviations of the stationarized series from a running baseline reference, with user-configurable drift and threshold parameters.
When CUSUM exceeds the threshold, the baseline snaps to the current close and the trend state is set to bull or bear.
Inner, mid, and outer envelopes are drawn from percentile_linear_interpolation of the absolute distance between close and baseline, multiplied by an entropy modulator.
A bull probability is computed from the Abramowitz and Stegun standard-normal CDF on the signed band-distance and surfaced as a numeric label.
Reading the chart
Baseline line tinted purple in bull regimes, cyan in bear regimes, muted in neutral.
Six percentile band lines (upper and lower inner, mid, outer) with three pairs of atmospheric gradient fills calibrated so candles remain readable through every layer.
Optional iridescent candle recolor scales tint by signed regime score.
A probability label at the right edge of the chart shows the live bull probability.
Seven right-edge price labels, one per envelope level plus baseline, each sit at their own price.
Regime-shift timeline labels record every confirmed regime change with its baseline price and bull probability at the time of the shift.
A 21-segment vertical strength gauge at the right edge maps the continuous regime strength score onto a bull / bear / neutral scale, with a dashed sight-line drawing the gauge level back into the chart.
A short forward probability cone: two dashed segments at outer band levels with opacity scaled by class probability.
Signals
Bull / bear regime entry (CUSUM trigger with direction)
Outer band touch
Outer band rejection (wick pierces the outer band but the body closes back inside)
Baseline reclaim (close re-crosses the baseline)
All gated on barstate.isconfirmed or barstate.ishistory. No future references. No lookahead_on.
Inputs
Fractional Differentiation : FFD window length.
CUSUM : volatility period, drift parameter, threshold parameter.
Regime : Hurst short / long lookbacks, entropy window / bins / z-score length.
Bands : percentile lookback.
Visual : bullish, bearish, quantum purple, quantum cyan colors. Band visibility toggles. Iridescent candles. Regime pulse. Probability label.
Labels : right-edge level labels, regime timeline (offset off candle wicks by ATR), baseline reclaim markers (direction-sensitive Y offset, configurable minimum-bar spacing), band touch and rejection labels (configurable minimum-bar spacing per type), strength gauge, sight-line needle, probability cone, FFD memory label, entropy state strip.
Dashboard : position, size.
How traders use this
Mean-reversion fades from outer-band touches inside a stable regime (Hurst mean-reverting, low entropy z) are statistically supported setups.
Regime-shift entries : when the baseline snaps and the trend turns, the first inner-band retest is a higher-quality continuation entry than chasing the breakout bar.
Probability filter : use the bull probability label as a confidence multiplier for other systems. Below 30% or above 70% are the actionable zones.
Entropy context : high entropy z (band-multiplier expanded) is a low conviction, wider stops warning. Low entropy z (bands tight) is a high conviction, tighter stops green light.
Limitations
Fractional differentiation is a smoothing and filtering tool. It cannot create information that is not already in the price series.
CUSUM, like any change-point detector, lags real-time tops and bottoms. It is calibrated to balance whipsaw against responsiveness.
The two-point Hurst estimator is a fast approximation. For long-horizon classification it agrees with the full R/S statistic. For very short windows it is noisier.
Past regime persistence does not guarantee future regime persistence.
Compatibility
Pine Script v6 open-source indicator. Any symbol, any timeframe (longer timeframes give the FFD window more meaningful history). No external request.security calls. Non-repainting: regime shifts are committed on confirmed bars and baseline values are not retroactively rewritten.
Defaults
Mint and red bullish / bearish defaults. Purple and cyan quantum accents. Top-right medium dashboard. All on-chart visualizations on. Increase the FFD window for very high timeframes (daily and above) and decrease the percentile lookback for fast intraday charts.
Credits
Fractional differentiation methodology popularized by López de Prado, Advances in Financial Machine Learning (2018).
CUSUM change-point test as published by E. S. Page, Biometrika (1954).
Standard-normal CDF approximation per Abramowitz and Stegun (1964).
指標

Yesterday Based High/Low strong setup bosstvs tikole s.p. pune
### **Indicator Overview**
This indicator is designed specifically for intraday traders (especially for the Indian/NSE market). It automatically plots Yesterday’s key levels and marks the High and Low of specific afternoon time ranges (2:25 to 2:35 PM) to help you find breakout or breakdown trades.
#### **1. Yesterday’s Key Levels (Yellow, Red, Blue Circles)**
These levels are calculated from the previous day's High, Low, and 50% midpoint. They act as major support and resistance for the current day.
* **Yellow Line (Yesterday 50%):** This is the midpoint of yesterday's High and Low. It is a strong psychological level. If the price is above this line, the market sentiment is generally bullish; if below, it's bearish.
* **Red Line (Yesterday High):** The highest point reached yesterday. If the price breaks above this line today, it signals a strong breakout.
* **Blue Line (Yesterday Low):** The lowest point reached yesterday. If the price breaks below this line today, it signals a strong breakdown.
#### **2. Time-Based High/Low Markers (2:25 PM to 2:35 PM)**
The afternoon session (around 2:30 PM) often creates a strong momentum move or a range before the market closes. This indicator captures the exact High and Low of these specific time ranges.
* **Orange Line (2:30 H):** This line represents the **Highest Price** between **14:25 and 14:30**. If the price breaks above this orange line after 2:30 PM, you can take a Buy (Long) trade.
* **Red Line (2:35 H):** This line represents the **Highest Price** between **14:30 and 14:35**. Another breakout level for Buy trades.
* **Green/Lime Line (2:35 L):** This line represents the **Lowest Price** between **14:30 and 14:35**. If the price breaks below this green line after 2:35 PM, you can take a Sell (Short) trade.
*Note: The price values (e.g., 44250.50) are displayed as labels on the left side of the lines so you know the exact level to watch.*
#### **3. "No History" Clean Chart Feature**
To keep your chart clean, the 2:30 and 2:35 lines are **only drawn for the current day**. When you scroll back to previous days, you will *not* see those old lines cluttering the chart. However, Yesterday's High, Low, and 50% lines will naturally remain visible in history.
---
### **How to Trade Using This Indicator (Example Strategy)**
1. **Pre-Market / Morning:** Watch how the price reacts to the **Yellow (50%)** line. Use it as a trend filter.
2. **Afternoon (2:25 PM - 2:35 PM):** Wait for the time ranges to finish. Do not trade during the 10 minutes while the lines are being formed.
3. **The Breakout Trade:**
* After 2:35 PM, if the price crosses **above** the Orange (2:30 H) or Red (2:35 H) lines with a strong candle, **Buy**. Keep your Stop Loss slightly below the Green (2:35 L) line.
* After 2:35 PM, if the price crosses **below** the Green (2:35 L) line with a strong candle, **Sell**. Keep your Stop Loss slightly above the Red (2:35 H) line.
4. **Confluence:** The best trades happen when the 2:30/2:35 breakout lines align with Yesterday's High or Low (Red/Blue circles).
---
### **Important Note on Timeframes**
This indicator is coded to work accurately on **1-minute, 3-minute, and 5-minute** charts. It automatically adjusts its internal calculation based on which of these three timeframes you are currently viewing. For best results, use a 3-minute or 5-minute chart. 指標

指標

Position Architect [JOAT]Position Architect
Position Architect is an auto-triggered trade-plan visualizer. It consumes a signal source (any plot of another indicator, or a fallback SMA-cross), arms a trade with ATR-scaled stop loss and three risk-reward-scaled targets, and tracks the trade live with breakeven slide, R-multiple lines, MFE / MAE tracking, multi-currency PnL, position sizing, required margin, Kelly sizing suggestion, and a trade-history strip.
What makes it different
Most trade-planner indicators are manual: the user clicks entry, stop, and target. Position Architect is auto-triggered via input.source, so it plans trades from external signal feeds (other JOAT indicators or any compatible script).
Four trigger modes: Manual toggle, Source-above-SMA, Source-cross-above-SMA, Source-cross-below-SMA. These cover bias, breakout, and counter-trend logics.
A three-target ladder (not just one or two) with intermediate R-multiple lines (0.5R, 1R, 1.5R, 2R, 2.5R, 3R) drawn between entry and Target 3 so you see partial-take levels at a glance.
Live R-multiple, MFE, MAE displayed next to the trade in real time. After the trade closes, those values are baked into a persistent history label.
Kelly sizing suggestion based on an assumed win rate and the current risk-reward, capped at 25% to avoid pathological recommendations.
How it works
The signal source is the user-selected input.source. The trigger rule (one of four modes) determines when a long or short is armed.
On arm: entry equals the current close. SL equals low minus ATR(14) times slMult for longs (or symmetric for shorts). Three targets at entry plus or minus risk times tp1Mult / tp2Mult / tp3Mult.
Lifecycle gates on bar_index greater than tradeBar so the arm bar itself cannot also register hits (preventing spurious instant fills).
Each subsequent bar: check for TP1, TP2, TP3 hits in order, plus stop-loss. TP3 takes precedence over SL on same-bar pierces. If TP1 hits and breakeven is enabled, the stop slides to entry.
Position sizing: pos_size equals (capital times riskPct / 100) divided by (sl_pct / 100). Required margin equals pos_size divided by leverage.
Kelly suggestion: f-star equals winRate minus (1 minus winRate) divided by RR, clamped to 25% max.
Reading the chart
Five horizontal price lines: entry (blue), SL (red), TP1 / TP2 / TP3 (green shades), each width 3 to 5.
Five price-only labels at the right edge with R-multiples and percentages.
Two linefills: a translucent red risk zone between entry and SL, a translucent green reward zone between entry and TP3.
bgcolor tint while a trade is open.
A 1-bar bgcolor pulse on TP / SL / breakeven events.
A live R+0.8 MFE+1.5 MAE-0.3 label updating each bar near current price.
Bars-in-trade counter near the entry.
Trade-history strip above past entries with W/L outcomes and R-multiples.
R-multiple intermediate lines with right-edge labels.
A daily trade count plus win-rate summary.
A comprehensive dashboard with capital, risk, leverage, R:R, Kelly, position size, required margin, direction, entry, current price, live PnL, status (OPEN / WIN / LOSS), bars in trade.
Signals
Trade activated long / short
Target 1 / 2 / 3 hit
Stop loss hit
Breakeven slid
All gated on barstate.isconfirmed or barstate.ishistory. No future references.
Inputs
Signal : signal source, trigger mode, signal SMA length, manual long / short toggles.
Targets : SL ATR multiplier, TP1 / TP2 / TP3 risk multipliers, breakeven toggle, line extension bars.
Capital : capital amount, risk percent, leverage, currency code.
Kelly : assumed win rate.
Visual : bullish / bearish colors, entry line color, SL line color, TP line color, R-multiple lines toggle, history strip toggle.
Dashboard : position, size.
How traders use this
Discretionary planning : switch to Manual mode and toggle manualLong / manualShort to drop a complete plan at the current price, with ATR-aware stops and risk-aware sizing.
Signal integration : connect Position Architect's signal source to another JOAT indicator's plot output (for example the composite of Iridescent Helix or the Stage-3 line of Sentinel Cascade) and let it auto-arm trades.
Risk audit : the dashboard's R:R, position size, required margin, and Kelly suggestion are an instant pre-trade audit. You can compare across instruments.
Performance review : the trade-history strip lets you scroll back through recent trades on the chart and see R-multiples without needing a separate journal.
Limitations
Kelly sizing assumes a stable win-rate-and-R distribution. Real performance varies. The suggestion is a calibration reference, not a recommendation.
Position sizing is in price units. For futures or forex contracts the user must convert to contract count manually.
The signal source must be a series compatible with input.source. If the connected indicator does not expose a useful plot, the trigger logic falls back to close.
Trade lifecycle assumes one open position at a time. No pyramiding inside this script.
Compatibility
Pine Script v6 open-source indicator (overlay). Any symbol, any timeframe. ASCII currency codes (no Unicode glyphs) for cross-platform display. No request.security calls.
Defaults
SL ATR multiplier 1.5, targets at 1R / 2R / 3.5R, breakeven on after TP1, mint / red palette, ten-thousand-dollar capital with one percent risk and one times leverage, top-right medium dashboard.
指標

Adaptive Regime Detector [4-State] [TSL]════════════════════════════════════════════════════════════
SCRIPT TITLE (the "Title" field when publishing):
Adaptive Market Regime Detector
SUGGESTED TAGS:
regime, trend, volatility, ATR, marketregime, futures,
efficiencyratio, choppiness, adaptive, context
════════════════════════════════════════════════════════════
DESCRIPTION (paste into the description box):
────────────────────────────────────────────────────────────
Most regime filters answer the wrong question. They tell you a single number — "ADX is 27" — and leave you to guess what that means for the symbol and timeframe in front of you. That threshold was calibrated on one market. Load it somewhere else and it quietly misfires, because volatility and trend distributions are not the same on NQ 1-minute as they are on BTC 4-hour.
This indicator takes a different approach. It does not use a single hard-coded threshold anywhere. Instead, every metric is ranked against its own recent distribution using percentile scoring, so the boundary between "trending" and "ranging" recalibrates to whatever chart you put it on. The same script adapts across symbols and timeframes without manual retuning.
── WHAT IT DOES ──
On each confirmed bar, the script measures two independent axes:
Trend axis — Kaufman Efficiency Ratio (directional travel divided by total path) combined with an ATR-normalized EMA slope. High when price is making clean directional progress, low when it is grinding sideways.
Volatility axis — the percentile rank of ATR combined with the percentile rank of Bollinger Band width. High when ranges are expanding, low when the market is compressed.
Crossing those two axes produces four regimes rather than the usual three:
• TRENDING + VOLATILE — direction and range together. The momentum environment.
• TRENDING + CALM — orderly directional grind, muted volatility.
• VOLATILE CHOP — wide two-sided candles going nowhere.
• QUIET RANGE — low volatility, no direction.
The distinction between a volatile trend and a volatile range is the reason this exists. Most detectors collapse both into one "high volatility" state, but they are opposite trading environments. Splitting them apart is the practically useful part.
── HOW TO READ IT ──
Background shading colors the chart by the active regime. A compact dashboard in the corner shows the live trend score, volatility score, direction, a confidence reading (how decisively the dominant axis clears its threshold), and a one-line note for the current state.
── ANTI-FLICKER ──
A regime only changes after a configurable number of consecutive bars agree (default 3). This trades a few bars of lag for a stable label, so the read does not strobe back and forth in transition zones. All logic runs on confirmed bars; the script does not repaint.
── SETTINGS ──
Percentile lookback — the window each metric is ranked against. Lower it toward 80–100 on the 1-minute, keep it near 120 on the 5-minute and above.
Trend / Volatility percentile thresholds — how far above its own distribution a score must sit to count as trending or volatile. Defaults 60 / 65.
Confirmation bars — agreeing bars required before the label flips. Higher is steadier and slower.
Display — background shading, dashboard, dashboard position, background transparency.
Alerts — fires once per bar close on a confirmed regime change, with the new regime and confidence in the message.
Defaults are tuned for index futures (NQ, ES, MNQ, MES) on intraday charts, but because the engine is adaptive it works on forex, crypto, and stocks without retuning.
── HOW TO USE IT ──
This is a context filter, not a signal generator. It tells you which kind of market you are in so you can apply the tactic that fits — momentum in a volatile trend, pullback entries in a calm trend, mean reversion or standing aside in chop, reduced size in a quiet range. Pair it with your own entry trigger and risk plan. The regime read tells you which tool to reach for, not where to click.
── LIMITATIONS ──
It classifies context; it does not predict direction or generate entries. Transitions are inherently fuzzy and the confirmation buffer means the label arrives a few bars after a regime genuinely shifts — that is deliberate. On a freshly loaded chart with little history, the percentile scores can be jumpy until enough bars accumulate to form a stable distribution.
Open source. The full Pine v6 source is on this page — read it, fork it, adapt it to your own strategy.
This script is an analytical tool published for educational purposes. It does not constitute financial advice and does not guarantee any trading outcome. Trading involves substantial risk of loss. 指標

指標
