[ A L P H A X ] FORTRESS - Supply & Demand Zone EngineAlphaX FORTRESS — Supply & Demand Zone Engine with Zone Grading, Session VWAP Confluence, Liquidity Sweep Signals, HTF Zone Overlay & Live Backtest Statistics
AlphaX FORTRESS is a professional-grade supply and demand system built around an institutional zone detection engine that identifies, grades, and tracks every significant supply and demand zone on the chart — then fires precision entry signals only when price returns to those zones with genuine rejection confirmation, multi-layer filter alignment, and a qualifying zone grade. Where most supply and demand indicators simply draw boxes and leave the trader to decide what to do, FORTRESS integrates a five-factor zone grading algorithm (A+ through C), session VWAP confluence scoring, higher timeframe zone overlay, liquidity sweep detection, a full suite of entry quality filters, and a live on-chart backtest statistics tracker that counts wins, losses, and win rate in real time directly from the chart's history. Every signal is supported by zone grade verification, trend alignment, ADX confirmation, volume delta pressure, premium/discount positioning, and rejection wick quality — producing a complete, self-contained supply and demand trading system. Designed for active traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏛 Supply & Demand — The Institutional Framework
Supply and demand zones are the foundational building blocks of institutional price delivery. Unlike horizontal support and resistance drawn from price memory, genuine supply and demand zones are identified from the origin of explosive moves — the exact price range where institutions accumulated or distributed their positions before driving price aggressively in one direction.
Demand Zone: Formed when price makes an explosive bullish move away from a base. The base — one or more low-momentum candles directly preceding the explosive candle — represents the range where institutional buyers accumulated their full position. When price returns to this zone, unfilled buy orders are waiting. The most reliable demand zone retests produce sharp, rejection-candle bounces from within the zone.
Supply Zone: The mirror image. An explosive bearish move preceded by a base of low-momentum candles. Institutions distributed their position in the base before driving price aggressively lower. On return, unfilled sell orders produce sharp rejection moves downward from within the zone.
Why FORTRESS detects zones differently from most indicators: Most zone detectors use a simple pivot or pattern check. FORTRESS requires three simultaneous conditions for a zone to qualify — the departure candle must be explosive (ATR-scaled range), the body must represent a minimum proportion of the total range (body quality filter), and volume must confirm when enabled. Only zones formed by genuine institutional displacement are registered.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 Zone Detection Engine — Quality Filters
Every zone formed by FORTRESS passes three mandatory quality gates before being registered:
Explosive Move Filter:
The departure candle (the candle that leaves the base and drives price) must have a total range exceeding the ATR by a configurable multiplier (default: 1.2×). This filters out zones formed by slow, grinding moves — only impulsive, institutionally driven departures qualify. Smaller ATR multipliers produce more zones; larger values produce fewer, higher-quality zones.
Body Quality Filter:
The departure candle's body must represent at least a configurable percentage of its total range (default: 55%). A small body in a large-range candle indicates indecision — the candle moved far but closed near its midpoint, suggesting weak directional conviction. A large body relative to range confirms genuine one-directional pressure on the departure move.
Volume Confirmation (optional):
When enabled, the departure candle's volume must exceed the average volume (configurable period, default: 20 bars) by a minimum multiplier (default: 1.1×). High-volume departures carry more institutional weight than same-range moves on average volume. The volume filter is off by default — this allows the system to work effectively on instruments where volume data is unreliable (forex spot, crypto perpetuals) while providing an additional quality gate when reliable volume is available.
Base Detection:
The base candles immediately preceding the explosive departure are automatically detected — up to the configurable maximum (default: 2 candles). Base candles must have a body smaller than 0.5× ATR and must not themselves be explosive. The full base range is incorporated into the zone boundaries, accurately reflecting the complete accumulation or distribution range rather than just the departure candle alone.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏅 Zone Grading System — A+ Through C
Not all supply and demand zones are equal. A zone formed on massive volume with VWAP confluence during a premium price area carries fundamentally more institutional weight than the same pattern on average volume in a random price area. FORTRESS quantifies this difference with a five-factor algorithmic grading system that assigns every zone a grade of A+, A, B, or C at the moment of formation.
Grading factors and their weights:
Move Strength (up to 30 points) — the ratio of the departure candle's range to ATR, capped at 30 points. Stronger, more explosive departures score higher. A 3× ATR departure scores maximum; a 1.2× departure (the minimum threshold) scores proportionally lower
Volume Ratio (up to 20 points) — when volume confirmation is enabled, the ratio of departure volume to average volume, capped at 20 points. When volume confirmation is off, a flat 10 points is awarded to maintain grade comparability across instruments. High-volume departures receive the full bonus
VWAP Confluence (20 points) — full 20 points awarded when the session VWAP is within a configurable ATR tolerance of the zone boundaries at the time of formation. A zone that forms directly at the institutional session reference level carries significantly more weight than a zone formed far from VWAP. This is the VWAP Boosts Grade feature
HTF Zone Match (20 points) — full 20 points when the zone overlaps with an active higher timeframe supply or demand zone. Confluence between the current timeframe zone and the HTF zone indicates institutional activity at multiple timeframe levels simultaneously — the strongest possible zone quality condition
PD Zone Match (15 points) — awarded when the zone forms in the institutionally correct price area: supply zones in premium (above dealing range equilibrium) and demand zones in discount (below equilibrium). A supply zone in premium and a demand zone in discount are positioned where institutions naturally distribute and accumulate respectively
Base bonus (5 points) — a flat quality bonus applied to all qualifying zones
Grade thresholds:
A+ (80+ points) — elite institutional zone. All or most factors aligned. Maximum conviction
A (65–79 points) — strong zone with multiple confirming factors. High quality
B (50–64 points) — solid zone with partial confirmation. Standard quality
C (below 50 points) — low-quality zone. Formed with minimal supporting factors
The grade badge is displayed directly on the zone box on the chart. The minimum grade filter (default: B) blocks signals from C-grade zones entirely — preventing entries at the lowest-quality institutional levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Session VWAP Confluence
The session VWAP is plotted as a continuous purple line and serves two distinct roles in FORTRESS.
Visual reference: The VWAP line and optional ±1σ bands provide the institutional session fair value reference directly on the price chart. Optional band display shows the first standard deviation envelope around VWAP.
Grade booster: When VWAP Boosts Grade is enabled (default: on), every zone that forms within ATR tolerance of the session VWAP receives 20 additional grade points — frequently elevating a B-grade zone to A or A+ when VWAP proximity confirms institutional positioning at that level.
Why VWAP at the zone matters: The session VWAP is the single most widely watched intraday reference level by institutional desks, algorithms, and market makers. When a supply or demand zone forms directly at the VWAP, it means the institutional activity that created the zone coincided with the session's fairest price level — the most contested and significant price in the session. Retests of these zones carry the highest probability of generating a sharp institutional response.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 HTF Zone Overlay
FORTRESS pulls supply and demand zones from a configurable higher timeframe (default: 60-minute) and overlays them on the current chart as purple dashed boxes.
What HTF zones represent: A supply or demand zone on H1 was created by a significantly larger impulsive move than anything visible on M5 or M1. These zones represent institutional positioning decisions made on a multi-hour timeframe — they carry far more weight than same-pattern zones on the current timeframe. When a current timeframe demand zone overlaps with an active H1 demand zone, two independent timeframes of institutional evidence are concentrated at the same price level.
Zone matching in the grader: When a newly formed current timeframe zone overlaps with an active HTF zone of the same type, it receives the full 20-point HTF Match bonus in the grading system — frequently pushing the zone from B to A or A+ grade. The label also appends ·HTF to confirm the match.
HTF zone lifecycle: HTF zones are maintained in real time. When price closes above an HTF supply zone or below an HTF demand zone, the zone is deleted automatically — mitigated zones are no longer relevant and are removed to keep the chart clean.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💧 Liquidity Sweep Signal Mode
In addition to standard zone rejection signals, FORTRESS detects a powerful second entry type: the liquidity sweep — where price wicks through a zone's boundary to grab stop orders before reclaiming back inside.
Demand sweep (bull): Price wicks below the demand zone bottom by at least the minimum sweep depth (default: 0.15× ATR), then closes back above the zone bottom. Retail stops placed just below the demand zone have been triggered — institutions used that liquidity to accumulate. The reclaim close is the entry signal.
Supply sweep (bear): Price wicks above the supply zone top by at least the minimum sweep depth, then closes back below the zone top. Buy stops above supply have been triggered; the close back below is the entry.
Why sweeps are powerful: A standard zone rejection is a clean, textbook entry. A zone sweep adds an additional dimension — institutions have actively manufactured a liquidity event at the zone boundary, triggered counterparty stops to fill their own orders, and then reversed. This sequence is a clear signature of institutional stop hunting followed by directional commitment. Sweep signals are marked with an orange circle rather than a triangle to distinguish them visually from standard rejections.
Stop placement for sweeps: The SL for sweep entries is placed at the wick extreme (the sweep low for bull sweeps, the sweep high for bear sweeps) plus a small ATR buffer — anchored to the actual manipulation point rather than the zone boundary.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Signal Entry Logic — Multi-Layer Filtering
A FORTRESS signal fires when a zone touch is detected with candle rejection and all configured filters pass. The full filter stack applied to every potential entry:
Zone touch verification:
The current bar's low must reach within the demand zone (for longs) or the current bar's high must reach within the supply zone (for shorts). Touch detection includes a small ATR tolerance (0.05×) to account for minor overshoot or spread differences.
Rejection candle confirmation:
The bar must close in the correct direction — bullish close (close above open) for demand entries, bearish close for supply entries. Additionally, the rejection wick must meet the minimum wick percentage requirement (default: 50% of bar range). A bar touching a zone with a tiny lower wick but a large body is a weak rejection — the minimum wick filter ensures the zone produced a genuine, visible rejection impulse.
Filter stack (all must pass):
Trend EMA — price must be above the trend EMA (default: 50-period) for demand longs, below for supply shorts. Prevents counter-trend entries
ADX minimum — market must be trending above the configured ADX threshold (default: 18). Blocks zone entries in choppy, ranging conditions
Volume Delta — estimated directional volume pressure must agree with the signal direction. Bull volume dominance for longs, bear for shorts
PD Zone requirement — price must be in discount for demand entries (below dealing range equilibrium) and in premium for supply entries (above equilibrium)
Zone grade minimum — only zones at or above the configured minimum grade (default: B) can trigger signals
Fresh zone filter — when enabled, only zones that have not been previously tested can trigger signals. A zone that has already been retested once carries less institutional fresh-order weight
One signal per zone — when enabled, each zone can only generate one signal regardless of how many valid touches occur. Prevents repeated entries at the same level
Signal cooldown — minimum bars between any two signals (default: 5). Prevents signal clustering during complex multi-touch zone reactions
Session filter — when enabled, restricts all signals to the configured active hours window
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Zone Mitigation & Lifecycle Management
FORTRESS tracks the full lifecycle of every zone from formation through mitigation. The mitigation mode is configurable:
Body Close (default): A zone is mitigated when price closes beyond its boundary — a close above a supply zone top or a close below a demand zone bottom. This is the stricter, lower-noise mode. Wicks through the zone do not count as mitigation unless they are accompanied by a body close — consistent with the idea that a wick through the zone is a sweep (an opportunity) rather than a genuine break.
Wick Touch: A zone is mitigated as soon as any price touches the boundary — high above supply top, low below demand bottom. This is a more aggressive mitigation mode that removes zones faster, keeping the chart cleaner but potentially removing zones that could have produced more entries.
When a zone is mitigated under either mode, its box, label, and grade badge are immediately deleted from the chart. The system maintains a rolling maximum of the configured number of active zones per side (default: 3), automatically removing the oldest zones when the limit is exceeded.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Live Backtest Statistics Tracker
One of FORTRESS's most distinctive features is its on-chart live backtest statistics system . Every signal fired is tracked in memory with its entry price, ATR at signal time, direction, and grade. On every subsequent bar, the tracker evaluates whether each open signal has hit the configured target (default: 2.0× ATR) or stop (default: 1.0× ATR).
Statistics tracked and displayed on the dashboard:
Total Signals — the total count of signals logged in the tracking window
Wins — signals that reached the target before the stop
Losses — signals that hit the stop before the target
Win Rate — wins as a percentage of all closed (decided) signals. Color-coded yellow-green when at or above 50%, red when below
Pending — signals still open — neither target nor stop hit yet. Shown in orange
What this tells you: The win rate displayed is not a theoretical backtest result — it is computed directly from the current chart's historical signals using the exact filter configuration currently active. Change the zone grade minimum and the win rate updates. Enable the ADX filter and it updates. This gives you immediate, live feedback on how your configuration is performing on the current instrument and timeframe without leaving the chart.
Important note on interpretation: The statistics reflect signals fired at the current settings on the current chart's visible history. They are not forward-tested results and do not account for slippage, spread, or live execution. They serve as a real-time tuning tool — not a performance guarantee.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state across four sections.
ZONES
Supply — count of currently active, unmitigated supply zones on the chart
Demand — count of currently active, unmitigated demand zones on the chart
FILTERS
Trend — current EMA trend state: ▲ BULL, ▼ BEAR, or —
PD Zone — current premium/discount position: ◧ DISCOUNT, ◧ PREMIUM, or — EQ
ADX — live ADX value with ✓ or ✗ pass/fail indicator
Vol Delta — current volume delta direction: ▲ BULL, ▼ BEAR, or —
STATS
Signals — total signals tracked in the current window
Wins — confirmed target-hit signals
Losses — confirmed stop-hit signals
Win Rate — live win percentage across all closed signals, color-coded
Pending — signals awaiting outcome
Min Grade — the currently configured minimum zone grade filter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Demand Zone Boxes (yellow-green) — semi-transparent yellow-green filled boxes with solid yellow-green borders. Extend right until mitigated
Supply Zone Boxes (red) — semi-transparent red filled boxes with solid red borders. Extend right until mitigated
DEMAND / SUPPLY Labels — appear at zone formation with ·VWAP and ·HTF suffixes when those confluences are present
Grade Badges (A+ / A / B / C) — small labels at the zone's left edge showing the computed quality grade. Color-coded: A+ bright yellow-green, A yellow-green, B orange, C gray
HTF Zone Boxes (purple dashed) — higher timeframe supply and demand zones overlaid from the configured HTF. Automatically deleted when mitigated
Session VWAP Line (purple) — continuous VWAP anchored to each session's first bar
VWAP Bands (purple, optional) — ±1σ envelope around the session VWAP
Equilibrium Line (purple dotted) — the 50% midpoint of the dealing range
Trend EMA (optional gray line) — the trend filter EMA plotted when Show EMA is enabled
▲ Triangle (below bar, yellow-green) — standard demand rejection long signal
▼ Triangle (above bar, red) — standard supply rejection short signal
● Circle (below bar, orange) — liquidity sweep long signal at demand zone
● Circle (above bar, orange) — liquidity sweep short signal at supply zone
SL Guide (red dotted circles) — stop loss reference level on signal bars
TP Guide (yellow-green dotted circles) — take profit reference level on signal bars
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX FORTRESS — Step by Step
Step 1 — Assess the Zone Landscape
Check the dashboard: how many supply and demand zones are active? Multiple demand zones stacked in the same price area indicate a strong institutional accumulation cluster — a high-priority retest target
Identify the highest-grade zones on the chart. An A+ demand zone with ·VWAP ·HTF in the label is the highest-conviction level FORTRESS can display. Mark these as priority levels
Note the equilibrium line — are you in discount (favorable for longs) or premium (favorable for shorts)?
Step 2 — Confirm the Filter Environment
Check the dashboard: Trend ▲ BULL, PD Zone ◧ DISCOUNT, ADX ✓, Vol Delta ▲ BULL — all four green simultaneously is the ideal filter state for long entries
If any critical filter is failing, reduce position size on signals or skip the setup entirely
Watch the VWAP line — is it near the zone you are watching? VWAP proximity at the zone level confirms the highest-grade setups
Step 3 — Enter on the Signal
A ▲ triangle below the bar is a confirmed demand rejection — all quality and filter conditions met. Enter on the close or next bar open
An orange ● circle below the bar is a sweep long — the zone was violated, stops triggered, and price reclaimed. Enter on the close. Place the stop at the wick extreme
Both signal types display SL and TP guide levels (dotted circles) when Show SL / TP on Signal is enabled
Step 4 — Monitor with the Stats Dashboard
Watch the Win Rate row on the dashboard. If the current configuration is producing a win rate below 50% on this instrument and timeframe, consider tightening the filters — raise the minimum grade, increase the ADX threshold, or enable the volume filter
The Pending count tells you how many trades are currently open and unresolved — useful for position sizing decisions
If Losses are rising without corresponding Wins, check whether the market has entered a choppy regime (ADX dropping) and consider pausing trading until ADX recovers
Step 5 — Zone Management and Exit
When price reaches the TP guide level, take partial or full profit
If price closes through the zone boundary opposite to your entry (body close mitigation), the zone is invalidated — this is also your stop signal if not already stopped out
Watch for the zone to be deleted from the chart — when the box disappears, the zone has been mitigated and the trade thesis is over
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
ADX ✗ on the dashboard — the market is ranging. Supply and demand zones in range conditions are frequently tested and broken repeatedly without producing clean continuation moves. The ADX filter blocks signals in these conditions automatically
All active zones are grade C — no high-quality institutional levels are present. The zones on the chart were formed by weak, low-displacement moves and are unlikely to produce sharp institutional responses on retest
Win Rate is below 40% on the live stats tracker — the current configuration is underperforming on this instrument and timeframe. Tighten filters or review whether the instrument is suitable for zone-based trading at this time
Zones are being mitigated rapidly before retesting — fast, impulsive markets break through zones without retesting them. In this environment, wait for a new zone to form in the direction of the impulse rather than trying to catch retests of quickly broken levels
PD Zone shows — EQ — price is at the dealing range midpoint. Entries from equilibrium carry the worst risk/reward — the institutional advantage of buying in deep discount or selling in deep premium is absent
Vol Delta opposes the signal direction — institutional volume pressure is working against the zone entry. Even if all other conditions pass, a demand zone long with bearish volume delta means selling pressure is still dominant — the zone may not hold
No HTF zones visible and current timeframe zones are grading mostly B and C — the institutional context on the higher timeframe is not confirming the current timeframe levels. Wait for HTF supply or demand to align before entering aggressively
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🏛 Institutional supply and demand zone detection — explosive move filter, body quality filter, and optional volume confirmation identify only genuine displacement zones
📦 Automatic base detection — incorporates up to the configured maximum of low-momentum candles preceding the explosive departure into the zone boundaries
🏅 Five-factor algorithmic zone grading — Move Strength, Volume Ratio, VWAP Confluence, HTF Match, and PD Zone together produce an A+/A/B/C grade for every zone at formation
🌐 Session VWAP integration — plotted live with optional bands, boosts zone grades when VWAP is within tolerance of the zone, and confirmed in zone labels
📡 Higher timeframe zone overlay — pulls supply and demand zones from a configurable HTF and overlays them as purple dashed boxes. HTF-matching zones receive maximum grade bonus
💧 Liquidity sweep detection — identifies stop-hunt sequences where price wicks through a zone boundary and reclaims, marking these with distinct orange circle signals
🧠 Multi-layer filter stack — Trend EMA, ADX, Volume Delta, PD Zone, Zone Grade, Fresh Zone, One-Shot, Cooldown, and Session filters all independently configurable
⚖ Premium/Discount zone requirement — enforces institutionally correct entry positioning using a dynamic equilibrium across the dealing range
📊 Live backtest statistics tracker — tracks every signal's win/loss outcome in real time on the chart, displaying signal count, wins, losses, win rate, and pending count on the dashboard
🔀 Two zone mitigation modes — Body Close (stricter, lower noise) and Wick Touch (more aggressive zone clearance)
📝 Zone labels with confluence indicators — DEMAND / SUPPLY labels append ·VWAP and ·HTF when those confluences are present at formation
🏷 Grade badges — A+/A/B/C badges displayed directly on each zone box with color-coded visual hierarchy
🎯 SL and TP guide levels — dotted circle plots at the stop and target levels on every signal bar
📊 16-row live dashboard — Zones, Filters, and Stats sections updated in real time
🔔 6 alert conditions — demand long, supply short, sweep long, sweep short, new demand zone formation, new supply zone formation
🎨 Fully cohesive dual-tone color system — yellow-green for all demand/bullish elements, red for supply/bearish, orange for sweeps and pending stats, purple for VWAP/HTF/equilibrium
⚙ Fully configurable — all zone detection thresholds, grading weights, filter settings, mitigation mode, backtest parameters, display options, and colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Zone Detection
Max Base Candles — maximum number of low-momentum base candles to incorporate into zone boundaries (default: 2)
Move Strength (ATR x) — minimum departure candle range as a multiple of ATR (default: 1.2)
ATR Length — lookback for ATR calculation (default: 14)
Volume Multiplier — minimum volume relative to average when volume confirmation is enabled (default: 1.1)
Volume Avg Length — lookback for volume average (default: 20)
Min Body % of Range — minimum body size as a fraction of the departure candle's total range (default: 0.55)
Require Volume Confirmation — when on, departure candle must exceed the volume average by the configured multiplier (default: off)
Signal Filters
Fresh Zones Only — when on, only zones that have not been previously touched can trigger signals
One Signal Per Zone — when on, each zone produces a maximum of one signal regardless of subsequent valid touches
Min Rejection Wick % — minimum lower/upper wick as a fraction of bar range for rejection confirmation (default: 0.50)
Cooldown Bars — minimum bars between consecutive signals (default: 5)
Chart EMA Trend Filter — when on, requires price to be on the correct side of the trend EMA
Trend EMA Length — EMA period for the trend filter (default: 50)
Min Zone Grade — minimum grade required for a zone to generate signals. A+ / A / B / C (default: B)
ADX Filter — toggle the ADX trend strength gate
ADX Length / ADX Minimum — ADX calculation and threshold parameters (defaults: 14 / 18)
Volume Delta Filter — toggle the directional volume pressure requirement
Volume Delta Length — smoothing length for volume delta calculation (default: 14)
Require PD Zone — when on, longs require discount positioning, shorts require premium
Dealing Range Length — bars used for the equilibrium midpoint calculation (default: 50)
Liquidity Sweep
Enable Sweep Signals — toggle the sweep entry signal mode
Min Sweep Depth (ATR x) — minimum wick extension beyond the zone boundary to qualify as a sweep (default: 0.15)
HTF Zones
Show HTF Zones — toggle the higher timeframe zone overlay
HTF Resolution — the timeframe to pull HTF zones from (default: 60-minute)
VWAP Confluence
Show Session VWAP — toggle the VWAP line on the chart
VWAP Boosts Grade — when on, zones within VWAP tolerance receive 20 additional grade points
VWAP Tolerance (ATR x) — maximum distance from VWAP to qualify for the grade boost (default: 0.5)
Show VWAP Bands — toggle ±1σ band plots around the session VWAP
Backtest Stats
Track Signal Stats — toggle the live win/loss tracking system
Target (ATR x) — take-profit distance for stat tracking purposes (default: 2.0)
Stop (ATR x) — stop-loss distance for stat tracking purposes (default: 1.0)
Max Signals Tracked — rolling window size for the statistics tracker (default: 50)
Display
Max Active Zones / Side — maximum supply zones and demand zones maintained simultaneously (default: 3 per side)
Mitigation — Body Close or Wick Touch zone invalidation mode
Extend Zones Right — when on, zone boxes extend indefinitely to the right until mitigated
Show Zone Labels — toggle SUPPLY/DEMAND text labels on zones
Show Grade Badge — toggle A+/A/B/C grade badges on zone boxes
Show Stats Dashboard — toggle the full dashboard panel
Plot Trend EMA — toggle the trend EMA line on the chart
Show SL / TP on Signal — toggle stop and target guide circle plots on signal bars
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Session
Buy / Sell Signals — master toggle for all entry signals
Session Filter — toggle the active hours restriction
Active Session — configurable session window string
Colors
Demand / Bull / Bull Bright — yellow-green family for all demand zones, signals, and labels
Supply / Bear / Bear Bright — red family for all supply zones, signals, and labels
HTF Zone — purple for higher timeframe zone overlays
VWAP / Equilibrium — purple for VWAP and equilibrium lines
SL Guide / TP Guide — stop and target circle colors
Sweep Signal — orange for liquidity sweep entry circles
Dash Text / Neutral / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (6 total)
Entry Alerts
Fortress Demand Long — standard demand zone rejection long signal. All quality and filter conditions met
Fortress Supply Short — standard supply zone rejection short signal
Fortress Sweep Long — liquidity sweep and reclaim at demand zone. Sweep entry confirmed
Fortress Sweep Short — liquidity sweep and reclaim at supply zone
Zone Formation Alerts
New Demand Zone — a qualifying demand zone has been detected and added to the chart
New Supply Zone — a qualifying supply zone has been detected and added to the chart
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M1–M15 :
Move Strength at 1.2× ATR — sensitive enough to catch meaningful departures on fast-moving intraday instruments
Min Grade at B — filters out the lowest-quality zones while allowing solid B-grade setups to signal
Fresh Zones Only on — fresh, untested zones carry the most unfilled institutional orders
HTF at 60-minute — provides meaningful confluence context for intraday M1–M15 trading
Volume Confirmation off — reliable for futures and equities, unreliable for spot forex and crypto perpetuals
For other instruments or timeframes, adjust:
Higher timeframes (H1, H4) — increase Move Strength to 1.5–2.0× ATR, set HTF to Daily or Weekly, raise Min Grade to A, increase Dealing Range Length to 100–200
Crypto (BTC, ETH) — enable Volume Confirmation with 1.2× multiplier on exchanges with reliable volume data, increase Move Strength to 1.4–1.6, increase Min Sweep Depth to 0.25×
Indices (NAS100, US30) — enable Session Filter to 09:30–16:00, enable Volume Confirmation, set Min Grade to A for cleaner signal quality
More zones and signals — reduce Move Strength to 1.0, lower Min Grade to C, disable Fresh Zones Only, disable One Signal Per Zone
Fewer, highest-quality signals only — raise Min Grade to A or A+, enable Volume Confirmation, enable HTF Zones, set VWAP Boosts Grade on. Only A+ zones with VWAP and HTF alignment will produce signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏛 Supply and demand traders — FORTRESS is the most complete quantitative implementation of supply and demand zone trading available in the AlphaX suite. Every concept — zone quality, freshness, grade, mitigation, sweep detection — is encoded objectively and applied consistently
📊 Traders who want data on their strategy — the live backtest statistics tracker provides immediate, chart-specific feedback on how the current configuration is performing without leaving the platform
🥇 Gold (XAUUSD) and forex traders — supply and demand zone mechanics are most consistent on highly liquid institutional instruments. Default settings are calibrated for gold and major pairs
🌐 Multi-timeframe traders — the HTF zone overlay and VWAP confluence create a natural two-timeframe framework within a single indicator
🧠 Systematic traders — every entry parameter is quantified and configurable. The grading system replaces subjective zone quality assessment with objective numerical scoring
💧 Stop hunt and sweep traders — the dedicated sweep signal mode is purpose-built for traders who specifically want to enter on liquidity grab and reclaim events at institutional zones
⚠ Traders who want to stop chasing entries — FORTRESS enforces patience by design. You wait for institutional zones to form, wait for price to return, wait for the rejection candle, and wait for all filters to confirm — discipline is built into the system architecture
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Zone detection, grading, mitigation, and signal logic all finalize on confirmed bars only
The live backtest statistics use ATR-based fixed targets and stops for tracking purposes. These are not the same as any broker-level trade execution. The purpose is configuration tuning, not performance reporting
Maximum 200 boxes, 200 labels, and 100 lines are rendered. On charts with long history and frequent zone formation, the oldest zones are automatically removed by TradingView's rendering limits. The Max Active Zones / Side setting provides additional control over zone count
HTF zone detection uses Pine Script's request.security function with lookahead off — HTF zones are non-repainting and reflect the HTF close price at each lower timeframe bar
The PD Zone equilibrium is calculated from the highest high and lowest low over the Dealing Range Length. On strongly trending instruments this level will shift progressively — it is a relative measure within the recent range, not a fixed level
The session VWAP resets at each session's first bar. For 24-hour crypto instruments, the VWAP anchors to the first bar of each calendar day. Consider disabling the VWAP grade boost on instruments where session definition is ambiguous
The sweep signal mode and standard zone rejection signal mode are independent. A zone that produces a sweep signal is marked as used (when One Signal Per Zone is enabled), preventing a subsequent standard rejection signal from the same zone — ensuring only one entry per zone regardless of which entry type fires first
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who believe that the strongest entries are not found by predicting where price will go — but by knowing exactly where institutions have left their orders waiting. Penunjuk

