Luis-Enrico Mag7 PerformanceTracks daily & weekly performance (1-4W) of Magnificent 7 stocks (GOOG, AAPL, AMZN, META, MSFT, NVDA, TSLA) in a compact table.
Key Features:
Daily chart only (uses 5 trading days = 1 week)
Day % + 1/2/3/4 Week returns
Color-coded (green/red)
Bottom-left position
Optimized (7 security calls only)
Индикаторы и стратегии
Quantum Ribbon Pro📊 WHAT IS QUANTUM RIBBON PRO?
Quantum Ribbon Pro is a trend trading system built on a 5-layer adaptive EMA ribbon with multi-timeframe confirmation, advanced risk management, and custom alert automation.
It's designed for traders who want clear entries, precise risk control, and the flexibility to automate their trading — all from one indicator.
If you've used Quantum Ribbon Lite, this is the full system with HTF filtering, partial take profits, break-even automation, session control, and webhook-ready alerts.
🚀 PRO FEATURES
Multi-Timeframe Confirmation
Filter your signals using a secondary timeframe for trend alignment. Choose any timeframe from 15m to Weekly. Option to display the MTF ribbon directly on your chart.
Partial Take Profits
Scale out of positions like a professional. Set TP1, TP2, and final target levels with customizable percentages. The indicator tracks your remaining position size in real-time.
Break-Even Protection
Automatically move your stop loss to entry price after hitting TP1 or TP2. Lock in gains and let winners run with zero risk.
Session Filter
Trade only during your preferred market hours. Fully customizable start and end times. Avoid choppy overnight sessions or news events.
Custom Alert Templates
Four built-in alert formats including JSON for webhook and bot integrations. Or build your own template using placeholders for entry price, stop loss, take profit, position size, and more.
Custom Signal Codes
Add your own identifiers to each signal for automation workflows. Useful if you're routing alerts to multiple bots or tracking different setups.
🔧 HOW THE CORE SYSTEM WORKS
The Ribbon System
The indicator uses 5 pairs of EMAs (10 moving averages total) that create colored "clouds" on your chart:
Blue/Teal ribbons indicate bullish alignment
Red/Pink ribbons indicate bearish alignment
Mixed colors indicate neutral or transitional periods
The ribbon spacing automatically adjusts from a fast EMA (21) to a slow EMA (60), creating layers that show trend strength and direction.
Signal Generation
Signals appear when multiple conditions align:
For LONG signals:
Fast EMAs above slow EMAs
Price momentum positive and strong (> 0.5 ATR)
Volume above average (> 1.1x)
Ribbon confirms bullish state
Confidence threshold met
MTF trend aligned (if enabled)
Within active session (if enabled)
For SHORT signals:
Opposite conditions apply.
Green "BUY" or Red "SELL" labels appear at candle close. All signals confirmed — no repainting.
Risk Management Lines
Lines appear when you have an active position:
White dotted line = Entry price
Red dotted line = Stop loss level
Green dotted lines = Take profit targets (TP1, TP2, Final TP in Pro)
Performance Dashboard
The stats table shows:
Current position status (In Long/Short or Waiting for signal)
Entry, stop, and target prices when in a trade
Win/loss record
Win rate percentage with color coding
⚙️ SETTINGS
Signal Settings
Signal Sensitivity (1-10): Controls the minimum time between signals (cooldown period)
1 = 2 bars between signals (most frequent)
5 = 10 bars between signals (balanced)
10 = 20 bars between signals (most selective)
Signal Mode: Choose ribbon-based or momentum-based signal generation
Break-Even
Break-Even Trigger: Choose which TP level moves stop to entry
Options: After TP1 / After TP2 / Disabled
Multi-Timeframe
Enable MTF Confirmation: Filter signals by higher/lower timeframe trend
Select from 15m, 30m, 1H, 2H, 4H, Daily, Weekly
Display higher/lower timeframe ribbon directly on your chart
Session Filter
Enable Session Filter: Only generate signals during specified hours
Session Start: Set start time (e.g., 09:30)
Session End: Set end time (e.g., 16:00)
Timezone: Select your local timezone
Alerts
Alert Format: Choose from 4 formats
Standard: Basic signal info
Detailed: Full trade parameters
JSON: For webhook/bot integrations
Custom: Build your own templat
🎯 RISK MANAGEMENT
Stop Loss Calculation
Stops are based on ATR (Average True Range) which measures recent price volatility:
In quiet markets: Stops are placed closer to entry
In volatile markets: Stops are placed further away
This adaptive approach helps prevent stop-hunting while maintaining appropriate risk levels.
Alternatively, use percentage-based stops for fixed distance regardless of volatility.
Take Profit Calculation
Targets are calculated as a multiple of your stop distance:
If stop is 50 points away and you use 2R, target is 100 points away
Maintains consistent risk-reward ratios across all trades
Partial Take Profits
Scale out of positions to lock in profits while letting winners run
TP1: Close first portion (e.g., 50%) at conservative target
TP2: Close second portion (e.g., 25%) at intermediate target
Final: Remaining position (e.g., 25%) runs to full target
Combined with break-even protection, this creates a "risk-free" trade after TP1.
Required Win Rates
To break even after fees:
1.5R requires ~40% win rate
2R requires ~34% win rate
3R requires ~25% win rate
📊 RECOMMENDED USAGE
Timeframes
Daily charts show strongest performance in testing
1H, 4H works well with HTF confirmation enabled
Lower timeframes generate more signals but reduced quality — use tight filters
Markets
Works on all instruments: Stocks, Forex, Crypto, Futures, Indices
Best suited for trending markets
May generate false signals in tight ranges or choppy conditions
Use HTF filter to avoid counter-trend trades in ranging markets
Works on any market (Forex, Crypto, Stocks, Futures, Indices)
Free Lite version available for testing core functionality before purchase. No leverage recommendations — risk management is your responsibility.
📌 DISCLAIMER
This indicator is a tool to assist your trading decisions, not a guarantee of profits. Past performance does not guarantee future results. Always use proper risk management and never trade with money you cannot afford to lose. You are solely responsible for your trading decisions.
HYBRID MARKET SCORE SUITE - Context Engine🔬 HYBRID MARKET SCORE SUITE - Context Engine — Algorithmic Imbalance Scoring & Compact 37-Indicator Dashboard
Monitoring regular divergences, OB/OS zones, statistical deviations, and 37 metrics simultaneously is impractical to do manually. HMSS - Context Engine updates them every tick in one compact dashboard, with an optional scoring layer.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS
HMSS - Context Engine
Performs **Real-Time Monitoring** of 37 technical metrics across 4 fixed timeframes ( 1H / 4H / 1D / 1W ) simultaneously, plus 3 cumulative tools that operate independently of timeframe selection.
It processes market data on a **tick-by-tick** basis without lookahead, designed to detect developing structural imbalances and major trend exhaustion points as they unfold.
Since the indicator analyzes fixed multi-timeframe streams, it is chart TF-independent : switching your main chart timeframe does not affect the internal logic or scoring.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 "SWISS ARMY KNIFE" — Structural Context Tool
A compact table with extensive data for understanding where you are in the bigger picture:
34 MTF indicators across 4 timeframes (1H / 4H / 1D / 1W):
Divergences (13): RSI DIV, MFI DIV, CCI DIV, CMF DIV, MACD DIV, OBV DIV, Delta DIV, CVD DIV, DRSI DIV, ADX DIV, Elder DIV, Hull MA DIV, Stoch DIV
OB/OS (5): RSI OB/OS, MFI OB/OS, CCI OB/OS, Stoch OB/OS, DRSI OB/OS
Z-Score (9): RSI Z-Score, MFI Z-Score, CCI Z-Score, Stoch Z-Score, DRSI Z-Score, Delta Z-Score, CVD Z-Score, MACD Z-Score, OBV Z-Score
Other (7): CMF Zone, ADX Exhaustion, Elder Force, Williams VixFix (WVF), Volume Climax, ZMO EXT, NW ENV
3 Cumulative Tools (TF-independent): Basis, Williams A/D, PIV DIST (Pivot Distance)
A few "Special" metrics may be less familiar than classic oscillators, so here are quick notes on what they flag (not "better" indicators — just more niche tools):
NW ENV (Nadaraya–Watson Envelope): A kernel-smoothed price envelope (period 8) with deviation multipliers 2.25 (inner) and 7.75 (extreme). Labels reflect band breaches: !! = price outside the inner band (strong extension), !!! = outside the upper extreme band (rare upside extension), !!!! = outside the lower extreme band (rare downside extension). These are context tags for extension/mean-reversion risk, not trade commands.
Volume Climax: A Z-Score of volume over 20 periods. Flags unusually high volume above about 1.9σ . In practice, it helps highlight “crowd intensity” moments: heavy volume on a down candle can resemble panic-like supply; heavy volume on an up candle can resemble aggressive chasing. Treat it as context, not a directional guarantee.
ZMO EXT: normalized via Z-Score over a 100 -bar history. It highlights statistically stretched momentum when it deviates beyond roughly 2.0σ from its mean — a way to spot overheated acceleration.
Basis: Z-Score of the spread between perpetual futures and spot (Binance Futures Premium Index). High positive Z-Score = buyer overheating, deep negative = panic / liquidity deficit.
Williams A/D: Cumulative Williams Accumulation/Distribution indicator — tracks structural accumulation and distribution patterns.
PIV DIST (Pivot Distance): Percentage distance to the nearest significant Pivot level (weekly or monthly). Includes current, previous, and prior periods. Default is Camarilla (pivot type selectable in settings). Calculates extreme S6/R6 levels via progression. Cell highlights in counter-trend color when distance ≤0.5%. Extreme levels (5, 6) are colored unconditionally; Major levels (3, 4) — only when confirmed by score (|Score| > 1600). Does NOT participate in scoring — visual tool only.
All of this — across multiple timeframes simultaneously, in one compact table, without cluttering your chart with a dozen oscillators below. Works on any chart TF — your timeframe selection does not affect calculations.
Each block can be toggled in settings:
Divergence Block — forming regular divergences across oscillators/flows
OB/OS Block — overbought/oversold zones (RSI/MFI/CCI/Stoch etc.)
Z-Score Block — statistical deviations in sigmas (σ)
Special Indicators Block — special indicators and regime filters
Cumulative Block — Basis, Williams A/D, Pivot Distances
Scoring Block — Hybrid Engine (Score, Pattern, Breakdown, Attention, Trade Type, Veto)
Candle Coloring — optional highlighting of closed candles based on score level (threshold adjustable, off by default)
Use it as a dashboard for structural market assessment — a macro lens for trend context and positioning.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 SCORING SYSTEM — For Structural Imbalances
An innovative data-driven engine that activates during moments of structural imbalance :
• Calibrated using 380,000+ historical market data records
• Compares current indicator combinations with historical patterns
• Assigns a Score when significant combinations are detected
Think of the scoring system as a Seismograph — it monitors deep market structure, not surface noise. Elevated readings indicate tectonic pressure building up. When it reaches extreme levels, it signals accumulated stress that historically precedes structural shifts — like seismic tension that eventually releases.
It is designed to assist in identifying the broader trend context and potential structural pivot points, if that aligns with your approach.
The system is calibrated on a multi-month historical dataset of 380,000+ records collected minute-by-minute from cryptocurrency markets (BTC, ETH, SOL). During this period, the market showed both multi-month lows and several ATH (All-Time High) events. Statistical dependencies and indicator combination patterns were identified from this data.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 SCORING ENGINE ARCHITECTURE
Concept & Logic:
This system utilizes a hybrid approach, combining classical technical analysis with statistical profiling. Instead of simply summing up indicator signals, the algorithm compares the current market state against a proprietary database of historical patterns ("Profiles") collected for specific assets.
The calculation logic is layered:
1. Base Layer (Indicator Analysis):
The system monitors 34+ metrics (RSI, MFI, Z-Scores, CVD, OBV, ADX, VixFix, etc.).
Standard Deviation (25 pts, Dim Cell): Occurs when an indicator exceeds a standard volatility threshold (e.g., Z-Score > 1.5). This registers as a common local anomaly.
Profile Alignment (50 pts, Bright Cell): Occurs when a value hits specific historical thresholds recorded in the Asset Profile. These are values where structural shifts occurred in the past data samples.
2. The Core Pattern Recognition (compressed historical scenarios):
The system scans for ~14 compressed market scenarios (Patterns). A pattern becomes active only when its specific "Kernel" of indicators fires simultaneously with a Coverage Ratio > 70%.
3. Confluence & Weighting:
The final score reflects the density of these matches. It identifies the "Winning Side" (Long vs. Short bias) based on the accumulated weight of base and profile scores.
Score Breakdown (The "X-Ray" Row):
The dashboard displays a breakdown row ( L:… S:… C:… A:… K:… ) to visualize the components of the Total Score:
L / S (Baseline): Cumulative weight of active indicators for Long or Short bias.
C (Core Multiplier): A dynamic coefficient applied when the match with a historical pattern "Kernel" is high.
A (AddSig): Points for secondary confirming factors that reinforce the active pattern.
K (Key Features): Internal code for High-Impact Anomalies . These are rare statistical outliers (e.g., extreme Z-Scores > 3.0) that carry significant weight due to their historical correlation with structural expansion.
System States (Dashboard Output):
The text labels on the UI represent the statistical context of the market, not direct trade commands:
NEUTRAL: Balanced market, no dominant patterns.
SIGNAL FORMING: Early detection of potential accumulation or distribution structures.
TREND — WAIT: Market is in a directional phase; algorithm is monitoring for exhaustion or pivot points.
ON WATCH: High statistical confluence detected.
MAYBE LONG/SHORT: Directional statistical bias is present.
MAX SCORE: Indicates an "Extreme Score" condition. Historically, such values appear during significant structural extensions (Global Lows/Highs) where pattern coverage can approach 100% alongside statistical anomalies.
BREAKOUT: Context suggests structural continuation or level breach.
Disclaimer: This tool provides a statistical context assessment based on historical pattern matching. "Global Lows/Highs" / "New Low/High" are dataset-derived pattern names, not a directional claim. "Max Score" and "Key Features" describe rarity levels, not guaranteed outcomes. Past market behavior is not indicative of future performance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ DRSI VETO — SAFETY MECHANISM
Sometimes "the setup exists by score", but the market is structurally overextended — which can make positioning riskier. This is where DRSI Veto comes in:
If the system indicates LONG , but DRSI Z-Score shows extreme overbought conditions (or vice versa for SHORT), the VETO activates, significantly reducing the final Score.
This helps filter out overextended "exhaustion" setups — technically valid by score, but stretched enough to increase mean-reversion risk without proper context. A clear VETO label appears in the table.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 USE CASES — WHEN IT WORKS BEST
Dual Purpose: Efficiency & Detection
While the Scoring Engine identifies structural imbalances, the dashboard serves as your primary context workstation . It replaces the need for multiple oscillator panes, keeping your charts clean while providing a "Heads-Up Display" for Oscillators, Money Flow, and Statistical Anomalies across four timeframes at once.
Understanding "Where You Are":
The Context Engine is designed for positional awareness — understanding the broader trend structure before making decisions. It answers the question: "What is the macro context right now?"
Elevated Score (Not MAX):
An elevated score in the Context Engine often indicates that a strong trend is developing . This is valuable information for avoiding counter-trend positioning during powerful directional moves.
MAX Score — Rare Structural Events:
The scoring system fires less frequently than its companion (HMSS - Impulse Monitor), but when it does reach MAX Score levels, it indicates extreme structural tension — the kind that historically precedes major pivots. These are rare events measured in hours or days, not minutes.
When NOT to expect detections:
Markets can and often WILL pivot without the indicator firing. This tool is designed for major structural transitions . Smaller corrections and intraday reversals may occur without elevated readings — that's what HMSS - Impulse Monitor is for.
This is intentional: higher-score conditions are designed to be relatively rare, not a daily occurrence. If your approach values selectivity, it may help to treat elevated readings as “patient-wait” moments — markets often reward waiting for cleaner, high-confluence regimes rather than forcing a setup every session.
Think of the scoring system as a tectonic pressure gauge — most of the time it shows normal readings, but when stress accumulates to extreme levels, it provides valuable context for understanding structural risk. It's your seismograph: particularly useful when markets approach rare structural thresholds.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 FORMING DIVERGENCES — Real-Time Monitoring
Important note for experienced traders:
The indicator shows divergences that are CURRENTLY FORMING , not confirmed ones. This is Real-Time Monitoring mode — scoring updates every tick , allowing you to see the situation as it develops.
⚠️ No lookahead / no future leak: This script strictly uses lookahead=barmerge.lookahead_off (no future data is used in calculations).
On historical data, scores are displayed based on closed candles. For better historical detail, use lower timeframe candles.
If a "forming" pattern disappears — this is a normal part of real-time monitoring: the market changes, and the assessment/confluence recalculates accordingly.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 DIVERGENCE PERCENTAGES — WHAT THEY MEAN
Percentages next to divergences show "Divergence Intensity" — how strongly price and oscillator have diverged between points.
Note: The presence of a divergence itself is factored into the scoring system. However, the percentage values (intensity) are currently NOT included in Score calculation. We may add them in the future if we accumulate sufficient data confirming their statistical significance. For now, percentages serve as a visual hint for your own analysis — an additional confirmation filter.
Note: The indicator also draws forming divergence lines directly on the price chart — for 6 key oscillators (RSI, MACD, MFI, CCI, DRSI, CVD).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 SCORING SYSTEM COMPATIBILITY
Statistical data profiles are available for: BTC, ETH, and SOL
• Default mode is AUTO : BTC/ETH/SOL detected automatically; all other assets use 'ALTS' (ETH-based) profile
• Manual Override: You can select a specific profile in settings if Bar Replay testing shows it tracks your asset's volatility better
• Indicator readings as tools work on ANY assets and markets
• For non-crypto instruments (Forex, Stocks): if alerts trigger too often or too rarely, adjust MAX SCORE Thresholds in settings
Note: Alert threshold settings (Base, Total, MAX SCORE) also affect "Attention Level" and "Trade Type" display in the UI.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERT SYSTEM (4-STEP)
The alert system is tiered (each step can be toggled on/off):
Step 1: Base Score — Triggers when mathematical confluence reaches base threshold
Step 2: Core Pattern — Triggers when algorithmic pattern is detected (Breakout/Formation)
Step 3: Total Score — Triggers when total Score reaches threshold
Step 4: MAX SCORE Alert — Final high-score alert (individual thresholds for BTC/ETH/SOL/ALT)
Important: Alert thresholds simultaneously calibrate Attention and Trade Type in the UI.
For automation (bots / webhook-based tools): use Webhook URL. Keep in mind that maximum score is often reached at the wick tip, not at candle close — backtesting on longer TFs may show delayed data.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧩 HMSS ECOSYSTEM: HMSS - Context Engine vs. HMSS - Impulse Monitor
This script (HMSS - Context Engine) is one half of a specialized two-module system. It is designed to work either as a standalone tool or alongside its companion, HMSS - Impulse Monitor.
Why separate scripts? To maximize responsiveness and detail without hitting Pine Script resource limits (memory/execution time), the ecosystem is split into two specialized engines. Merging them would compromise real-time performance.
Note: HMSS - Impulse Monitor is not a different preset of the same script — it is a separate engine with its own indicator set, pattern library, and calibration profiles designed for a different purpose and a different analytical scope.
Key Differences & Synergy:
Distinct Purpose (Macro vs. Micro): HMSS - Context Engine (This Script): Designed for "Market Context." It analyzes 1H/4H/1D/1W structures to identify global trends and major structural pivots. HMSS - Impulse Monitor (Companion): Designed for "Market Reaction." It monitors 5m/15m/30m specifically to detect local exhaustion, liquidation wicks, and immediate imbalances.
Distinct Indicator Sets: Each engine includes components better suited for its timeframe domain. HMSS - Context Engine features structure-oriented indicators: ADX Exhaustion, OBV Divergence & Z-Score, Delta Histograms, VixFix (WVF), Basis, Williams A/D, and Pivot Distances. HMSS - Impulse Monitor incorporates VWAP Deviation and ATR Spikes — metrics more relevant for intraday dynamics.
Distinct Calibration Profiles: While both engines are developed using historical market observations, their pattern libraries and threshold values are calibrated independently for their respective metric sets and use-cases. The same market event may register as "Extreme" on HMSS - Context Engine while appearing "Neutral" on HMSS - Impulse Monitor if local momentum remains stable — and vice versa.
💡 Synergy Scenarios (How to use them together): Experienced traders often combine both modules to refine market context and decision-making:
• Trend Pullback: If HMSS - Context Engine indicates a strong Trend, but HMSS - Impulse Monitor shows "Extreme Overbought/Oversold" (correction against trend) — this often highlights a short-term counter-trend move within a larger structural trend.
• Major Reversal Risk: If BOTH HMSS - Context Engine and HMSS - Impulse Monitor indicate "Max Score" / "Extreme Imbalance" simultaneously — this is a rare statistical event (confluence of macro and micro exhaustion) that historically correlates with significant structural reversals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ TECHNICAL NOTES
🕰️ Real-Time Monitor (No Past Labels):
Crucial Concept: This tool is a Real-Time Monitor , not a "signal painter." It shows the market state HERE AND NOW — it does NOT draw historical Buy/Sell arrows or preserve past dashboard states. The only elements drawn on the chart are currently forming divergence lines.
Calculation Heavy:
We utilize maximum Pine Script limits for calculations. Initial loading may take up to 12-15 seconds — this reflects the precision and volume of processed data. After loading, the indicator operates without noticeable delays, processing data every tick .
Chart TF Independence:
The indicator analyzes fixed MTF streams, so your chart timeframe selection does not affect results. For reduced load and faster response, 5-60 minute charts are preferred.
Recommended Chart Timeframe:
For speed and lower load: 5–60 minutes (optimal)
For detailed history, you can go down to lower timeframes, but this is a performance/memory tradeoff
Bar Replay — How to See Past Performance:
To understand how the Scoring Engine reacted to specific market moves (e.g., a past crash or pump), use Bar Replay Mode :
1s to 30s: Best accuracy (precise tick-emulation)
1 min: Acceptable (if your plan lacks seconds-based intervals)
Higher TFs: Works, but for best detail — especially to see MAX Score events — lower TFs are recommended
To manage the extensive database of pattern weights and profiles while maintaining high performance, this engine utilizes a custom optimized data structure. This ensures the script operates smoothly within Pine Script's resource limits without compromising the depth of historical analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 TECHNICAL APPROACH (for the curious)
The indicator uses a proprietary compact data encoding system that allows transmitting information about divergences, their type, length, and intensity in a single numeric value. This enables efficient aggregation of data from multiple timeframes without exceeding Pine Script limits.
The scoring system is built on the Statistical Pattern Matching principle: current indicator combinations are compared against a library of statistically significant patterns, each with its own weight and type (Formation/Breakout).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 QUICK START
Add HYBRID MARKET SCORE SUITE - Context Engine to your chart.
Position table (recommended: bottom-right ) and adjust Offset / Spacer so it doesn't overlap price action.
In settings, toggle blocks by groups: Divergences / OB-OS / Z-Score / Special / Cumulative / Scoring — to match your trading style and load preferences.
For comfortable operation, use chart TF 5–60m .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 DEVELOPMENT
The indicator receives periodic updates, including statistical pattern refinements as new market data is accumulated, to maintain relevance with current market conditions. Update schedule is not guaranteed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
This script is provided for informational and educational purposes only and does NOT constitute financial advice, investment advice, or a recommendation to buy/sell any asset.
All examples, descriptions, and statistics are based on historical observations. Market conditions can change, patterns can fail, and signals/labels may disappear or update in real time. No results are guaranteed.
Use this tool as one input among many. Always apply your own judgment, risk management, and independent verification (DYOR). Trading — especially with leverage — involves substantial risk, including the risk of total loss. You are solely responsible for your decisions and outcomes.
Gann Odd-Number Levels (Raw Scale)Gann Odd‑Number Levels (Raw Scale)
A clean, purpose‑built pane that visualizes Gann’s odd‑number sequence (1, 5, 9, 17, 25, 37, 49, 65, 81…) on its native scale, while syncing to price via an adaptive anchor. The result: raw Gann structure is easy to read, and you can quickly see how price reacts around each level.
Key features
Raw Gann scale in its own pane (no distortion from price scale)
Pan/zoom aware anchoring via Visible Range or Follow Price
Center level toggle to show the exact midpoint Gann
Readable labels like G17(4) with optional price mapping
Fine UX control for line widths, opacity, colors, label size & offset
Label format
G17(4) = Gann integer 17, sequence index/root 4
Optional | price lets you see the mapped price level
How to use
Default mode tracks price so you always see the nearest Gann structure.
Switch to Visible Range to analyze structure based on what’s on screen.
Increase label offset if you stack multiple indicators.
If you find it useful, leave a like and let me know what you’d like to see next!
A.I. Optimus Prime [RubiXalgo]A.I. 👑 Optimus Prime – Advanced AI-Driven Trend Indicator
**Inspired by the Rubik's Cube**: Just as speed cubers execute precise, rapid rotations to solve complex puzzles — even while juggling — this indicator mimics market dynamics through adaptive "rotations" of trend, volume, and momentum data. Powered by machine learning, Kalman filters, k-NN predictions, and dynamic scaling, it visualizes market "solutions" with intuitive color gradients and overlays.
**Core Features**:
- **Dual Kalman Trend Lines**: Fast (reactive) and Slow (stable) lines for trend direction, smoothed with adaptive noise filtering (volume or volatility models).
- **AI Candle Coloring**: Gradient-based bar colors for bullish/bearish bias (Classic: green/red; Crypto: teal/purple).
- **Multi-Timeframe Moving Averages**: Up to 5 customizable MAs (SMA/DEMA/TEMA/VWMA) with on-chart lines and trend table.
- **Volume Profit-Trend Polyline**: Forward-projected volume delta prediction for potential price targets.
- **Liquidation Window (LiqD)**: Dynamic trade setup with entry, stop loss, and multiple profit targets based on momentum and liquidations.
- **Dynamic Volume Profile**: Linear regression-based channel with VPOC, highlighting high-volume nodes and liquidation zones.
**Key Settings**:
- VSQC Dynamic Scaling Lookback (default: 9) – Core speed for fast adaptations.
- Maximum Length (default: 188) – Controls slower trend calculations.
- Accelerator Multiplier (default: 6.6) – Adjusts responsiveness.
- Trend Momentum Window & k-Neighbors – Fine-tune ML predictions.
- Color Themes: Classic or Crypto.
**Trading Signals** (High-Probability Setups):
- **Longs**: Green fast/slow lines, price above dynamic EMA, green volume polyline up, bullish liquidation window active. Enter at green entry/target alignment; aim for 3:1+ RR.
- **Shorts**: Red lines, price below EMA, red volume polyline down. Mirror for bearish setups.
- Confluence: Combine with MTF table (green arrows dominant = bullish bias) and volume profile bounces.
**Disclaimer**: For educational purposes only. Not financial advice. Trading involves risk; use at your own discretion. Past performance is not indicative of future results.
Sai Scalper ProSai Scalper Pro – Feature Summary
Trend Engine
- ATR-based trailing stop with Fibonacci levels (61.8%, 78.6%, 88.6%)
- Auto trend detection with swing point tracking
Scalping Detection (0-10 Score)
- Analyzes 7 factors: ATR compression, ADX, Volume, Range, Consolidation, RSI, BB Squeeze
- Smart state machine with hysteresis to prevent false signals
- Adjustable sensitivity & stability settings
Cloud Modes (7 Options)
- Full Zone, Entry Zone, Premium/Discount, Fib Bands, Upper/Middle/Lower Band
Pro Dashboard
- Real-time scalp score with visual meter
- Entry quality rating & zone display
- Suggested TP/SL based on ATR
- Session detection (Sydney/Tokyo/London/NY) with overlap alerts
- 3 styles (Minimal/Pro/Full) × 4 sizes × 9 positions
Alerts
- Scalp ready, Prime conditions (8+), Optimal entry zone
- Direction-specific (Long/Short bias)
Combines trend-following Fibonacci analysis with intelligent ranging detection for optimal scalping opportunities.
TradeAxis Trendlines [BTCUSD]TradeAxis Trendlines is a rule-based trendline analysis indicator for TradingView. It automatically detects and plots filtered trendlines to help you monitor evolving structure on BTCUSD without manual drawing.
What it plots
Automatically mapped trendlines (with filtering to reduce noise)
Optional higher-timeframe structure overlays (if enabled)
Optional Position Tools
Recommended baseline
Designed/tuned for BTCUSD on the 15-minute timeframe as the baseline setup
Alerts
Built-in alert conditions are provided (configured in TradingView), including:
New trendline created
Trendline touch / interaction
Additional structure/tool events (when enabled in settings)
Inputs
Line filtering controls (e.g., slope/steepness constraints)
Visibility toggles for structure overlays
Additional parameters to help adapt the display to your workflow
Crypto Compass | QuantEdgeBIntroducing Crypto Compass | QuantEdgeB
Overview
Crypto Compass | QuantEdgeB is a multi-asset market regime indicator that decodes the collective momentum and sentiment of the cryptocurrency space. By computing correlation-adjusted valuation across a basket of major tokens and blending them with the chart’s own momentum pulse, it delivers a real-time “compass” of risk-on/off regimes. Plotted as dual EMAs and color-coded candles, and accompanied by a comprehensive dashboard table, Crypto Compass guides traders through broad market cycles instead of isolated price swings.
Key Features
• Correlation-Adjusted Valuation Aggregation
Computes individual valuation for the top 30 Market Cap tokens plus total-market indices; weights each by its correlation to Bitcoin, then averages.
• Large-Cap-Only Mode
Optionally restricts the basket to the top 10 by market cap for a streamlined “blue-chip” sentiment readout.
• Composite Momentum Blend
Mixes the basket average with the chart’s own valuation to capture both cross-asset and local momentum.
• Dual EMA Overlay & Candle Coloring
Plots 12- and 21-period EMAs colored by the composite valuation gradient; candles are likewise color-filled to reflect regime strength.
• Interactive Dashboard Table
Live “Crypto Compass Dashboard” shows, for each asset:
o Current value & prior bar value
o Rate of Change (direction arrow)
o Duration since last EMA crossover
o Current trend state (“Bullish” / “Bearish”)
• Regime Labels & Risk-On/Off Signal
Translates the composite valuation into four regimes—Contraction, Weak, Recovery, Strong—with a clear risk-on/off indicator banner.
How It Works
1. Data Fetch & Valuation Computation
o Retrieves price and a simple TPI (12 vs 21 EMA cross) for each symbol via request.security.
o Calculates a rolling standard deviation over a lookback (length) for each asset and the chart.
2. Correlation Weighting
o Measures each asset’s correlation to Bitcoin
o Multiplies each asset’s value by its correlation coefficient to emphasize high-beta relationships.
3. Basket Averaging
o Averages the top-N weighted value (10 if “Large Cap Only” is true, else all )
o Blends the final average with the chart’s own valuation
4. Visual & Table Overlays
o EMAs (12, 21) and candles are colored via a gradient tied to zsumad thresholds.
o A table grid at the bottom-right displays per-asset metrics and computes duration since TPI crossovers to flag trend longevity.
5. Regime Mapping
≤ –1.5 ⇒ Contraction (Risk Off)
–1.5 to 0 ⇒ Weak (Risk Off)
0 to 1.5 ⇒ Recovery (Risk On)
1.5 ⇒ Strong (Risk On)
How to Use / Who Should Use It
• Crypto Portfolio Managers seeking a holistic market-wide directional bias before allocating capital.
• Swing & Position Traders looking to confirm if cross-asset strength aligns with their primary coin.
• Systematic Strategy Developers integrating regime filters into algorithmic models.
• Risk-Conscious Allocators wanting an early warning on risk-off contractions vs. risk-on expansions.
Default Settings
• Plot EMA: On
• Value Lookback Length: 90
• BTC Correlation Length: 195
• Large Cap Only: True
Conclusion
Crypto Compass distills complex cross-asset dynamics into a single, actionable gauge. By combining correlation-weighted valuation, blended momentum, and dynamic regime mapping—visualized through color-coded EMAs, candles, and a rich dashboard—it empowers traders to navigate the broader crypto market cycle with clarity and confidence.
🔹 Disclaimer : Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice : Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Day BreakerIndicator Featuring VWAP with Target and Stop Loss
This setup is ideal for day trading, providing precise stop loss points. The chart also highlights yesterday's high, low, and close prices for your reference.This approach allows traders to make informed decisions by combining volume-weighted average price (VWAP) analysis with key historical price levels. By setting clear target and stop loss limits, traders can effectively manage risk while potentially maximizing their returns. The inclusion of yesterday’s high, low, and close prices offers valuable context, helping to identify potential support and resistance levels. This comprehensive strategy not only enhances technical analysis but also supports disciplined trading practices, enabling traders to stay focused and make confident moves in the fast-paced world of day trading.
TriPulse Volume Bounds | QuantEdgeBTriPulse Volume Bounds | QuantEdgeB
🔍 Overview
TriPulse Volume Bounds | QuantEdgeB (𝓣𝓟𝓥𝓞) is a volume-weighted, volatility-adaptive oscillator built to spot high-conviction expansion moves. It first applies a triple-smooth price engine as a refined input, then computes a VWMA anchored to volume participation and measures how far price deviates from it (in %). Dynamic upper/lower bounds are then generated from the oscillator’s own volatility (standard deviation), creating a self-adjusting channel. When the oscillator breaks above/below these bounds, 𝓣𝓟𝓥𝓞 flips into clear Long / Short regimes—supported by rich visuals, alerts, optional backtest tables, and a dedicated TPVO Sensor table that grades momentum/impulse/drive and conviction strength.
✨ Key Features
1. 🧠 TriPulse Source Engine (Triple-Smooth Input)
- Uses a triple-smoothed price series as the oscillator’s “signal-grade” input to reduce noise while staying responsive.
2. 📊 Volume-Weighted Anchor (VWMA)
- Builds a VWMA baseline using volume as weight, so moves backed by participation matter more than thin-market drift.
3. 📏 Percent Deviation Oscillator
- Computes oscillator value as: 100 × (close − VWMA) / VWMA, producing a clean “distance-from-value” readout.
4. ⚡ Dynamic Volatility Bounds
- Upper/lower thresholds are derived from stdev(avwo) over a lookback length and scaled by:
– Adaptive Multiplier (volatility scaling)
– Upper/Lower multipliers (asymmetric sensitivity)
5. 🎯 Regime Signals
- Long when AVWO > Upper Bound
- Short when AVWO < Lower Bound
- Neutral otherwise (inside bounds)
6. 🎨 Visual & Alerts
- Plots the oscillator with regime-sensitive coloring and fill behavior.
- Highlights the active bound when a long/short is triggered.
- Colors candles to match the current regime.
- Optional Long/Short labels on confirmed flips.
- Alert conditions on regime crossovers.
7- 📊 Backtest Table (Optional)
- Built-in backtest table from a chosen start date.
- Two display modes: standard table or overlaid table.
8. ♞ TPVO Sensor Table (Built-In Intelligence Layer)
- A dedicated on-chart dashboard that summarizes direction + quality of the current move using strength bars and momentum staging.
💼 Use Cases
• Breakout Confirmation: Catch expansion moves only when deviation exceeds adaptive bounds.
• Volume-Validated Momentum: Filter out weak pushes that aren’t supported by volume-weighted structure.
• Trend Regime Filter: Use TPVO state (Long/Short/Neutral) to gate entries from other strategies.
• Market Condition Read: Quickly determine whether price is drifting (neutral) or expanding (signal).
🎯 For Who
• Momentum & breakout traders who want confirmation beyond simple crosses.
• Volatility-aware traders who prefer thresholds that expand/contract automatically.
• System builders who need a robust regime variable plus strength grading.
• Discretionary traders who want fast visual clarity (fills, candle colors, sensor table).
⚙️ Default Settings
• Tripple Smooth Length (VWMA base input): 30
• Volume Weighted Length: 30
• Threshold Volatility Length: 27
• Upper Threshold Multiplier: 1.8
• Lower Threshold Multiplier: 0.8
• Adaptive Multiplier: 0.85
• Color Mode: Alpha
• Color Transparency: 60
• Labels: Off by default
• Backtest Table: On (toggleable)
• Backtest Table Overlaid: On (toggleable)
• Backtest Start Date: 09 Oct 2017
• TPVO Sensor Table Position: Top Right (default input)
♞ TPVO Sensor Table (What It Shows)
The TPVO Sensor is an on-chart dashboard designed to summarize both direction and signal quality:
• Direction:
o “Up / Down / Flat” determined by the oscillator’s short-term slope.
• Momentum:
o A normalized rate-of-change read, labeled as Positive / Negative / Neutral.
• Impulse:
o A velocity label derived from smoothed momentum (Strong / Weak / Stalling).
• Drive:
o A staged classification combining momentum + velocity:
o Strong Upside / Fading Upside / Strong Downside / Fading Downside / Neutral
• Bull / Bear Strength Bars:
o Two progress bars that visualize current strength as a percentage.
o In neutral regimes, it shows potential; in active long/short regimes, it shows conviction.
• Signal Line:
o Displays: Signal ⟹ Long / Short / Cash, matching the active TPVO regime.
📌 Conclusion
TriPulse Volume Bounds | QuantEdgeB (𝓣𝓟𝓥𝓞) combines a triple-smooth input, a volume-weighted anchor, and adaptive volatility bounds to produce a clean oscillator that highlights true expansion moves. With regime states, rich fills, alerts, backtest options, and the TPVO Sensor table for momentum/impulse/drive + strength grading, it’s a compact all-in-one tool for spotting and validating regime shifts.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
TradeAxis Trendlines [ETHUSD]TradeAxis Trendlines is a rule-based trendline analysis indicator for TradingView. It automatically detects and plots filtered trendlines to help you monitor evolving structure on ETHUSD without manual drawing.
What it plots
Automatically mapped trendlines (with filtering to reduce noise)
Optional higher-timeframe structure overlays (if enabled)
Optional Position Tools
Recommended baseline
Designed/tuned for ETHUSD the 30-minute timeframe as the baseline setup
Alerts
Built-in alert conditions are provided (configured in TradingView), including:
New trendline created
Trendline touch / interaction
Additional structure/tool events (when enabled in settings)
Inputs
Line filtering controls (e.g., slope/steepness constraints)
Visibility toggles for structure overlays
Additional parameters to help adapt the display to your workflow
Whale Pivots ProWhale Pivots Pro
Institutional Pivot, Volume & Strength Analysis Tool
Whale Pivots Pro is an advanced market-structure and participation analysis tool designed to highlight institutional pivot zones, whale activity, and buyer/seller strength across Forex, Crypto, Stocks, and Futures.
Whale Pivots Pro combines price structure, volume expansion, and divergence-based strength modeling to help traders identify high-impact pivot levels, trend continuation, and potential reversals with precision.
________________________________________
Whale Pivot Zones
Whale Pivots represent key price levels where large participants are likely active.
These pivots are derived from multi-bar price structure combined with volume confirmation, highlighting areas where institutions accumulate or distribute.
Pivot Classification
Whale Pivots are categorized by aggressiveness:
• Hyper-Aggressive
• Aggressive
• Measured
• Passive
• Or All (combined view)
Each category reflects how forcefully price and volume align, helping traders filter between early, confirmed, and defensive institutional behavior.
Pivot zones are visualized using:
• Colored horizontal levels
• Filled zones between key levels
• Clear bullish and bearish separation
________________________________________
Buyer / Seller Strength (BE / SE Labels)
The script includes a Buyer–Seller Strength Engine that evaluates:
• Price movement
• Delta-style volume pressure
• Trend context
• Divergence between price and participation
Labels
• BE (Bearish Exhaustion)
• SE (Sell-side / Bullish Exhaustion)
These labels appear only when strict structural and strength conditions are met.
Strength-Based Coloring
Each label is color-coded by strength level:
• Weak → Low conviction
• Normal → Moderate participation
• Strong → High institutional conviction
Strength is calculated on a 0–100 scale, combining price divergence and participation divergence.
________________________________________
Trend & Context Awareness
Whale Pivots Pro is trend-aware, meaning:
• Bullish signals are favored in bullish structure
• Bearish signals are favored in bearish structure
• False counter-trend signals are filtered
This makes the tool effective for:
• Trend continuation trading
• Pullback entries
• Reversal identification near institutional pivots
________________________________________
Multi-Market Volume Intelligence (Ultra Data)
When enabled, Ultra Data Mode aggregates volume from multiple exchanges and brokers, providing a broader view of true market participation, especially useful for:
• Forex
• Crypto
• Synthetic symbols
________________________________________
Key Use Cases
Identify institutional pivot zones
Track whale accumulation & distribution
Confirm trend continuation vs exhaustion
Improve entries, exits, and invalidation levels
Filter low-quality signals using participation strength
________________________________________
Closed-Source & Proprietar y
Whale Pivots Pro uses custom, proprietary algorithms combining:
• Multi-bar structural pivots
• Volume-weighted confirmation
• Divergence-based strength modeling
• Market-aware filtering
To protect this methodology from duplication or misuse, the script is released as closed-source.
This is a market-structure and decision-support tool, not a buy/sell signal generator.
It is designed to provide context, not standalone trade entries.
For best results, always combine this tool with Market Balance, Imbalance, and Price Discovery analysis, along with Buy-Side and Sell-Side Passive Order levels, to properly assess:
• Market acceptance vs initiative activity
• Continuation vs exhaustion
• Breakout, retracement, or reversal conditions
TradeAxis Trendlines [UKOIL]TradeAxis Trendlines is a rule-based trendline analysis indicator for TradingView. It automatically detects and plots filtered trendlines to help you monitor evolving structure on UKOIL without manual drawing.
What it plots
Automatically mapped trendlines (with filtering to reduce noise)
Optional higher-timeframe structure overlays (if enabled)
Optional Position Tools
Recommended baseline
Designed/tuned for UKOIL on the 15-minute timeframe as the baseline setup
Alerts
Built-in alert conditions are provided (configured in TradingView), including:
New trendline created
Trendline touch / interaction
Additional structure/tool events (when enabled in settings)
Inputs
Line filtering controls (e.g., slope/steepness constraints)
Visibility toggles for structure overlays
Additional parameters to help adapt the display to your workflow
Bal - ImBal MAPBal – ImBal MAP
Market Balance, Imbalance & Price Discovery Tool
Bal – ImBal MAP is a market structure framework built on Market Balance, Market Imbalance, and Price Discovery concepts.
It is designed for all commodity futures and equities, where price continuously alternates between acceptance, imbalance, and discovery.
________________________________________
What is Bal – ImBal MAP?
Bal – ImBal MAP is a contextual market structure tool, It helps traders objectively identify:
1. Market Balance (Acceptance)
2. Market Imbalance (Initiative Activity)
3. Price Discovery (Expansion / Trend Phase)
It is especially effective on:
• Futures (ES, NQ, CL, GC, ZB, etc.)
• Highly liquid equities and indices
• Any auction-based market
________________________________________
Market Balance (BAL)
Market Balance occurs when price is accepted by both buyers and sellers, resulting in two-sided trade.
Balance Area Mapping
The tool:
• Draws Balance Areas using blue lines
• Clearly marks:
o Upper Balance Limit
o Lower Balance Limit
• When a balance area shifts:
o Visually indicates whether the shift is bullish or bearish
o Applies color-coded Balance Area Shifts (BA Shift) based on direction
Balance areas represent value acceptance zones, where mean-reversion behavior dominates.
________________________________________
Market Imbalance (IMBAL)
Market Imbalance begins when one side takes control, breaking acceptance and initiating directional movement.
Imbalance Conditions
Imbalance is identified by:
• Break of the balance range
• Break of Buyside Passive Orders
• Break of Sellside Passive Orders
• Reversal from either side when price fails to break:
o Buyside Passive Orders
o Sellside Passive Orders
These events signal a transition from responsive behavior to initiative activity.
________________________________________
Price Discovery (DISCOVERY)
Price Discovery is the process of exploring new value, where no prior market reference exists and price operates outside established balance areas.
Discovery Identification & Management
The tool is designed to:
• Identify when price is in discovery
• Detect when discovery ends
• Determine when a new Balance or Imbalance forms
• Support both:
o Continuation trades during discovery
o Reversion trades once discovery exhausts
Visual Representation
• Blue-colored boxes mark the Price Discovery phase
• As market flow becomes clearer, box colors dynamically change:
o Light Green → Bullish discovery
o Pink → Bearish discovery
This visual shift helps assess:
• Directional conviction
• Strength of initiative activity
• Transition back into Balance or Imbalance
Discovery Reference Lines (Extended Levels)
• After discovery, the tool extends key reference lines
• These act as decision points for:
o Breakout continuation
o Retracement entries
o Reversal target zones
• Lines are plotted as:
o Bold Green (bullish discovery)
o Bold Red (bearish discovery)
These levels define:
• Risk management zones
• Continuation confirmation
• Potential exhaustion and reversal areas
________________________________________
Point of Balance (POB)
The Point of Balance (POB) represents the price level of maximum acceptance, where buyers and sellers are most actively engaged.
POB Visualization
• Displayed as a yellow horizontal line
• Automatically labeled at the active balance level
• Updates dynamically as balance evolves
Market Significance
The POB acts as the core reference point for:
• Buyer and seller presence
• Key auction activity
• Acceptance vs rejection behavior
POB – Market Gravity Concept
The POB acts as the gravitational center of the Bal–ImBal MAP.
Unless strong initiative activity is present, price tends to:
• Rotate back toward the POB
• Rebalance around value
• Re-establish two-sided trade
This makes POB critical for:
• Mean reversion during imbalance
• Measuring directional conviction when price moves away from value
________________________________________
IM Mark – Imbalance Candles
The IM Mark identifies imbalance candlessignalinginitiative activity.
Logic
An IM Mark appears when:
• A candle shows imbalance relative to recent candles
• Activity and directional intent increase
Contextual Significance
• Inside balance → early initiative / potential imbalance
• Outside balance or discovery → strong directional imbalance and continuation
________________________________________
Bar Colors – Trend & Market Movement Identification
Bars use three intensity levels for both directions:
Bullish (Green)
• Light → Low buyer participation
• Normal → Moderate participation
• Bold → Strong initiative buying
Bearish (Red)
• Light → Low seller participation
• Normal → Moderate participation
• Bold → Strong initiative selling
Bar colors reveal:
• Participation strength
• Movement quality
• Initiative vs responsive behavior
________________________________________
Buyside&Sellside Passive Orders
Key liquidity zones where institutions / large participants are positioned.
Visual Marking
• Color-coded labels
• Matching boxes
• Extended horizontal lines
Imbalance Logic
• Break → liquidity consumed, continuation likely
• Failure → defended liquidity, reversal or rotation expected
________________________________________
Pivot Points – Trend & Reversal Reference
• Marked with bold black arrows
• Identify key swing highs and lows
Trend Logic
• Trend remains intact until a pivot is broken
Reversal Significance
• Pivot breaks confirm:
o Trend reversal
o Failure of continuation
o Shift back into balance
________________________________________
Why the Script Is Closed-Source
Bal – ImBalance MAP uses a custom, self-protected market-structure framework combining balance mapping, imbalance detection, and discovery sequencing.
It includes proprietary logic for:
• Balance area shifting
• Passive order detection
• IM candle validation
• Discovery tracking
• POB gravity modeling
• Pivot-based trend validation
• Participation and initiative filters
To protect this original methodology from duplication and reverse-engineering, the source code is intentionally closed-source, ensuring consistency, integrity, and performance.
TradeAxis Trendlines [XAUUSD]TradeAxis Trendlines is a rule-based trendline analysis indicator for TradingView. It automatically detects and plots filtered trendlines to help you monitor evolving structure on XAUUSD without manual drawing.
What it plots
Automatically mapped trendlines (with filtering to reduce noise)
Optional higher-timeframe structure overlays (if enabled)
Optional Position Tools
Recommended baseline
Designed/tuned for XAUUSD on the 15-minute timeframe as the baseline setup
Alerts
Built-in alert conditions are provided (configured in TradingView), including:
New trendline created
Trendline touch / interaction
Additional structure/tool events (when enabled in settings)
Inputs
Line filtering controls (e.g., slope/steepness constraints)
Visibility toggles for structure overlays
Additional parameters to help adapt the display to your workflow
S&P Discipline SystemS&P Discipline System - User Guide By Macro-Guy
Welcome to the S&P Discipline System. This indicator is designed to enforce trading discipline, help you avoid "chasing" the market, and ensure you only trade when high-probability conditions align.
Follow me (Macro-Guy) on TradingView for script updates and market insights.
WHAT THIS INDICATOR DOES
Session Filtering: Identifies optimal US trading hours (Blue Tint).
Entry Zones: Signals pullbacks to the 21-period Moving Average (Yellow Line).
Short Protection: A built-in filter to stop you from shorting into "oversold" or "strong trend" conditions.
Risk Management: Provides ATR-based and Swing-based stop loss levels.
QUICK START GUIDE
Apply to Chart: Best used on SPX, SPY, ES, or US500.
Check the Status Table: Located in the top-right.
Green Action: Good to go.
Red Action: Stay out/Wait.
Wait for Signals:
Green "BUY ZONE": Look for long entries.
Red "SHORT ZONE": Look for short entries.
Muted Labels: Setup is forming but it is currently outside US Session hours.
UNDERSTANDING THE VISUALS Background Colors:
Light Green: Bullish trend; favor longs.
Light Red: Bearish trend; shorts permitted.
Gray: Choppy market; exercise caution.
Blue Tint: Active US trading session.
Orange Tint: Outside US hours (Observe only).
Moving Averages:
Yellow (21 MA): The primary entry zone for pullbacks.
Blue (50 MA): Intermediate trend filter.
White (200 MA): Major institutional trend direction.
THE SHORT FILTER (IMPORTANT) To prevent "shorting the bottom," the indicator only permits shorts when:
Price is below the 50 MA.
The 21 MA and 50 MA are both sloping down.
RSI is between 45-65. If the table says "NO SHORTS," do not fight the algorithm.
HOW TO TRADE THE SYSTEM For Longs:
Wait for Green background (Bullish).
Price must pull back to the Yellow 21 MA line.
"BUY ZONE" label must appear during the US Session (Blue tint).
Enter Long. Place stop at the Red Circle or Orange Cross.
For Shorts:
Wait for Red background (Bearish).
Price must bounce up to the Yellow 21 MA line.
Table must show "SHORTS OK" in green.
Enter Short. Place stop at the Red Circle or Orange Cross.
SETTING UP ALERTS
Right-click chart > Add Alert.
Select S&P Discipline System as the condition.
Choose: Buy Zone - US Session or Short Zone - US Session.
DISCLAIMER This indicator is a tool to assist with discipline and timing. It does not guarantee profits. Always manage your risk and never trade more than you can afford to lose. Past performance does not guarantee future results.
Happy Trading!
Hybrid Market Score Suite - Impulse Monitor🔬 HYBRID MARKET SCORE SUITE - Impulse Monitor — Algorithmic Imbalance Scoring & Compact 28-Indicator Dashboard
Monitoring regular divergences, OB/OS zones, statistical deviations, and 28 metrics simultaneously is impractical to do manually. HMSS - Impulse Monitor updates them every tick in one compact dashboard, with an optional scoring layer.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS
HMSS - Impulse Monitor
Performs **Real-Time Monitoring** of 28 technical metrics across 3 fixed timeframes ( 5m / 15m / 30m ) simultaneously.
It processes market data on a **tick-by-tick** basis without lookahead, designed to detect developing market imbalances and local exhaustion points as they happen.
Since the indicator analyzes fixed multi-timeframe streams, it is chart TF-independent : switching your main chart timeframe does not affect the internal logic or scoring.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 "SWISS ARMY KNIFE" — Daily Monitoring Tool
A compact table with extensive data that you use every day :
28 indicators across 3 timeframes (5m / 15m / 30m):
Divergences (9): RSI DIV, MFI DIV, CCI DIV, CMF DIV, MACD DIV, CVD DIV, DELTA RSI (DRSI) DIV, Elder DIV, STOCH DIV
OB/OS (5): RSI OB/OS, MFI OB/OS, CCI OB/OS, DRSI OB/OS, STOCH OB/OS
Z-Score (8): RSI Z-Score, MFI Z-Score, CCI Z-Score, STOCH Z-Score, DRSI Z-Score, CMF Zone, CVD Z-Score, MACD Z-Score
Special (6): Elder Force, Volume Climax, ZMO EXT, (Nadaraya Watson Envelope) NW ENV, ATR Spikes, VWAP Dev
A few "Special" metrics may be less familiar than classic oscillators, so here are quick notes on what they flag (not "better" indicators — just more niche tools):
NW ENV (Nadaraya–Watson Envelope): A kernel-smoothed price envelope (period 8) with deviation multipliers 2.25 (inner) and 7.75 (extreme). Labels reflect band breaches: !! = price outside the inner band (strong extension), !!! = outside the upper extreme band (rare upside extension), !!!! = outside the lower extreme band (rare downside extension). These are context tags for extension/mean-reversion risk, not trade commands.
ATR Spikes: Compares the current candle range (High–Low) to the recent average ATR(14) over the last 10 bars. A spike triggers when the candle is ≥ 2.0× larger than the average — often seen during climax-like moments (sharp expansion), useful as a “caution marker” for late-move entries.
Volume Climax: A Z-Score of volume over 20 periods. Flags unusually high volume above about 1.9σ . In practice, it helps highlight “crowd intensity” moments: heavy volume on a down candle can resemble panic-like supply; heavy volume on an up candle can resemble aggressive chasing. Treat it as context, not a directional guarantee.
normalized via Z-Score over a 100 -bar history. It highlights statistically stretched momentum when it deviates beyond roughly 2.0σ from its mean — a way to spot overheated acceleration.
All of this — across multiple timeframes simultaneously, in one compact table, without cluttering your chart with a dozen oscillators below. Works on any chart TF — your timeframe selection does not affect calculations.
Each block can be toggled in settings:
Divergence Block — forming regular divergences across oscillators/flows
OB/OS Block — overbought/oversold zones (RSI/MFI/CCI/Stoch etc.)
Z-Score Block — statistical deviations in sigmas (σ)
Special Indicators Block — special indicators and regime filters
Scoring Block — Hybrid Engine (Score, Pattern, Breakdown, Attention, Trade Type, Veto)
Use it as a dashboard for quick market assessment — like a Geiger counter for market anomalies.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 SCORING SYSTEM — For Extreme Imbalances
An innovative data-driven engine that activates during moments of extreme imbalance :
• Calibrated using 380,000+ historical market data records
• Compares current indicator combinations with historical patterns
• Assigns a Score when significant combinations are detected
Think of the scoring system as a Storm Radar — it doesn't predict volatility explosions, but it "lights up" during storms and shows when the turbulence reaches its peak and begins to subside.
It is designed to assist in identifying potential impulse reversals during liquidation events, if that aligns with your approach.
The system is calibrated on a multi-month historical dataset of 380,000+ records collected minute-by-minute from cryptocurrency markets (BTC, ETH, SOL). During this period, the market showed both multi-month lows and several ATH (All-Time High) events. Statistical dependencies and indicator combination patterns were identified from this data.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 SCORING ENGINE ARCHITECTURE
Concept & Logic:
This system utilizes a hybrid approach, combining classical technical analysis with statistical profiling. Instead of simply summing up indicator signals, the algorithm compares the current market state against a proprietary database of historical patterns ("Profiles") collected for specific assets.
The calculation logic is layered:
1. Base Layer (Indicator Analysis):
The system monitors 28 metrics (RSI, MFI, Z-Scores, CVD, ATR Spikes, VWAP DEV, etc.).
Standard Deviation (25 pts, Dim Cell): Occurs when an indicator exceeds a standard volatility threshold (e.g., Z-Score > 1.5). This registers as a common local anomaly.
Profile Alignment (50 pts, Bright Cell): Occurs when a value hits specific historical thresholds recorded in the Asset Profile. These are values where impulses or structural shifts occurred in the past data samples.
2. The Core Pattern Recognition (compressed historical scenarios):
The system scans for ~14 compressed market scenarios (Patterns). A pattern becomes active only when its specific "Kernel" of indicators fires simultaneously with a Coverage Ratio > 70%.
3. Confluence & Weighting:
The final score reflects the density of these matches. It identifies the "Winning Side" (Long vs. Short bias) based on the accumulated weight of base and profile scores.
Score Breakdown (The "X-Ray" Row):
The dashboard displays a breakdown row ( L:… S:… C:… A:… K:… ) to visualize the components of the Total Score:
L / S (Baseline): Cumulative weight of active indicators for Long or Short bias.
C (Core Multiplier): A dynamic coefficient applied when the match with a historical pattern "Kernel" is high.
A (AddSig): Points for secondary confirming factors that reinforce the active pattern.
K (Key Features): Internal code for High-Impact Anomalies . These are rare statistical outliers (e.g., extreme Z-Scores > 3.0) that carry significant weight due to their historical correlation with volatility expansion.
System States (Dashboard Output):
The text labels on the UI represent the statistical context of the market, not direct trade commands:
NEUTRAL: Balanced market, no dominant patterns.
SIGNAL FORMING: Early detection of potential accumulation or distribution structures.
TREND — WAIT: Market is in a directional phase; algorithm is monitoring for exhaustion or pivot points.
ON WATCH: High statistical confluence detected.
MAYBE LONG/SHORT: Directional statistical bias is present.
MAX SCORE: Indicates an "Extreme Score" condition. Historically, such values appear during significant market extensions (Global Lows/Highs) where pattern coverage can approach 100% alongside statistical anomalies.
BREAKOUT: Context suggests impulse continuation or level breach.
Disclaimer: This tool provides a statistical context assessment based on historical pattern matching. "Global Lows/Highs" / "New Low/High" are dataset-derived pattern names, not a directional claim. "Max Score" and "Key Features" describe rarity levels, not guaranteed outcomes. Past market behavior is not indicative of future performance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ DRSI VETO — SAFETY MECHANISM
Sometimes "the setup exists by score", but the market is overextended — which can make timing riskier. This is where DRSI Veto comes in:
If the system indicates LONG , but DRSI Z-Score shows extreme overbought conditions (or vice versa for SHORT), the VETO activates, significantly reducing the final Score.
This helps filter out overextended "exhaustion" setups — technically valid by score, but stretched enough to increase mean-reversion risk without proper context. A clear VETO label appears in the table.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 USE CASES — WHEN IT WORKS BEST
Dual Purpose: Efficiency & Detection
While the Scoring Engine hunts for invisible imbalances, the dashboard serves as your primary daily workstation . It replaces the need for multiple oscillator panes, keeping your charts clean while providing a "Heads-Up Display" for Oscillators, Money Flow, and Statistical Anomalies across three timeframes at once.
Identifying Liquidation-Driven Reversals:
The scoring system is most effective during high-impulse market movements — large liquidation cascades, stop-loss hunts, sharp imbalances. HMSS - Impulse Monitor helps spot potential exhaustion points within seconds or minutes, highlighting reaction zones during high-impulse moves.
When NOT to expect detections:
Markets can and often WILL reverse without the indicator firing. This tool is designed for high-volatility moments with significant liquidations . Reversals in low-volatility, "quiet" markets will likely occur without elevated readings.
This is intentional: higher-score conditions are designed to be relatively rare, not a daily occurrence. If your approach values selectivity, it may help to treat elevated readings as “patient-wait” moments — markets often reward waiting for cleaner, high-confluence regimes rather than forcing a setup every session.
Think of the scoring system as an airbag — most of the time you don't need it, but when it activates, its informational value is high. It's your storm radar: particularly useful when markets enter rare and dangerous regimes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 FORMING DIVERGENCES — Real-Time Monitoring
Important note for experienced traders:
The indicator shows divergences that are CURRENTLY FORMING , not confirmed ones. This is Real-Time Monitoring mode — scoring updates every tick , allowing you to see the situation as it develops.
⚠️ No lookahead / no future leak: This script strictly uses lookahead=barmerge.lookahead_off (no future data is used in calculations).
On historical data, scores are always displayed based on closed candles. For better historical detail, use candles down to 1-10 seconds.
If a "forming" pattern disappears — this is a normal part of real-time monitoring: the market changes, and the assessment/confluence recalculates accordingly.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 DIVERGENCE PERCENTAGES — WHAT THEY MEAN
Percentages next to divergences show "Divergence Intensity" — how strongly price and oscillator have diverged between points.
Note: The presence of a divergence itself is factored into the scoring system. However, the percentage values (intensity) are currently NOT included in Score calculation. We may add them in the future if we accumulate sufficient data confirming their statistical significance. For now, percentages serve as a visual hint for your own analysis — an additional confirmation filter.
Note: The indicator also draws forming divergence lines directly on the price chart — for 6 key oscillators (RSI, MACD, MFI, CCI, DRSI, CVD).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 SCORING SYSTEM COMPATIBILITY
Statistical data profiles are available for: BTC, ETH, and SOL
- Default mode is AUTO : BTC/ETH/SOL detected automatically; all other assets use 'ALTS' (ETH-based) profile
- Manual Override: You can select a specific profile in settings if Bar Replay testing shows it tracks your asset's volatility better
- Indicator readings as tools work on ANY assets and markets
- For non-crypto instruments (Forex, Stocks): if alerts trigger too often or too rarely, adjust MAX SCORE Thresholds in settings
Note: Alert threshold settings (Base, Total, MAX SCORE) also affect "Attention Level" and "Trade Type" display in the UI.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERT SYSTEM (4-STEP)
The alert system is tiered (each step can be toggled on/off):
Step 1: Base Score — Triggers when mathematical confluence reaches base threshold
Step 2: Core Pattern — Triggers when algorithmic pattern is detected (Breakout/Formation)
Step 3: Total Score — Triggers when total Score reaches threshold
Step 4: MAX SCORE Alert — Final high-score alert (individual thresholds for BTC/ETH/SOL/ALT)
Important: Alert thresholds simultaneously calibrate Attention and Trade Type in the UI.
For automation (bots / webhook-based tools): use Webhook URL. Keep in mind that maximum score is often reached at the wick tip, not at candle close — backtesting on longer TFs may show delayed data.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧩 HMSS ECOSYSTEM: HMSS - Impulse Monitor vs. HMSS - Context Engine
This script (HMSS - Impulse Monitor) is one half of a specialized two-module system. It is designed to work either as a standalone tool or alongside its companion, HMSS - Context Engine.
Why separate scripts? To maximize responsiveness and detail without hitting Pine Script resource limits (memory/execution time), the ecosystem is split into two specialized engines. Merging them would compromise real-time performance.
Note: HMSS - Context Engine is not a different preset of the same script — it is a separate engine with its own indicator set, pattern library, and calibration profiles designed for a different purpose and a different analytical scope.
Key Differences & Synergy:
Distinct Purpose (Micro vs. Macro): HMSS - Impulse Monitor (This Script): Designed for "Market Reaction." It monitors 5m/15m/30m specifically to detect local exhaustion, liquidation wicks, and immediate imbalances. HMSS - Context Engine (Companion): Designed for "Market Context." It analyzes 1h/4h/1D/1W structures to identify global trends and major structural pivots.
Distinct Indicator Sets: Each engine includes components better suited for its timeframe domain. HMSS - Impulse Monitor features VWAP Deviation and ATR Spikes — metrics more relevant for intraday dynamics. HMSS - Context Engine incorporates structure-oriented indicators not present here: ADX Exhaustion, OBV Divergence & Z-Score, Delta Histograms, VixFix (WVF), Basis, Williams A/D, and Pivot Distances.
Distinct Calibration Profiles: While both engines are developed using historical market observations, their pattern libraries and threshold values are calibrated independently for their respective metric sets and use-cases. The same market event may register as "Extreme" on HMSS - Impulse Monitor while appearing "Neutral" on HMSS - Context Engine if the broader trend structure remains intact — and vice versa.
💡 Synergy Scenarios (How to use them together): Experienced traders often combine both modules to refine market context and decision-making:
• Trend Pullback (Scalp): If HMSS - Context Engine indicates a strong Trend, but HMSS - Impulse Monitor shows "Extreme Overbought/Oversold" (correction against trend) — this often highlights a short-term counter-trend opportunity or a re-entry point.
• Major Reversal Risk: If BOTH HMSS - Impulse Monitor and HMSS - Context Engine indicate "Max Score" / "Extreme Imbalance" simultaneously — this is a rare statistical event (confluence of micro and macro exhaustion) that historically correlates with significant structural reversals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ TECHNICAL NOTES
🕰️ Real-Time Monitor (No Past Labels):
Crucial Concept: This tool is a Real-Time Monitor , not a "signal painter." It shows the market state HERE AND NOW — it does NOT draw historical Buy/Sell arrows or preserve past dashboard states. The only elements drawn on the chart are currently forming divergence lines.
Calculation Heavy:
We utilize maximum Pine Script limits for calculations. Initial loading may take up to 12-15 seconds — this reflects the precision and volume of processed data. After loading, the indicator operates without noticeable delays, processing data every tick .
Chart TF Independence:
The indicator analyzes fixed MTF streams, so your chart timeframe selection does not affect results. For reduced load and faster response, 5-60 minute charts are preferred.
Recommended Chart Timeframe:
For speed and lower load: 5–60 minutes (optimal)
For super-detailed history, you can go down to second-level candles, but this is a performance/memory tradeoff
Bar Replay — How to See Past Performance:
To understand how the Scoring Engine reacted to specific market moves (e.g., a past crash or pump), use Bar Replay Mode :
1s to 30s: Best accuracy (precise tick-emulation)
1 min: Acceptable (if your plan lacks seconds-based intervals)
> 5 min: Not recommended — accuracy drops as intrabar price action is lost
⚠️ > 15 min: Not recommended — may exceed memory limits (TradingView constraint)
To manage the extensive database of pattern weights and profiles while maintaining high performance, this engine utilizes a custom optimized data structure. This ensures the script operates smoothly within Pine Script's resource limits without compromising the depth of historical analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 TECHNICAL APPROACH (for the curious)
The indicator uses a proprietary compact data encoding system that allows transmitting information about divergences, their type, length, and intensity in a single numeric value. This enables efficient aggregation of data from multiple timeframes without exceeding Pine Script limits.
The scoring system is built on the Statistical Pattern Matching principle: current indicator combinations are compared against a library of statistically significant patterns, each with its own weight and type (Formation/Breakout).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 QUICK START
Add HYBRID MARKET SCORE SUITE - Impulse Monitor to your chart.
Position table (recommended: bottom-right ) and adjust Offset / Spacer so it doesn't overlap price action.
In settings, toggle blocks by groups: Divergences / OB-OS / Z-Score / Special / Scoring — to match your trading style and load preferences.
For comfortable operation, use chart TF 5–60m .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 DEVELOPMENT
The indicator receives periodic updates, including statistical pattern refinements as new market data is accumulated, to maintain relevance with current market conditions. Update schedule is not guaranteed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
This script is provided for informational and educational purposes only and does NOT constitute financial advice, investment advice, or a recommendation to buy/sell any asset.
All examples, descriptions, and statistics are based on historical observations. Market conditions can change, patterns can fail, and signals/labels may disappear or update in real time. No results are guaranteed.
Use this tool as one input among many. Always apply your own judgment, risk management, and independent verification (DYOR). Trading — especially with leverage — involves substantial risk, including the risk of total loss. You are solely responsible for your decisions and outcomes.
Quantum Elasticity Overview: Quantum Elasticity is a sophisticated Mean Reversion Engine based on the law of statistical probability. It models market price action as an elastic system that revolves around a dynamic equilibrium point (Linear Regression).
The Core Logic: Markets are rarely efficient. When price deviates significantly from its historical mean, it creates "Statistical Tension." This script measures that tension using dynamic standard deviation envelopes (Sigma Bands).
Equilibrium: The center line represents the fair value of the asset.
Elasticity Zones: When price enters the "Extreme" bands, the probability of a snap-back towards the mean increases exponentially.
Unique Features:
Non-Lagging Linear Regression: Unlike SMA/EMA, our equilibrium line adapts to the slope of the trend without the heavy lag of traditional indicators.
Dynamic Tension Index: The built-in HUD displays the real-time elasticity of the market, helping traders identify exhaustion points.
Reversion Alerts: "REVERT" signals appear when the market reaches a 1.5x Sigma deviation, indicating a critical oversold/overbought state.
How to obtain access: This is an "Invite-only" script. To gain access, please visit my profile or send a private message for subscription details.
Fractal Chaos & Kalman Trajectory Overview: The Fractal Chaos & Kalman Trajectory is a professional-grade market regime detection tool designed to distinguish between efficient trends and random market noise. Unlike traditional moving averages that suffer from significant lag, this script utilizes a Kalman Filter to estimate the price's true trajectory in real-time.
Core Methodology:
Kalman Filter Engine: An iterative mathematical process that minimizes the mean square error of the price data, providing a smooth line that reacts faster than EMA/SMA.
Hurst Exponent (Fractal Dynamics): This script calculates the fractal dimension of the market.
H > 0.5 (Trend): Indicates persistent market memory; the trend is likely to continue.
H < 0.5 (Mean Reversion): Indicates anti-persistent behavior; the price is likely to revert to the mean.
H = 0.5 (Chaos): Represents Brownian motion; the market is purely random.
How to Use:
AWAKE Signals: Occur when the market breaks out of a chaotic state (Hurst > 0.5) and aligns with the Kalman Trajectory.
Trend Zones: Highlighted backgrounds indicate high-conviction trend environments.
Bar Coloring: Grey bars indicate a "Wait" zone where the market is either random or mean-reverting.
This script is closed-source to protect the proprietary integration of these two quantitative methods.
--
TradeAxis TrendlinesTradeAxis Trendlines is a rule-based trendline analysis indicator for TradingView. It automatically detects and plots filtered trendlines to help you monitor evolving structure without manual drawing.
What it plots
Automatically mapped trendlines (with filtering to reduce noise)
Optional higher-timeframe structure overlays (if enabled)
Optional Position Tools
Alerts
Built-in alert conditions are provided (configured in TradingView), including:
New trendline created
Trendline touch / interaction
Additional structure/tool events (when enabled in settings)
Inputs
Line filtering controls (e.g., slope/steepness constraints)
Visibility toggles for structure overlays
Additional parameters to help adapt the display to your workflow
Wyckoff Pro Detector + Dashboard & Alerts [Gemini]Description
Overview The Wyckoff Pro Detector is an advanced Price Action tool designed to automatically identify market structures based on Richard D. Wyckoff's theory. Its main goal is to help traders spot Accumulation and Distribution phases, highlighting critical turning points and institutional manipulation.
Development Logic This script was engineered using Pine Script v5 with a focus on institutional footprint tracking.
Structure Algorithm: It utilizes a custom Pivot High/Low detection mechanism with a variable lookback period (configurable) to filter out market noise and identify valid trading ranges.
Volume Anomaly Detection: Instead of raw volume, the script uses a Relative Volume logic (comparing current volume to a Moving Average) to mathematically identify "Climatic Action" typical of Smart Money intervention.
State Machine: The code operates on a state-based logic, meaning it remembers the previous market phase (Accumulation or Distribution) to validate subsequent signals like Springs or UTADs, reducing false positives.
Key Features
Automated Phase Detection: Identifies and draws dynamic boxes for Accumulation (Green) and Distribution (Red) structures.
VSA Integration: Highlights candles with "Ultra High" volume to signal Selling/Buying Climaxes.
Manipulation Signals:
SPRING (Buy): Detects false breakouts of support with an immediate return into the range.
UTAD (Sell): Detects false breakouts of resistance (Upthrust After Distribution).
Live Dashboard: An on-screen table showing the current Phase, Last Event, Event Time, and Volume Status.
Alert System: Fully configurable alerts for Climaxes, Structure Tests, and Entry Signals.
How to Use
LONG Signal: Wait for an Accumulation phase (Green Box). Look for the yellow "SPRING!" label. This indicates a "bear trap" and potential markup.
SHORT Signal: Wait for a Distribution phase (Red Box). Look for the orange "UTAD!" label. This indicates a "bull trap" and potential markdown.
Settings
Pivot Length: Higher values (20-30) filter noise for macro-structures.
Volume Factor: Adjusts the sensitivity for climatic volume detection.
Credits & Acknowledgements
Concept and Methodology based on the works of Richard D. Wyckoff.
Code logic, optimization, and Pine Script development provided by Google Gemini AI.
Disclaimer This tool is an aid for analysis and does not provide financial advice. Use it in combination with your own risk management.
Smoothed Divergence For Many Indicators | LUPENIndicator Guide: Smoothed Divergence For Many Indicators.
1. What is this Indicator?
'Smoothed Divergence For Many Indicators by LUPEN' is a powerful multi-functional tool designed to detect market reversals and trend continuations. It analyzes the relationship between Price Action and a selected Oscillator (like RSI, MACD, Stochastic, etc.) to identify "Divergences".
Unlike standard indicators that only show you the current value, this tool looks back at history, finds peaks and valleys (pivots), and draws lines connecting them to highlight discrepancies between momentum and price.
2. Key Concepts: The Two Types of Signals
A. Regular Divergence (Reversal Signal) -> R
This occurs when the price trend and the oscillator trend move in opposite directions. It suggests the current trend is losing momentum and a reversal is likely.
Bullish Regular Divergence (Buy Signal):
Price: Makes a Lower Low.
Oscillator: Makes a Higher Low.
Meaning: Sellers are pushing price down, but with less strength than before. Buyers are stepping in.
Visual: A Solid Green line drawn below the price.
Hidden Divergence (Trend Continuation) -> H
This occurs during a pullback in an existing trend. It signals that the main trend is still strong and likely to resume.
Bullish Hidden Divergence (Buy Signal):
Price: Makes a Higher Low (in an uptrend).
Oscillator: Makes a Lower Low.
Meaning: The oscillator cooled off significantly, but price held up well. This "hidden" strength suggests the uptrend will continue.
Visual: A Dashed Blue line drawn below the price.
Bearish Hidden Divergence (Sell Signal):
Price: Makes a Lower High (in a downtrend).
Oscillator: Makes a Higher High.
Meaning: The oscillator rallied hard, but price couldn't break the previous high. This weakness suggests the downtrend will resume.
Visual: A Dashed Orange line drawn above the price.
How to Trade With It
Select Your Oscillator:
Go to the settings and choose your preferred oscillator from the list (RSI is the default and most common).
Tip: RSI is great for general purpose. MACD or OsMA are excellent for trend-following. CCI is good for detecting extremes.
Confirm the Trend:
Look at the chart context. Is the market trending up or down?
If Trending UP: Look primarily for Hidden Bullish (continuation) or wait for Regular Bearish at major resistance levels.
If Trending DOWN: Look for Hidden Bearish (continuation) or Regular Bullish at major support.
Wait for the Signal:
"R" Label: Indicates a Regular divergence (Reversal). Be ready for a potential change in trend direction.
"H" Label: Indicates a Hidden divergence (Continuation). This is often a high-probability entry point to join an existing trend.
T3 Smoothing (Optional but it's the core of the indicator):
The indicator includes a "T3 Smoothing" feature enabled by default. This smooths out the jagged lines of the oscillator to reduce false signals.
Adjustment: If you find the signals are too slow, you can turn off Use T3 Smoothing in the settings to see the raw oscillator data.
Combine with Support/Resistance: A Regular Bullish Divergence that appears exactly at a major Support Level is a much stronger signal than one that appears in the middle of nowhere.






