FUTURA Ultra MTFFUTURA Ultra MTF
An all-in-one overlay indicator built in Pine Script v6, comprising nine feature modules:
- Previous D/W/M Levels: Extending dynamic horizontal lines for prior day, week, and month highs/lows, anchored to the exact candle where each extreme occurred and snapping back when price interacts with them.
- Anchored VWAPs: Daily, weekly, and custom session VWAPs with optional standard deviation bands.
- Day Separators & Labels: Vertical lines at session boundaries with day-of-week labels plotted at the chart bottom.
- Custom Sessions: Shaded session boxes for Asia and NY with live extending high/low level lines that persist as historical references after each session closes, including a fix for RTH chart hidden boundary detection.
- Opening Range: A configurable time-based ORH/ORL box that plots extending levels only during NY regular hours, auto-deactivating at session close.
- HTF Candles: Current-bar candle representations for the 1H, 4H, and 1D timeframes.
- Label Collision Manager: Merges overlapping labels from all modules when levels are within a tick of each other.
- Watermark: A dynamic table displaying a configurable text header appended with the active ticker and timeframe.
- MTF Moving Averages: Three independently configurable moving averages (SMA, EMA, WMA, RMA, VWMA) pulling from any timeframe, with a dynamic gradient cloud fill between MA1 and MA2.
All modules share a unified visibility system with per-timeframe filter options.
Penunjuk

Penunjuk

Penunjuk

Penunjuk

Penunjuk

Penunjuk

Penunjuk

V-AEMA VMR [LB]Concept
The V-AEMA VMR (Volume-Adaptive Exponential Moving Average with Volatility-Modulated Regime) is a hybrid trend-following indicator that combines an EMA baseline with a volatility-based drift component. It produces a dynamic core line whose colour reflects the trend regime, surrounded by two levels of adaptive bands that expand or contract based on volume intensity. The indicator generates directional entry signals when price breaks the first band in the direction of the trend, and projects take-profit zones when price fully exits both bands.
Mathematical Foundation
The core line (Hybrid Line) is a weighted blend of a standard EMA and a volatility-shifted version of that same EMA :
HybridLine = EMA * W + (EMA + Drift) * (1 - W)
where the drift is derived from the Z-Score of price relative to the EMA, scaled by ATR :
Drift = Z_Score * ATR * 0.35
Z_Score = (Price - EMA) / StdDev(Price, L_vola)
Band width starts from a base volatility measure combining standard deviation and ATR :
BaseWidth = StdDev * 0.65 + ATR * 0.35
This base is then adjusted by a volume ratio and user-defined multipliers :
UpperWidth = BaseWidth * (BaseUpMult + (VolRatio - 1) * VolImpactUp)
LowerWidth = BaseWidth * (BaseDnMult + (VolRatio - 1) * VolImpactDn)
where VolRatio = min(max(Volume / SMA(Volume, L_vol), 0.35), 2.50) .
Two band levels are generated : Band 1 at HybridLine +/- Width, and Band 2 (extreme) at HybridLine +/- Width * 1.55 (upper) / 1.40 (lower).
What Problem Does It Solve ?
Conventional envelope indicators (Bollinger Bands, Keltner Channels) apply fixed multipliers to a single volatility metric and ignore volume dynamics. The V-AEMA VMR adapts its band width to both volatility and volume surges, producing wider bands during high-participation moves and narrower bands during quiet periods. The hybrid core line reduces pure EMA lag by incorporating a volatility offset, while the dual-band structure filters signals by strength : a break of Band 1 triggers an entry, while a break of Band 2 confirms an explosive move and projects a take-profit zone.
How To Interpret
Core line colour – cyan/green indicates the hybrid line is rising (bull regime) ; magenta/red indicates it is falling (bear regime).
Cloud and bands – the area between Band 1 and Band 2 forms a halo that thickens when volume expands. Narrow bands suggest low conviction or consolidation.
Entry signals – a triangle appears below the bar when price crosses above Upper Band 1 while the hybrid line is rising (long). A triangle appears above the bar when price crosses below Lower Band 1 while the hybrid line is falling (short). These signals are confirmed by the trend direction.
Take-profit zones – when the entire bar (high and low for shorts, low and high for longs) clears the extreme band (Band 2) in the direction of the signal, a coloured box is projected forward. The box represents a potential target zone based on the breakout amplitude and ATR, scaled by the TP Factor.
Info panel – displays the current regime (BULL/BEAR), the volume ratio (values above 1.0 indicate above-average participation), and the current upper/lower deviation values in price units.
Parameters
EMA Length – period of the base exponential moving average (default 55).
Volatility Length – period for the standard deviation used in the Z-Score calculation (default 34).
Volume Length – period for the volume moving average used in the volume ratio (default 34).
EMA Weight – blend ratio between the pure EMA and the volatility-drifted version. Higher values produce a smoother line ; lower values make it more reactive to volatility (default 0.80).
Upper Base Deviation – core multiplier for the upper band width before volume adjustment (default 1.55).
Lower Base Deviation – core multiplier for the lower band width before volume adjustment (default 1.05).
Volume Impact Upper/Lower – sensitivity of the upper and lower bands to the volume ratio. Higher values make bands expand more aggressively when volume surges (default 0.95 / 0.55).
ATR Length – period of the Average True Range used in band width and TP zone calculations (default 14).
Show Cloud – toggles the filled areas between bands.
Show Info Panel – toggles the real-time dashboard.
Show Signals – toggles the entry triangles.
Show TP Zones – toggles the take-profit projection boxes.
TP Projection Bars – how many bars forward the TP zone extends.
TP Factor – scales the height of the TP zone relative to the breakout range.
Max Historical TP Zones – limits the number of TP boxes kept on the chart.
Reference
This indicator is a proprietary design synthesising concepts from adaptive moving averages (Kaufman, Ehlers), volatility envelopes (Bollinger, Keltner), and volume-weighted band models. It does not correspond to a single academic publication. Penunjuk

Strategi

Adaptive MA Fibonacci Zones MTF# Adaptive MA Fibonacci Zones MTF
Adaptive MA Fibonacci Zones MTF is a multi-timeframe technical analysis tool that projects Fibonacci-based price levels around a selected moving average.
The indicator allows traders to choose from multiple moving average types, including EMA, SMA, WMA, SMMA, DEMA, TEMA, HMA, VWMA, ALMA, and KAMA. Two independent higher timeframes can be analyzed simultaneously, making it easier to compare trend structure and potential reaction zones across different market perspectives.
### Features
• Supports multiple moving average calculation methods
• Displays two configurable higher timeframes on a single chart
• Automatically generates Fibonacci-based projection levels around each moving average
• Dynamic bullish and bearish level calculation depending on price position relative to the selected moving average
• Optional Fibonacci level labels
• Visual trend direction labels for each timeframe
• Useful for identifying potential support, resistance, pullback, and expansion areas
### How It Works
The script calculates a selected moving average on two user-defined timeframes. A customizable percentage range is then applied around each moving average, and Fibonacci ratios are projected within that range. When price is above the moving average, levels are projected upward. When price is below the moving average, levels are projected downward.
### Notes
This indicator is designed as a visual analysis tool and should not be considered financial advice. Fibonacci levels and moving averages are analytical references that may be used alongside other forms of technical analysis and risk management techniques.
Penunjuk

MACD Pressure Zones | Alpha S+MACD Pressure Zones
MACD Pressure Zones is a normalized MACD histogram oscillator designed to show momentum pressure on a 0 to 100 scale.
Instead of displaying the raw MACD histogram around a zero line, this script normalizes the histogram over a selected lookback period and maps it into a bounded oscillator range. This allows users to compare MACD histogram pressure across different market conditions with fixed reference zones such as 90, 85, 50, 15, and 10.
The script does not provide entry or exit recommendations. Its purpose is to help users study momentum pressure, extended momentum areas, neutral pressure, and cooling or heating behavior inside a simplified MACD-based zone structure.
────────────────────
Core Concept
────────────────────
The standard MACD histogram shows the distance between the MACD line and the signal line.
When the histogram expands, momentum pressure is increasing.
When the histogram contracts, momentum pressure is weakening.
This script takes that MACD histogram value and normalizes it into a 0 to 100 range.
The normalized structure uses five main reference levels:
• 90: Extreme upper momentum pressure
• 85: Upper pressure zone
• 50: Neutral pressure level
• 15: Lower pressure zone
• 10: Extreme lower momentum pressure
The red line is a smoothed version of the normalized MACD histogram. It helps users read the broader momentum pressure curve rather than reacting to every individual histogram bar.
────────────────────
What This Script Shows
────────────────────
The script can display:
• normalized MACD histogram columns
• smoothed MACD pressure line
• 90 and 85 upper pressure levels
• 50 neutral pressure level
• 15 and 10 lower pressure levels
• upper and lower zone background highlights
• histogram expansion or contraction state
• current pressure zone
• momentum heating or cooling state
• positive or negative pressure bias
• number of bars spent inside upper or lower pressure zones
• optional status panel
These elements are designed to help users identify whether MACD histogram pressure is extended, recovering, cooling, expanding, or returning toward neutral.
────────────────────
How It Works
────────────────────
1. The script calculates the MACD line using the selected fast and slow EMA lengths.
2. The signal line is calculated from the MACD line.
3. The MACD histogram is calculated as MACD minus signal.
4. The histogram is normalized over the selected lookback period.
5. The normalized value is mapped into a 0 to 100 oscillator range.
6. A smoothed red pressure line is calculated from the normalized oscillator.
7. The script compares the pressure line with the 90, 85, 50, 15, and 10 reference levels.
8. Zone background highlights appear when the pressure line enters upper or lower pressure areas.
9. Histogram columns become visually stronger or weaker depending on expansion or contraction.
10. The status panel summarizes current pressure, zone, momentum state, bias, zone duration, and histogram condition.
This structure converts MACD histogram behavior into a cleaner zone-based momentum pressure map.
────────────────────
Inputs And Customization
────────────────────
Users can adjust:
• MACD fast length
• MACD slow length
• MACD signal length
• source price
• normalization lookback
• red line smoothing length
• 0 to 100 clamping
• extreme upper pressure level
• upper pressure level
• neutral pressure level
• lower pressure level
• extreme lower pressure level
• zone background visibility
• histogram visibility
• red line visibility
• status panel visibility
• panel position
• panel text size
• histogram colors
• red line color
• reference level color
• panel background color
The default levels are designed around a 90 / 85 / 50 / 15 / 10 pressure-zone framework.
────────────────────
Visual Elements
────────────────────
The script includes:
• normalized histogram columns
• smoothed red pressure line
• horizontal reference levels
• upper pressure background
• lower pressure background
• status panel
The histogram columns show the normalized MACD histogram value.
The red line smooths the normalized histogram and makes the pressure cycle easier to read.
The 50 level acts as the neutral pressure reference.
The 85 and 90 levels mark upper momentum pressure zones.
The 15 and 10 levels mark lower momentum pressure zones.
The panel summarizes the current state without adding directional trade labels to the chart.
────────────────────
Reference States
────────────────────
Extreme Upper Pressure:
The smoothed pressure line is at or above the upper extreme level.
Upper Pressure:
The smoothed pressure line is inside the upper pressure zone.
Positive Pressure:
The pressure line is above the neutral level but below the upper pressure zone.
Neutral Pressure:
The pressure line is near the neutral reference level.
Negative Pressure:
The pressure line is below the neutral level but above the lower pressure zone.
Lower Pressure:
The smoothed pressure line is inside the lower pressure zone.
Extreme Lower Pressure:
The smoothed pressure line is at or below the lower extreme level.
Heating:
The smoothed pressure line is rising.
Cooling:
The smoothed pressure line is falling.
Expanding:
The normalized histogram is increasing compared with the prior bar.
Contracting:
The normalized histogram is decreasing compared with the prior bar.
These states are informational and should not be interpreted as trading instructions.
────────────────────
How To Use
────────────────────
Use this script as a MACD histogram pressure and momentum-zone viewer.
General interpretation examples:
• When the red line is above 85, MACD histogram pressure is in an upper extended area.
• When the red line is above 90, the upper pressure condition is more extreme.
• When the red line moves down from the upper pressure zone, momentum pressure may be cooling.
• When the red line is near 50, MACD histogram pressure is closer to neutral.
• When the red line is below 15, MACD histogram pressure is in a lower extended area.
• When the red line is below 10, the lower pressure condition is more extreme.
• When the red line rises from the lower pressure zone, momentum pressure may be heating.
• Zone Bars can help users see how long the pressure line has remained in an upper or lower pressure zone.
• Histogram expansion can show strengthening pressure, while contraction can show fading pressure.
This script is best reviewed together with price action, trend structure, volatility, support and resistance, and higher-timeframe context.
────────────────────
Confirmation And Repainting Notes
────────────────────
The script calculates MACD, the histogram, normalization range, and the smoothed pressure line from available chart data.
On realtime candles, values can change before the candle closes because the MACD histogram and normalization values can update intrabar.
For more conservative analysis, users should review the oscillator after candle confirmation.
The script does not use future price data to predict market direction.
────────────────────
Limitations
────────────────────
This script does not predict future price movement.
It does not provide entry or exit recommendations.
A high pressure reading does not guarantee a reversal.
A low pressure reading does not guarantee a rebound.
MACD histogram behavior can remain extended during strong trends.
Normalization depends on the selected lookback period, so readings may change when the lookback setting changes.
Different symbols and timeframes may require different settings.
This script should not be used as a standalone trading system.
────────────────────
Disclaimer
────────────────────
This publication is for educational and informational chart analysis only.
It does not constitute financial advice, investment advice, or a recommendation to trade any financial instrument.
All trading and investment decisions are the responsibility of the user.
━━━━━━━━━━━━━━━━━━━━
MACD Pressure Zones
MACD Pressure Zones는 MACD 히스토그램을 0~100 범위로 정규화하여 모멘텀 압력 구간을 보여주는 오실레이터형 지표입니다.
일반 MACD 히스토그램을 0선 중심으로 표시하는 대신, 이 스크립트는 선택한 lookback 구간 안에서 히스토그램 값을 정규화하고 이를 고정된 오실레이터 범위로 변환합니다. 이를 통해 90, 85, 50, 15, 10과 같은 기준 구간을 사용해 다양한 시장 상황의 MACD 히스토그램 압력을 비교할 수 있습니다.
이 지표는 진입 또는 청산 추천을 제공하지 않습니다. 목적은 모멘텀 압력, 확장된 모멘텀 구간, 중립 압력, cooling 또는 heating 상태를 단순한 MACD 기반 구간 구조 안에서 분석하는 것입니다.
────────────────────
핵심 개념
────────────────────
일반 MACD 히스토그램은 MACD 라인과 시그널 라인 사이의 거리를 보여줍니다.
히스토그램이 확장되면 모멘텀 압력이 증가하는 상태로 볼 수 있습니다.
히스토그램이 수축되면 모멘텀 압력이 약해지는 상태로 볼 수 있습니다.
이 스크립트는 MACD 히스토그램 값을 0~100 범위로 정규화합니다.
정규화된 구조는 다섯 개의 주요 기준선을 사용합니다.
• 90: 극단적 상단 모멘텀 압력
• 85: 상단 압력 구간
• 50: 중립 압력 기준선
• 15: 하단 압력 구간
• 10: 극단적 하단 모멘텀 압력
빨간선은 정규화된 MACD 히스토그램을 평활화한 값입니다. 개별 히스토그램 막대보다 넓은 모멘텀 압력 곡선을 읽는 데 도움을 줍니다.
────────────────────
이 스크립트가 보여주는 것
────────────────────
이 스크립트는 다음 요소를 표시할 수 있습니다.
• 정규화된 MACD 히스토그램 막대
• 평활화된 MACD 압력선
• 90 및 85 상단 압력 기준선
• 50 중립 압력 기준선
• 15 및 10 하단 압력 기준선
• 상단 및 하단 구간 배경 강조
• 히스토그램 확장 또는 수축 상태
• 현재 압력 구간
• 모멘텀 heating 또는 cooling 상태
• positive 또는 negative 압력 방향
• 상단 또는 하단 압력 구간 체류 봉 수
• 선택 가능한 상태 패널
이 요소들은 MACD 히스토그램 압력이 확장, 회복, 둔화, 확장 지속, 또는 중립 회귀 중 어디에 가까운지 확인하는 데 도움을 줍니다.
────────────────────
작동 방식
────────────────────
1. 선택한 fast EMA와 slow EMA 길이를 사용해 MACD 라인을 계산합니다.
2. MACD 라인에서 시그널 라인을 계산합니다.
3. MACD에서 시그널을 뺀 값으로 MACD 히스토그램을 계산합니다.
4. 선택한 lookback 구간에서 히스토그램을 정규화합니다.
5. 정규화된 값을 0~100 오실레이터 범위로 변환합니다.
6. 정규화 오실레이터에서 평활화된 빨간 압력선을 계산합니다.
7. 압력선을 90, 85, 50, 15, 10 기준선과 비교합니다.
8. 압력선이 상단 또는 하단 압력 구간에 진입하면 배경이 강조됩니다.
9. 히스토그램 막대는 확장 또는 수축 여부에 따라 다르게 표시됩니다.
10. 상태 패널은 현재 압력, 구간, 모멘텀 상태, 방향성, 구간 체류 시간, 히스토그램 상태를 요약합니다.
이 구조는 MACD 히스토그램 행동을 더 깔끔한 구간 기반 모멘텀 압력 맵으로 변환합니다.
────────────────────
입력값 및 설정
────────────────────
사용자는 다음 항목을 조정할 수 있습니다.
• MACD fast length
• MACD slow length
• MACD signal length
• source price
• normalization lookback
• red line smoothing length
• 0 to 100 clamping
• extreme upper pressure level
• upper pressure level
• neutral pressure level
• lower pressure level
• extreme lower pressure level
• zone background visibility
• histogram visibility
• red line visibility
• status panel visibility
• panel position
• panel text size
• histogram colors
• red line color
• reference level color
• panel background color
기본 기준선은 90 / 85 / 50 / 15 / 10 압력 구간 구조를 중심으로 설계되어 있습니다.
────────────────────
시각 요소
────────────────────
이 스크립트는 다음 시각 요소를 포함합니다.
• 정규화 히스토그램 막대
• 평활화된 빨간 압력선
• 수평 기준선
• 상단 압력 배경
• 하단 압력 배경
• 상태 패널
히스토그램 막대는 정규화된 MACD 히스토그램 값을 보여줍니다.
빨간선은 정규화된 히스토그램을 평활화하여 압력 사이클을 더 쉽게 읽게 해줍니다.
50선은 중립 압력 기준선 역할을 합니다.
85와 90은 상단 모멘텀 압력 구간을 표시합니다.
15와 10은 하단 모멘텀 압력 구간을 표시합니다.
패널은 차트에 방향성 매매 라벨을 추가하지 않고도 현재 상태를 요약합니다.
────────────────────
참고 상태
────────────────────
Extreme Upper Pressure:
평활화된 압력선이 상단 극단 기준선 이상에 있는 상태입니다.
Upper Pressure:
평활화된 압력선이 상단 압력 구간에 있는 상태입니다.
Positive Pressure:
압력선이 중립 기준선 위에 있지만 상단 압력 구간 아래에 있는 상태입니다.
Neutral Pressure:
압력선이 중립 기준선 부근에 있는 상태입니다.
Negative Pressure:
압력선이 중립 기준선 아래에 있지만 하단 압력 구간 위에 있는 상태입니다.
Lower Pressure:
평활화된 압력선이 하단 압력 구간에 있는 상태입니다.
Extreme Lower Pressure:
평활화된 압력선이 하단 극단 기준선 이하에 있는 상태입니다.
Heating:
평활화된 압력선이 상승 중인 상태입니다.
Cooling:
평활화된 압력선이 하락 중인 상태입니다.
Expanding:
정규화된 히스토그램이 직전 봉보다 증가하는 상태입니다.
Contracting:
정규화된 히스토그램이 직전 봉보다 감소하는 상태입니다.
이 상태들은 정보 제공용이며, 매매 지시로 해석해서는 안 됩니다.
────────────────────
사용 방법
────────────────────
이 스크립트는 MACD 히스토그램 압력 및 모멘텀 구간 확인 도구로 사용하는 것이 적절합니다.
일반적인 해석 예시는 다음과 같습니다.
• 빨간선이 85 위에 있으면 MACD 히스토그램 압력이 상단 확장 구간에 있는 상태로 볼 수 있습니다.
• 빨간선이 90 위에 있으면 더 극단적인 상단 압력 상태로 볼 수 있습니다.
• 빨간선이 상단 압력 구간에서 하락하면 모멘텀 압력이 cooling 되는 과정일 수 있습니다.
• 빨간선이 50 부근에 있으면 MACD 히스토그램 압력이 중립에 가까운 상태입니다.
• 빨간선이 15 아래에 있으면 MACD 히스토그램 압력이 하단 확장 구간에 있는 상태로 볼 수 있습니다.
• 빨간선이 10 아래에 있으면 더 극단적인 하단 압력 상태로 볼 수 있습니다.
• 빨간선이 하단 압력 구간에서 상승하면 모멘텀 압력이 heating 되는 과정일 수 있습니다.
• Zone Bars는 압력선이 상단 또는 하단 압력 구간에 얼마나 오래 머물렀는지 확인하는 데 사용할 수 있습니다.
• Histogram expansion은 압력 강화, contraction은 압력 둔화를 보여줄 수 있습니다.
이 스크립트는 가격 행동, 추세 구조, 변동성, 지지와 저항, 상위 시간대 컨텍스트와 함께 검토하는 것이 좋습니다.
────────────────────
확인봉 및 리페인트 안내
────────────────────
이 스크립트는 사용 가능한 차트 데이터를 기준으로 MACD, 히스토그램, 정규화 범위, 평활화된 압력선을 계산합니다.
실시간 캔들에서는 MACD 히스토그램과 정규화 값이 봉 마감 전까지 변경될 수 있으므로 값이 변할 수 있습니다.
보다 보수적인 분석을 원한다면 봉 마감 이후 오실레이터를 검토하는 것이 적절합니다.
이 스크립트는 미래 가격 데이터를 사용해 시장 방향을 예측하지 않습니다.
────────────────────
한계
────────────────────
이 스크립트는 미래 가격 움직임을 예측하지 않습니다.
진입 또는 청산 추천을 제공하지 않습니다.
높은 압력 수치가 반전을 보장하지 않습니다.
낮은 압력 수치가 반등을 보장하지 않습니다.
강한 추세에서는 MACD 히스토그램 압력이 오랜 시간 확장 구간에 머무를 수 있습니다.
정규화 값은 선택한 lookback period에 따라 달라질 수 있습니다.
종목과 시간대에 따라 적절한 설정값이 달라질 수 있습니다.
이 스크립트를 단독 매매 시스템으로 사용해서는 안 됩니다.
────────────────────
중요 고지
────────────────────
본 게시물은 교육 및 정보 제공 목적의 차트 분석 자료입니다.
투자 자문, 특정 금융상품 거래 권유, 또는 수익 보장을 의미하지 않습니다.
모든 투자 판단과 그 결과에 대한 책임은 이용자 본인에게 있습니다.
Penunjuk

RSI-T (RSI + Time)
RSI-T
RSI with Time Parameter
Technical White Paper & User Guide
Dimitrios Kataliakos
May 2026
Based on the theory: "Market as Expanding Dough"
(Agora os Diogkoumeno Zymari)
Table of Contents
Table of Contents 1
1. Executive Summary 1
2. Theoretical Foundation 1
2.1 The Market as Expanding Dough 1
2.2 Time as a Curvature Factor 1
2.3 Regime Classification 1
3. Mathematical Definition 1
3.1 Core Formula 1
3.2 Parameters 1
3.3 Derived Metrics 1
4. Timeframe Analysis 1
4.1 Timeframe Weight 1
4.2 Recommended Settings by Timeframe 1
4.3 Multi-Timeframe Confluence 1
5. User Guide 1
5.1 Installation (TradingView) 1
5.2 Reading the Indicator 1
5.3 Trading Rules 1
Rule 1: Regime Identification First 1
Rule 2: Do Not Short Persistent Bull 1
Rule 3: Do Not Buy Persistent Bear 1
Rule 4: Momentum Zone is Decision Zone 1
Rule 5: Watch the Divergence 1
5.4 Practical Examples 1
6. Backtest Strategy 1
6.1 Strategy Logic 1
6.2 Risk Management 1
6.3 Pine Script Strategy 1
6.4 Metrics to Evaluate 1
7. Limitations & Future Work 1
7.1 Known Limitations 1
7.2 Future Development 1
8. Appendix 1
8.1 Files Included 1
8.2 Version History 1
1. Executive Summary
The RSI-T (RSI with Time) is a technical indicator that extends the classic Wilder RSI by adding a third parameter: the duration of time price action remains in an extreme zone. While the standard RSI measures the magnitude of recent price changes, it fails to capture the persistence of momentum regimes. The RSI-T solves this by quantifying how long the RSI stays above or below threshold levels, providing traders with a tool that distinguishes between transient spikes and sustained directional moves.
The indicator is derived from the economic theory of markets as expanding systems, where price does not tend toward equilibrium but rather expands unevenly, creating zones of compression and expansion. The RSI-T operationalizes this concept by treating the time spent in extreme RSI territory as a measure of regime strength.
2. Theoretical Foundation
2.1 The Market as Expanding Dough
Traditional economic theory assumes markets tend toward equilibrium. The theory underlying RSI-T proposes an alternative model: the market behaves like expanding dough, where nominal prices continuously inflate, but the expansion is uneven across time and sectors. This creates regions of rapid expansion (bubbles, momentum regimes) and compression (consolidations, mean-reversion zones).
The three analytical layers of this model are:
• Geometry (Curvature): How price curves in space, measured through momentum and convexity. This corresponds to the RSI dimension of the indicator.
• Temperature (Volatility): The thermal energy of the market, measured through implied and realized volatility. This informs the threshold sensitivity.
• Cohesion (Liquidity): The structural integrity of price action, related to order flow and market microstructure. This provides context for regime classification.
2.2 Time as a Curvature Factor
The critical insight of RSI-T is that time spent at extremes is itself information. When the RSI remains above 70 for one bar, it may be a transient spike. When it remains above 70 for eight consecutive bars, the market has entered a different regime entirely. Standard RSI treats both situations identically. RSI-T does not.
In the dough metaphor, this corresponds to a region that is not just expanded, but has been expanding for a sustained period. The longer the expansion persists, the more the local structure of the market has reorganized around the new price level, and the less likely a simple mean-reversion is to occur.
This is consistent with empirical findings in momentum literature: assets that have been trending tend to continue trending, and the duration of the trend is a stronger predictor of continuation than the magnitude alone.
2.3 Regime Classification
The RSI-T framework classifies market states into distinct regimes based on the combination of RSI level and time at extreme:
Regime RSI Condition Time Condition
NEUTRAL Between oversold and overbought Counter = 0
MOMENTUM_BULL RSI > Overbought threshold 2 to N-1 bars
MOMENTUM_BEAR RSI < Oversold threshold 2 to N-1 bars
PERSISTENT_BULL RSI > Overbought threshold N or more bars
PERSISTENT_BEAR RSI < Oversold threshold N or more bars
Where N is the persistence threshold (default: 5 bars). In the persistent regimes, traditional mean-reversion signals (e.g., sell when RSI > 70) are weakened or inverted.
3. Mathematical Definition
3.1 Core Formula
The RSI-T value is calculated as:
RSI_T = clamp( RSI + (bars_at_extreme × time_weight × direction), 0, 100 )
Where:
• RSI = Standard Wilder RSI(close, period)
• bars_at_extreme = consecutive bars where RSI > threshold_OB or RSI < threshold_OS
• time_weight (α) = scaling factor per bar of persistence (default: 1.2)
• direction = +1 if RSI > threshold_OB, -1 if RSI < threshold_OS, 0 otherwise
• clamp() = constrains result to
3.2 Parameters
Parameter Default Range Description
period 14 5 – 50 RSI lookback period (Wilder smoothing)
threshold 70 / 30 55–90 / 10–45 Overbought / Oversold boundary
time_weight (α) 1.2 0.0 – 5.0 Signal boost per bar at extreme
max_boost 20 5 – 40 Maximum cumulative boost (cap)
persist_bars (N) 5 2 – 20 Bars required for persistent regime
3.3 Derived Metrics
• Divergence = RSI_T − RSI: Measures the total impact of the time parameter. When divergence is zero, RSI-T equals classic RSI. When divergence is large, the time dimension is providing significant additional information.
• Time Counter (bars_extreme): The raw number of consecutive bars spent above/below the threshold. This is the primary regime classifier.
• Regime Label: Categorical classification (NEUTRAL, MOMENTUM_BULL, MOMENTUM_BEAR, PERSISTENT_BULL, PERSISTENT_BEAR) derived from the combination of RSI level and time counter.
4. Timeframe Analysis
The RSI-T works across all timeframes, but its interpretation changes because the time counter has different weight depending on bar duration.
4.1 Timeframe Weight
Timeframe 1 Bar = 5 Bars (Persistent) = Interpretation
1 minute 1 minute 5 minutes Micro-momentum, scalping noise common
5 minutes 5 minutes 25 minutes Intraday momentum phases
15 minutes 15 minutes 1.25 hours Session-level regime shifts
1 hour 1 hour 5 hours Intraday trend confirmation
4 hours 4 hours 20 hours Multi-session directional bias
Daily 1 day 1 week Swing-level regime classification
Weekly 1 week 5 weeks (~1 month) Position-level trend strength
Monthly 1 month 5 months Macro regime identification
4.2 Recommended Settings by Timeframe
Timeframe Period Time Weight Persist Bars
1–5 min 14 0.5 – 0.8 8 – 12
15–60 min 14 0.8 – 1.2 5 – 8
4H / Daily 14 1.0 – 1.5 4 – 6
Weekly 14 1.5 – 2.0 3 – 5
Monthly 14 2.0 – 3.0 3 – 4
The general principle: shorter timeframes need more bars to confirm persistence (more noise to filter), while longer timeframes establish regimes faster because each bar carries more weight.
4.3 Multi-Timeframe Confluence
The highest-conviction signals occur when multiple timeframes agree. For example, if the daily RSI-T shows PERSISTENT_BULL and the weekly RSI-T enters MOMENTUM_BULL, this represents a multi-timeframe momentum alignment that significantly increases the probability of trend continuation.
Conversely, if the daily is in PERSISTENT_BULL but the weekly RSI-T is declining from a recent extreme, this divergence between timeframes suggests the persistent regime may be nearing exhaustion.
5. User Guide
5.1 Installation (TradingView)
1. Open TradingView and navigate to the chart of your chosen instrument.
2. Click Pine Editor at the bottom of the screen.
3. Click New and select New indicator.
4. Delete all existing code and paste the RSI-T Pine Script (v6) code.
5. Click Add to chart. The RSI-T panel appears below the price chart.
6. Adjust parameters via the Settings gear icon on the indicator.
5.2 Reading the Indicator
Blue line: Classic RSI. This is the baseline reference.
Orange/Red line: RSI-T. When this diverges from the blue line, the time parameter is active and providing additional information.
Histogram (bottom): Scaled time counter showing the number of bars spent at the extreme zone.
Green background: Persistent bull regime. The RSI has been above the overbought threshold for N or more bars.
Red/orange background: Persistent bear regime (red) or momentum bear/bull (orange/blue).
Blue background: Momentum bull. RSI above overbought for 2 to N-1 bars. Early-stage momentum zone.
5.3 Trading Rules
Rule 1: Regime Identification First
Before making any trading decision, identify the current regime from the background color. In NEUTRAL regime, traditional RSI-based mean-reversion strategies apply normally. In MOMENTUM or PERSISTENT regimes, mean-reversion signals are weakened or inverted.
Rule 2: Do Not Short Persistent Bull
When the RSI-T shows persistent bull (green background), do not initiate short positions based on overbought readings. The persistence signal indicates that the market has reorganized around the uptrend and further upside is more likely than immediate reversal. Wait for the regime to reset (counter returns to zero) before considering mean-reversion trades.
Rule 3: Do Not Buy Persistent Bear
The inverse of Rule 2. When persistent bear is active (red background), do not buy dips based on oversold readings. The selling pressure has established itself as a regime, not a transient condition.
Rule 4: Momentum Zone is Decision Zone
The blue/orange background (momentum zone, 2 to N-1 bars) is where decisions are made. This is the transitional phase where the market is testing whether it will establish a persistent regime or revert. Tighter stops and smaller positions are appropriate here.
Rule 5: Watch the Divergence
When RSI-T diverges significantly from classic RSI (large divergence value), the time dimension is dominating. A sudden collapse of this divergence (counter drops to zero) often precedes sharp reversals, as the accumulated time pressure releases.
5.4 Practical Examples
Scenario RSI-T Reading Action
RSI at 75, counter = 1 Momentum bull (blue bg) Standard caution, normal position sizing
RSI at 75, counter = 7 Persistent bull (green bg) Do NOT short. Trailing stop on existing longs
RSI at 42, counter = 0 Neutral Normal analysis applies. No regime signal
RSI at 25, counter = 6 Persistent bear (red bg) Do NOT buy dips. Wait for regime exit
RSI at 72, counter drops from 5 to 0 Regime exit Alert: potential reversal. Tighten stops
6. Backtest Strategy
6.1 Strategy Logic
The RSI-T Strategy for backtesting converts the indicator into actionable entries and exits. The core logic uses regime transitions as signals:
Long Entry:
• RSI-T crosses above the overbought threshold AND the time counter reaches the momentum threshold (2 bars), confirming directional commitment.
• Alternative: Enter when the regime transitions from NEUTRAL to MOMENTUM_BULL (catching the early phase of a potential persistent move).
Long Exit:
• The time counter resets to zero after being in persistent bull (regime exit signal).
• Alternative: RSI-T crosses below the midline (50) from above.
Short Entry:
• RSI-T crosses below the oversold threshold AND the time counter reaches the momentum threshold.
Short Exit:
• Time counter resets to zero after persistent bear, or RSI-T crosses above midline.
6.2 Risk Management
• Position size: 10% of equity per trade (adjustable in strategy settings).
• Stop loss: Based on ATR multiplier (default 2x ATR-14) to account for regime volatility.
• Trailing stop: Activates once position reaches 1.5x risk in profit.
• No pyramiding by default (can be enabled for persistent regime continuation).
6.3 Pine Script Strategy
A complete Pine Script v6 strategy file (rsi_t_strategy_v6.pine) is provided alongside this document. The strategy includes configurable parameters for entry/exit rules, position sizing, stop-loss, and trailing stop. It can be applied to any instrument and timeframe in TradingView for historical backtesting.
6.4 Metrics to Evaluate
When backtesting the RSI-T strategy, focus on the following metrics to validate the theoretical framework:
• Win Rate in Persistent vs. Momentum vs. Neutral regimes (the theory predicts higher win rates in persistent regimes for trend-following entries).
• Average trade duration across regimes (persistent regime trades should be longer and more profitable).
• False signal rate: How often does momentum (blue background) fail to convert to persistent (green background)?
• Regime exit accuracy: What percentage of regime exits (counter reset) are followed by actual reversals within N bars?
• Comparison vs. classic RSI strategy (same entry rules without the time parameter) to isolate the value added by the time dimension.
7. Limitations & Future Work
7.1 Known Limitations
• The RSI-T is a lagging indicator by nature. The time counter requires bars to accumulate before signaling persistence, meaning the earliest phase of a move is not captured.
• In choppy or range-bound markets, the counter may produce false starts, briefly entering momentum zone before resetting. The persist_bars threshold helps filter these but cannot eliminate them entirely.
• The linear time_weight model (each bar adds the same boost) may not be optimal. Markets may exhibit non-linear acceleration, where the 10th bar at extreme is more significant than the 3rd.
• The indicator does not incorporate volume, volatility, or cross-asset information. It is purely price-derived.
7.2 Future Development
• Non-linear time weighting: Exponential or logarithmic boost curves that better reflect the accelerating nature of regime establishment.
• Volatility-adjusted thresholds: Dynamic overbought/oversold levels that adjust based on current implied volatility (high-vol environments may require wider thresholds).
• Fast/Slow RSI divergence: Comparing RSI-T across different periods (e.g., RSI-T(7) vs RSI-T(21)) to measure regime acceleration, as described in the original theory.
• Cross-asset regime correlation: Using the RSI-T regime of correlated assets (e.g., SPX for individual stocks) as a confirmation layer.
• Machine learning optimization: Using historical data to optimize time_weight and persist_bars parameters per asset class and market regime.
8. Appendix
8.1 Files Included
File Description
rsi_t_v6.pine RSI-T indicator for TradingView (Pine Script v6)
rsi_t_strategy_v6.pine RSI-T backtest strategy for TradingView (Pine Script v6)
rsi_t_indicator.py RSI-T Python implementation for custom backtesting
8.2 Version History
Version Date Changes
1.0 May 2026 Initial release: RSI-T indicator, strategy, white paper
Copyright © 2026 Dimitrios Kataliakos. All rights reserved.
This document and the associated indicator code are proprietary work based on the original theory of markets as expanding systems.
Penunjuk

CDC Action Zone+TrueMarket Mean (BTC Focus) By Beckte## Overview
This indicator is a macro-focused trend following and cyclical value tracking tool, specifically designed for Bitcoin (BTC) long-term investors. It combines the momentum logic of the well-known **CDC Action Zone** with a mathematical simulation of the On-Chain **Realized Price** model.
The main purpose of this script is to identify high-probability, macro-generational accumulation zones while filtering out early or false bottom signals during aggressive downtrends.
---
## Key Components
### 1. CDC Action Zone (Trend & Momentum)
Based on the classic EMA 12 and EMA 26 crossover logic, this component colors the candlesticks to reflect the market's current momentum:
- 🟢 **Bright Green:** Strong Bullish Momentum (Hold / Trend is up)
- 🔵 **Blue:** Early Bullish Sign / Potential Reversal (Watch closely or start accumulation)
- 🔴 **Bright Red:** Strong Bearish Momentum (Stay in cash / Wait)
- 🟠 **Orange:** Early Bearish Sign / Technical Rebound in Bear Market
### 2. Realized Price Proxy (The Cyclical Floor)
In on-chain analysis, the **Realized Price** represents the average cost basis of all aggregate Bitcoin supply moving on-network, without omitting lost or dormant coins.
Since native on-chain data requires external API subscriptions on TradingView, this script utilizes a specialized long-term statistical proxy (**730-day SMA with custom logarithmic offsets**) to simulate this ultimate cyclical floor. Historically, major bear market bottoms (2015, 2018, 2022) have strictly formed near or slightly below this baseline.
---
## How it Works & Entry Strategy (The Anti-Doi Mechanism)
To avoid catching falling knives during a capitulation event, this script enforces a strict double-confirmation rule:
1. **Value Zone Check:** The current market price must correct down to within **10% of the Realized Price Proxy** (the light blue line). This ensures you are buying Bitcoin at an extreme discount relative to historical network value.
2. **Momentum Trigger:** Once inside the Value Zone, the script waits for the **CDC Action Zone to flip from Red/Orange to Blue or Green**.
When both conditions are met, a **"REALIZED BUY"** label will plot beneath the candlestick, signaling a safe, low-risk entry spot with a highly compressed downside.
---
## Disclaimer & Credits
- **Credits:** The trend-following logic is inspired by the legendary "CDC Action Zone" concept popularized by Piriya Sambandaraksa. The valuation floor is based on the Realized Price on-chain metric conceptualized by the crypto-asset research community.
- **Disclaimer:** This indicator is designed for high-timeframe spot accumulation (recommended: 1D or 4H charts). It is not a financial advisory tool or a guarantee of future profits. Past performance does not indicate future results. Always practice proper risk management. Penunjuk

Penunjuk

Penunjuk

Moving averages. JB styleMoving averages. JB style
A clean, configurable multi-MA overlay. Up to four moving averages, each colored by its own slope, with debounced crossover markers, weight-scaled line widths, an EMA/SMA switch, a regular-hours session lock, and five color palettes — all tuned so the indicator reads as a separate layer over your candles instead of blending into them.
WHAT IT DOES
- Up to 4 moving averages. Defaults are 9 / 21 / 50 / 200, and every slot has its own editable length and show/hide toggle, so you can run one MA or all four. Source is fixed to close to keep the panel simple.
- EMA or SMA from one dropdown. The MA Type dropdown flips all lines between simple and exponential, reusing the same lengths and styling.
- Slope-based coloring. Each line is colored by its own slope: a blue tone when rising, an orange/amber tone when falling, and neutral gray when essentially flat. Colors sit deliberately off the green/red axis so the lines never blend into the candles.
- Weight-scaled widths. Faster MAs are thin, slower MAs are thick, so the long-term anchors stand out at a glance. The slowest MA is drawn as a dotted circle line to mark it as the long-term reference.
- Crossover markers. A hollow ring with a centered dot marks crossovers between adjacent MAs (1x2, 2x3, 3x4) — including the classic 50/200 — a bright bull tone for a bullish cross and an amber tone for a bearish one, placed right at the crossing price.
- Five palettes. Dark, Light, Neon, Ocean, and Solarized. Candles are never recolored on any theme.
WHY IT'S DIFFERENT
Most moving-average indicators just draw lines and color them by whether price is above or below — which whipsaws constantly. This one is built around signal reliability:
1. Slope coloring instead of price-vs-MA coloring. Color reflects whether the average itself is rising or falling — a steadier read of trend than the noisy "is price above the line" flip.
2. A slope deadband kills color flicker. Near-flat averages normally strobe between colors on every tick. Here the slope must clear an ATR-scaled threshold before the color flips; otherwise the line goes neutral. A flat ribbon looks flat — which is itself useful information.
3. Crossovers are MA vs MA, not price vs MA. A faster average crossing a slower one needs agreement between two degrees of smoothing, so it fires far less on noise than a single line being touched by price.
4. A debounce filter removes chop without lagging the signal. The marker fires on the actual crossover, then suppresses further crosses until the two averages genuinely separate (by an ATR-scaled amount) and reconverge. A cluster of back-and-forth chop crosses produces one marker on the real cross — not a smear of noise, and not delayed to a later cross.
5. Confirmed-bar markers don't repaint. A crossover marker appears only after the bar closes, so it never flashes mid-bar and then vanishes.
6. Regular-hours session lock. Every MA (and the ATR behind the filters) is computed from a regular-session feed, so a 200-MA reads the same whether your chart shows extended hours or not. The lines simply hold flat through pre/post-market instead of drifting. On 24/7 instruments this is a harmless no-op.
7. Always the chart's own timeframe. The session lock swaps only the session, never the timeframe — the MAs are always calculated on the timeframe you're viewing.
8. Lines that don't fight the candles. Bull/bear line colors are deliberately blue/orange rather than green/red, so the indicator reads as a clean layer over the candles instead of camouflaging into them.
INPUTS
- Palette: color theme for lines and markers (Dark / Light / Neon / Ocean / Solarized).
- MA Type: SMA or EMA, applied to all lines.
- Regular Hours Only: compute all MAs and ATR from a regular-session feed, regardless of the chart's session.
- Show Crossovers: toggle all crossover markers.
- Slope Deadband (x ATR): minimum slope before the color flips; 0 disables (default 0.02).
- Crossover Min Sep (x ATR): debounce gap — after a marked cross, the next one is suppressed until the MAs separate by this amount and reconverge; 0 disables (default 0.10).
- MA #1-4 Show / Length: per-slot visibility and period (defaults 9 / 21 / 50 / 200).
Penunjuk

Smart Trail, 9/21 Crossover + VWAP Signals ScoreSmart Trail + 9/21 Crossover + VWAP with HTF and ADX Filter
A trend-following signal indicator combining a dynamic ATR-based Smart Trail with EMA 9/21 crossover signals, VWAP bias, a higher timeframe alignment filter, and an ADX + DI directional filter — all working together to surface only high-conviction entries.
How It Works
The Smart Trail continuously calculates adaptive support and resistance levels using ATR and a configurable sensitivity multiplier. When the trend flips direction a signal fires — but only after passing the ADX strength filter, DI directional filter, and higher timeframe Smart Trail alignment check.
Scoring System (0–100)
Every Smart Trail signal is scored across three weighted factors:
Smart Trail (default 40 pts) — trend direction confirmation. Full points when trend is aligned.
EMA 9/21 (default 35 pts) — full points when price is above both EMAs and 9 > 21 (bull) or below both and 9 < 21 (bear). Partial (0.5) when mixed. Zero when fully against.
VWAP (default 25 pts) — full points when price is above VWAP for bull signals, below for bear signals.
All weights are fully adjustable. Score normalizes to 0–100 regardless of weight configuration.
EMA 9/21 Crossover Signals
Independent crossover signals plot separately from the Smart Trail signals using a distinct shape (triangle) and color (yellow/orange) so they are easy to differentiate. An optional fill between the two EMAs colors green when 9 > 21 (bullish) and red when 9 < 21 (bearish) — giving instant visual context of EMA stack direction across the whole chart.
Hard Filters (signal blocked entirely if not met)
ADX + DI Filter:
ADX must be above the configured minimum threshold (default 20) — blocks signals during choppy, trendless price action
DI+ must be greater than DI- for bull signals — confirms buyers are in control
DI- must be greater than DI+ for bear signals — confirms sellers are in control
Toggling the ADX filter off disables both the ADX threshold and DI directional checks simultaneously
Higher Timeframe (HTF) Smart Trail Filter:
Runs the same Smart Trail calculation on an automatically determined higher timeframe
Bull signals only fire when the HTF Smart Trail is also bullish
Bear signals only fire when the HTF Smart Trail is also bearish
Auto timeframe mapping: 1m → 5m, 2-3m → 15m, 5m → 30m, 15m → 1h, 30m → 2h, 1h → 4h, 4h+ → Daily
HTF Smart Trail plots as a thicker faded line for visual reference
Session Filter:
Restricts signals to regular trading hours (default 9:30–16:00 ET, fully configurable)
Signal Labels
Each Smart Trail signal prints a scored label directly on the chart:
▲ 85 — bullish flip, score 85
▼ 22 — bearish flip, score 22
Label color is green (≥70), yellow (50–69), or red (<50). An optional rolling score label can be enabled to display the live score at a configurable bar frequency.
Alerts
Two dynamic alert conditions using the alert() function — one for bull, one for bear. Both Smart Trail signals and EMA crossover events trigger the same alert so only one alert needs to be created in TradingView.
Set the alert condition to "Any alert() function call" in the TradingView alert dialog.
Alert message format: Smart Trail: BULL | Score: 82 | ADX: 24 | DI+: 28 | DI-: 18 | HTF: 15m | META | 3m | Price: 626.87
Settings
GroupKey SettingsSmart TrailLength, multiplier, source, sensitivityScore WeightsPer-factor weight (0–100 each)Score FilterMin bull score, max bear scoreSession FilterOn/off toggle, custom sessionADX FilterOn/off toggle, length, minimum thresholdHTF FilterOn/off toggle (auto timeframe)EMA CrossShow/hide signals, show/hide fill, bull/bear fill colorsDisplayRolling score labels, frequency
Recommended Usage
Best used on intraday timeframes (1m–15m). Signals with scores of 70+ where ADX is above 25 and DI direction is clearly aligned represent the highest conviction setups. The EMA fill gives immediate context — trading in the direction of the fill color with a Smart Trail flip confirmation is the core entry pattern. Penunjuk

Penunjuk

Edo SuperTrend CoreEdo SuperTrend Core — Clean Single-Line SuperTrend with RSI Trend Confirmation, Directional Intensity Fill and Trend Duration Counter
SuperTrend, created by Olivier Seban, is one of the most widespread trend-following indicators: it uses the Average True Range (ATR), introduced by J. Welles Wilder, to build a dynamic trailing stop that switches sides when price crosses it. It is clear and effective, but it has a known limitation: in sideways or noisy markets it produces false flips —trend changes that reverse within a few bars— and, drawn the classic way with its two bands, it clutters the chart.
Edo SuperTrend Core was built to solve those two things. It keeps the original SuperTrend algorithm, but adds a momentum confirmation filter that requires the RSI to agree before accepting a trend change, and simplifies the representation to a single line with an intensity fill and a duration counter. The goal is a clean trend reading with fewer false turns, without giving up the classic logic.
Edo SuperTrend Core does not generate automatic buy or sell signals: it visualizes the state and the maturity of the trend so the trader can integrate it into their own judgment.
WHAT THE INDICATOR DOES
The indicator combines four elements on a single layer. The SuperTrend line is a single dynamic level that acts at once as a trend reference and as the flip level, the closing price that, if crossed, would change the trend. The RSI confirmation filter requires momentum to agree in order to validate a trend change. The directional intensity fill, between price and the line, highlights the phase of the move. And the duration counter shows how many bars the current trend has been active.
CONCEPTUAL CALCULATION BASIS
The base is the classic SuperTrend: the ATR measures volatility and, from a multiple of that ATR, a dynamic level is computed that sits below price in an uptrend and above price in a downtrend. In the classic implementation two bands are plotted; here only the active level is shown, which keeps the chart cleaner.
On top of that base, Edo SuperTrend Core adds its own layer: when the SuperTrend signals a trend change, that change is only accepted if the 14-period RSI confirms it, above 50 to validate a bullish turn and below 50 to validate a bearish one. If momentum does not agree, the indicator keeps the previous trend. This filter is the central difference versus a standard SuperTrend: it discards part of the flips that noise generates in sideways markets. The basic reading is direct: with the SuperTrend below price the trend is bullish, and with the SuperTrend above price, bearish.
SENSITIVITY PROFILES
A single selector adjusts the behavior of the SuperTrend by modifying the internal ATR parameters. The Fast profile uses ATR 7 and factor 2.0: higher sensitivity, reacts sooner and produces more changes, useful on lower timeframes. The Balanced profile uses ATR 10 and factor 2.3: it is the default setting, balancing reactivity and stability. The Slow profile uses ATR 14 and factor 3.0: smoother and more stable detection, with fewer turns, useful on higher timeframes.
INTENSITY FILL
Between price and the SuperTrend line a fill is drawn whose color follows the direction of the trend and whose opacity is configurable. Its purpose is to make the phase and the magnitude of the separation between price and level visible at a glance: the greater the distance, the more extended the move is relative to its trailing stop. The RSI, besides filtering the trend changes, provides the momentum context that accompanies that phase, whether expansion, consolidation or exhaustion.
TREND DURATION COUNTER
Each time the trend changes, the indicator writes at the midpoint of the previous leg the number of bars that trend lasted. It is a purely informative figure that helps judge the maturity of the move: a trend that has already accumulated many more bars than the previous ones may be more extended, whereas a freshly started one is barely beginning to develop.
ALERTS
Edo SuperTrend Core includes four alert conditions configurable from the standard TradingView alerts dialog, split into two levels according to the momentum filter. The confirmed bullish trend change fires when the flip to bullish has passed the RSI filter, with momentum agreeing; it is the indicator's definitive trend signal. The confirmed bearish trend change is its downside equivalent. The raw flip up warns that price has crossed the SuperTrend line upward, still pending RSI confirmation, and serves as an early warning of a possible turn not yet validated; the raw flip down is its bearish equivalent. The confirmed and raw pair lets the trader choose their level of anticipation: the raw flip warns sooner but may reverse, while the confirmed one arrives a step later but has already filtered out part of the false turns.
HOW TO READ IT
The position of the line relative to price defines the trend and its side, and the color confirms the state at a glance. When a trend change occurs it is worth remembering that it has already passed the RSI filter, that is, that momentum was agreeing: turns confirmed by momentum tend to be more reliable than a pure SuperTrend flip. The fill and the separation between price and line indicate whether the move is expanding or losing strength. The duration counter places the current trend against the previous ones, and a trend well above the usual duration invites watching the flip level more closely. That flip level, the level of the line, is the closing price that would change the trend and serves as a dynamic stop reference.
ORIGINALITY AND JUSTIFICATION
Olivier Seban's SuperTrend and Wilder's RSI and ATR are public-domain classics, and Edo SuperTrend Core names and credits them without reservation. What it adds over a standard SuperTrend is specific: an RSI confirmation filter that discards part of the false flips of the classic SuperTrend in sideways markets, a single-line representation instead of the two bands, an intensity fill that makes the phase of the move legible, and a duration counter that adds a maturity reading. The combination of momentum filter, phase reading and duration is what distinguishes this version, not the base algorithm.
CONFIGURATION
Profile: Fast, Balanced or Slow, which adjusts the ATR and the factor. Gradient Opacity: the visual intensity of the fill, from 10 to 100%. All calculations adapt automatically to the chart's timeframe.
OPEN SOURCE
Edo SuperTrend Core is published as an open source and free indicator. The full Pine Script is publicly available on TradingView for study, adaptation and integration into any workflow.
This indicator is a technical analysis tool intended exclusively for educational and informational purposes. It does not generate automatic buy or sell signals and should not be considered financial advice. Trading in financial markets carries a significant risk of capital loss. Past results do not guarantee future results. Always use proper risk management.
Penunjuk

Edo EMA Core CrossEdo EMA Core Cross — Five-EMA Structure with a Three-Tier Cross Hierarchy and Weight-Scaled Markers (Momentum, Structure and Golden/Death Cross)
The exponential moving average (EMA) is one of the most basic elements of technical analysis: a dynamic equilibrium level that weights recent price more heavily. When a fast EMA crosses a slow one, that cross marks a change in the rhythm of the market, and it is one of the oldest and most reliable readings there is. The problem is not the EMA itself, but the handling: plotting five EMAs on the chart, watching by hand which pair has just crossed and remembering how much structural weight each cross carries is noisy, slow and error-prone, especially when what matters is not that there is a cross, but what kind of cross it is.
Edo EMA Core Cross was built to solve that. It does not reinvent the EMA: it organizes five key EMAs into a three-tier cross hierarchy and marks each cross with a visual weight proportional to its structural importance, so the trader tells apart at a glance short-term noise, operating rotation and a larger structural change.
This indicator does not predict price nor generate automatic signals: it visualizes transitions that are already happening so the trader can align with them.
WHAT THE INDICATOR DOES
The indicator plots five EMAs and monitors three cross pairs, assigning each pair a distinct hierarchical level. The five EMAs —9, 20, 50, 100 and 200— represent five speeds of the market, from immediate momentum, read by the 9, to the dominant structural bias, read by the 200. Conceptually, each EMA acts as a dynamic equilibrium level: when a faster EMA crosses above a slower one it signals growing bullish pressure, and when it crosses below, growing bearish pressure. What Edo EMA Core Cross adds is classifying those crosses into three hierarchies according to which averages are involved, because not all crosses carry the same weight.
THE FIVE EMAs
The five averages form a hierarchy of speeds. The EMA 9 reads immediate momentum; the EMA 20, the short term; the EMA 50, intermediate structure; the EMA 100, background structure; and the EMA 200, the dominant structural bias. Plotted together, they let you read the market as a hierarchical system where short-term moves develop inside larger structural layers. The thickness of each line grows with its weight —the 200 is the thickest— to reinforce the hierarchy visually.
THE HIERARCHICAL CROSS SYSTEM
It is the core of the indicator. Each cross pair is marked with a visual weight proportional to its structural relevance. The cross of the EMA 9 with the EMA 20 corresponds to momentum: fast changes and internal transitions within the prevailing structure, flagged with a small marker. The cross of the EMA 20 with the EMA 50 corresponds to structure: deeper operating rotations and possible mid-structure transitions, with a medium marker. The cross of the EMA 50 with the EMA 200 is the Golden Cross or Death Cross, the heaviest event, the classic structural cross that marks a long-term bias change, with a large marker set apart by its macro importance. This gradation is what turns a pile of EMAs into a structured reading: the size of the marker tells you, without measuring anything, whether what just happened is short-term noise, an operating rotation or a larger structural turn.
MARKERS AND LABELS
Each cross is flagged with an X-marker —below the candle if bullish, above if bearish— and with a readable label that identifies the pair and the direction, for example "9 ↑ 20" for a bullish cross of the 9 over the 20 or "50 ↓ 200" for a Death Cross. Each cross hierarchy can be toggled independently, so the trader can keep only the levels of interest, for example hiding the 9/20 noise and watching only the Golden and Death Cross.
ALERTS
Edo EMA Core Cross includes six alert conditions configurable from the standard TradingView alerts dialog, one bullish and one bearish for each of the three cross hierarchies. In the momentum hierarchy, the bullish alert fires when the 9 crosses above the 20 and the bearish one when it crosses below. In the structure hierarchy, when the 20 crosses above or below the 50. And in the major hierarchy, the Golden Cross when the 50 crosses above the 200 and the Death Cross when it crosses below. The alerts are independent of the visual toggles: they fire even if the corresponding hierarchy is hidden on the chart, so the trader can keep the chart clean and still receive the warning for the level of interest.
HOW TO READ IT
It is worth reading the hierarchy first: before reacting to a cross, look at its size, because a small 9/20 marker is momentum and a large 50/200 marker is structure, and the kind of cross matters more than the cross itself. Then align the speeds by checking the order of the EMAs: when they are stacked from fast to slow in bullish order, the 9 over the 20 over the 50 over the 200, the structure is clean, and when they interleave, the market is in transition. The Golden or Death Cross is contextualized: a 50/200 cross confirms a long-term bias change, but it is not an entry trigger, and it gains value when it coincides with structure and with relevant levels on the chart. Overall, the crosses are used as confirmation and not as anticipation: the indicator visualizes transitions that are already happening, and it serves to align with the structural change, not to front-run it blindly.
ORIGINALITY AND MASHUP JUSTIFICATION
EMAs are a public-domain component and this indicator does not pretend otherwise: it neither renames them nor presents them as something proprietary. The value is not in the averages, but in how they are coordinated. Plotting five EMAs by hand leaves the trader the task of identifying which pair crosses, remembering how much structural weight each pair carries and telling a momentum cross apart from a structural change, a manual, slow and error-prone job in real time. Edo EMA Core Cross solves that with one concrete design decision: ranking the crosses into three tiers and scaling the visual weight of each marker to its structural importance, so the three hierarchies —momentum with the 9/20, structure with the 20/50 and Golden or Death Cross with the 50/200— are read simultaneously and told apart at a glance. That visual coordination of the three hierarchies on a single clean overlay, and not the EMAs separately, is what the indicator contributes.
CONFIGURATION
Show EMA 9 / 20 Cross toggles the momentum hierarchy; Show EMA 20 / 50 Cross, the structure hierarchy; and Show EMA 50 / 200 Cross, the Golden and Death Cross. The colors and thicknesses of the EMAs are customized from the TradingView Style tab.
OPEN SOURCE
Edo EMA Core Cross is published as an open source and free indicator. The full Pine Script is publicly available on TradingView for study, adaptation and integration into any workflow.
This indicator is a technical analysis tool intended exclusively for educational and informational purposes. It does not generate automatic buy or sell signals and should not be considered financial advice. Trading in financial markets carries a significant risk of capital loss. Past results do not guarantee future results. Always use proper risk management.
Penunjuk

Multi Trend FilterOverview
Multi Trend Filter shows the market's underlying trend with a single, clean line. It uses the Daily timeframe as the base, then layers 4H and 30m confirmation on top, coloring the trend in three intuitive states: green / yellow / red. No matter which chart timeframe you view it on (15m, 1h, 4h, etc.), it stays consistent on the Daily basis, and a two-pass smoothing keeps the line smooth on any chart.
WHAT THE COLORS MEAN
Green (UPTREND): Uptrend confirmed.
Yellow (TRANSITION): Trend is shifting — awaiting confirmation.
Red (DOWNTREND): Downtrend confirmed.
HOW IT WORKS — 3-STAGE MULTI-TIMEFRAME CONFIRMATION
Set the broad direction with higher timeframes first, then confirm the entry with the lower timeframe last.
Daily (Base / Reference line) — the line drawn on the chart; the anchor of the larger trend.
4H (Primary confirmation) — when both the close and the 4H flow align above/below the Daily line, the base direction is set.
30m (Final confirmation) — in that base direction, once the candle body closes across the 30m line, the color is finalized:
Close closes ABOVE the 30m line → Green
Close closes BELOW the 30m line → Red
Yellow (Transition) is the period before both stages confirm — the 4H hasn't committed yet, or it has but the close hasn't cleared the 30m line. Once green/red is confirmed, the color ignores minor noise while the base holds (latch), so it won't flicker.
HOW TO READ IT
Green: uptrend intact. Look for pullback entries.
Red: downtrend intact. Look for bounce exits / stay aside.
Yellow: direction unclear; safer to wait until it confirms green/red.
Yellow to Green = bullish shift. Yellow to Red = bearish shift.
KEY SETTINGS
Trend Line — First / Second Smoothing Length: line smoothness and responsiveness.
Display Smoothing — Smooth Line, Smooth Strength: keeps the line smooth on any timeframe (higher = smoother, slightly more lag).
Confirmation Lines — Show 30m Line (Signal) / Show 4H Line (Base): reveal the lines used for confirmation.
Style — up/down/transition colors, line width, fill and transparency, trend label.
TIPS
Use it as a trend direction and shift filter, not a standalone trade signal.
Reliability increases when the trend color agrees with your own setup (support/resistance, volume, etc.).
If the line looks choppy, raise Smooth Strength.
DISCLAIMER
This indicator is a reference tool to help judge trend direction. It does not guarantee trading profits. All trading decisions and responsibility rest solely with the user. Penunjuk

Multi-Tool: Overlays, MAs, Grid & Sessions🛠 Multi-Tool (H1/D1 Overlays, Flexible MAs & Session Grid)
📖 Introduction
The Scalp-Vision Multi-Tool is a professional analysis instrument designed specifically for scalpers and day traders. It combines the structure of higher timeframes (H1/D1) with session time markers and psychological price levels directly within the current chart. The goal is to make market context instantly readable — without having to switch timeframes.
✨ Key Features
📦 Multi-Timeframe Template Overlays (H1 & D1)
H1 Projection: The indicator takes the high and low of the last completed hourly candle and projects this range as a subtle "shadow" (box) over the current hour.
D1 Projection: Yesterday's range is overlaid as a large background frame across the current trading day.
Median Lines: Automatically calculated midlines for both time ranges serve as reference points for mean reversion trades.
Advantage: You can instantly see whether price is trading within the value area of the previous period or whether a breakout is occurring.
📈 Flexible Moving Averages (MA+)
Four MA Slots: Users can activate up to four moving averages simultaneously.
Individual Types: Each MA can be set separately as SMA (Simple), EMA (Exponential), or WMA (Weighted).
Fully Customizable: Length, color, and line width are freely adjustable for each MA, allowing strategies like the 20/200 crossover to be mapped perfectly.
🕒 Manual Session Markers (Vertical Lines)
Session Opens (Green): Vertical solid lines mark the start of the Asia, London, and New York sessions.
Session Closes (Red): Indicate the end of each respective trading session.
Flag Icons: Small icons (🇯🇵, 🇬🇧, 🇺🇸) at the bottom of the chart help with quick time orientation.
Manual Control: To avoid errors caused by timezone shifts, the hours and minutes of each session can be entered directly in the settings.
🏁 Round Numbers Grid (Psychological Levels)
100-Step Lines: Solid horizontal lines at round price levels (e.g. 1.1000, 1.1100).
50-Step Lines: Dashed lines for finer subdivision.
Global Design: The grid extends across the entire chart and helps place take-profit and stop-loss levels at institutionally relevant marks.
⚙️ User Guide & Settings
🛠 Setting Up Sessions
Since TradingView servers run globally, the safest method is manual input:
Look at your local time shown at the bottom of the time axis in the chart.
Enter the desired start and end time (hour and minute) in the fields under "Sessions (Manual Times)".
The lines will adjust to your chart immediately.
🎨 Visual Customization
Overlays: If the H1 boxes overlap the candles too heavily, reduce the opacity in the color settings of the boxes.
Line Styles: All session lines and medians can be switched from Solid to Dashed or Dotted.
💡 Trading Tips
Inside vs. Outside: Is price using the D1 median as support? A bounce is often a sign of strength.
Session Volatility: Watch the green London line (9:00 AM) — this is often where the first real trends of the day emerge.
Grid Magnetism: Round numbers frequently attract price. Use the grid to identify congested order areas. Penunjuk
