指标

Xander Ultimate Pro [Final Verified + Time Est - No NA Error]🚀 Xander Ultimate Pro
by @wijayanto_ok
The most advanced version of the Xander scalping system — now with Supply/Demand zones, EMA 200 bias filter, intelligent time estimation, and a smart recommendation engine. 100% error-free, non-repainting, and production-ready.
================================================================================
📌 OVERVIEW
================================================================================
Xander Ultimate Pro is a professional-grade Price Action trading system engineered for traders who demand precision, confirmation, and clarity. It synthesizes seven powerful analytical layers into one cohesive, visual interface:
✅ Multi-Timeframe Trend Bias using EMA 13/21/200 confluence
✅ Auto Fibonacci Retracement from confirmed swing structures
✅ Dynamic Support & Resistance with adaptive tolerance
✅ Supply/Demand Zone detection with visual box overlays
✅ Stochastic RSI + Volume confirmation for high-probability entries
✅ Smart Risk/Reward calculator with real-time ratio display
✅ Intelligent Time Estimation: "Scalp" vs "Swing" mode detection
✅ Actionable Recommendation Engine: "STRONG BUY/SELL", "WAIT", or "NO TRADE"
🎯 Best For: Timeframes 1m – 4H | Liquid assets (Forex majors, BTC/ETH, Indices, Commodities)
================================================================================
✨ KEY FEATURES
================================================================================
🔹 1. Advanced Trend Filter (Triple EMA System)
---------------------------------
• EMA Fast (13) + EMA Slow (21) + EMA 200 (Major Bias)
• Dynamic coloring with transparency:
🟢 Green = Bullish Confluence | 🔴 Red = Bearish Confluence | ⚪ Gray = Neutral/Sideways
• Adaptive label: "LT UPTREND" for daily+ timeframes, standard for lower TFs
• Sideways detection prevents low-quality entries in choppy markets
🔹 2. Auto Fibonacci Retracement
---------------------------------
• Automatically draws Fib from last confirmed Swing High/Low
• Highlights Golden Zone (0.618) as high-probability reversal area
• Directional label: "POTENSI NAIK ↗" (Bullish) or "POTENSI TURUN ↘" (Bearish)
• Non-repainting: Uses confirmed pivots only (lookback-based)
🔹 3. Dynamic Support & Resistance
---------------------------------
• Auto-detects Swing High/Low using ta.pivothigh() / ta.pivotlow()
• Horizontal dashed lines extended to current bar
• Adaptive tolerance: 0.2% for lower TFs, 0.5% for daily+ (reduces false breaks)
• Real-time line extension as new bars form
🔹 4. Supply & Demand Zone Boxes
---------------------------------
• Visual box overlays around key pivot zones
• Red box = Supply (potential sell zone) | Green box = Demand (potential buy zone)
• Configurable zone width (candles) and price tolerance
• Auto-extended 30 bars forward for proactive planning
🔹 5. Multi-Layer Entry Confirmation
---------------------------------
Component | Default Settings | Purpose
-------------------|---------------------------------|---------------------------
Stochastic RSI | RSI:14, %K:3, %D:3, OB:80, OS:20 | Momentum timing & reversals
Volume Filter | 20-period SMA comparison | Confirms institutional interest
Price Action Area | EMA zone / S/R bounce / Zone touch | Structural alignment validation
✅ BUY Signal Triggers When ALL Are True:
1. Bullish Trend (EMA13 > EMA21 AND price > EMA200)
2. Price in Buy Area (near EMA, Support, or Demand Zone)
3. StochRSI crosses UP from Oversold (<20)
4. Volume exceeds 20-period average
→ Green "BUY" triangle + green background highlight
✅ SELL Signal Triggers When ALL Are True:
1. Bearish Trend (EMA13 < EMA21 AND price < EMA200)
2. Price in Sell Area (near EMA, Resistance, or Supply Zone)
3. StochRSI crosses DOWN from Overbought (>80)
4. Volume exceeds 20-period average
→ Red "SELL" triangle + red background highlight
🔹 6. Smart Info Panel & Recommendation Engine
---------------------------------
📊 Real-Time Table (Top-Right Corner):
| Metric | Description |
|---------------|-------------|
| RECOMMENDATION| Actionable signal: "✅ STRONG BUY NOW", "⏳ WAIT MOMENTUM", "⛔ NO TRADE", etc. |
| Mode | Auto-detects: "SCALPING" (intraday) or "SWING/DAILY" (higher TF) |
| Trend | Current bias: BULLISH / BEARISH / NEUTRAL |
| Est. RR | Live Risk:Reward ratio (e.g., "1.85 : 1") |
| Next Target | Price level of nearest swing target |
| Est. Time | Projected duration: "~12 Candles (~Day)" |
🧠 Recommendation Logic:
• "✅ STRONG BUY/SELL NOW" → All entry conditions met + RR ≥ threshold
• "⏳ WAIT MOMENTUM" → Price in zone, awaiting StochRSI confirmation
• "⏳ WAIT PULLBACK" → Trend aligned, waiting for price to reach entry area
• "⛔ NO TRADE (Sideways)" → EMA confluence absent, avoid chop
• "⛔ SKIP (RR < 1:1)" → Potential reward too small vs risk
🔹 7. Intelligent Time Estimation Feature
---------------------------------
• Calculates last swing duration in candle count
• Converts to human-readable estimate based on timeframe:
- 1m–15m → "~X Candles (~Scalp)"
- 1h–12h → "~X Candles (~Day)"
- 1D+ → "~X Candles (~Swing)"
• Helps traders align position sizing and holding period expectations
🔹 8. Visual Scalping vs Swing Label
---------------------------------
• Auto-label above price action:
⚡ "POTENSI SCALPING" → Target < user-defined % threshold (default 1.0%)
🚀 "POTENSI SWING" → Target ≥ threshold
• Color-coded background for instant visual recognition
• Shows exact distance to target in percentage
🔹 9. Alert System (Production-Ready)
---------------------------------
• 🔔 "Xander BUY" → Triggers on confirmed buy signal
• 🔔 "Xander SELL" → Triggers on confirmed sell signal
• Message format: "BUY Signal | {{ticker}} | {{close}}" (customizable)
• Fully compatible with TradingView alerts: popup, email, webhook, SMS, Discord
================================================================================
⚙️ HOW TO USE
================================================================================
🔧 Initial Setup:
1. Add script to chart with timeframe 5m, 15m, 1H, or 4H (optimal range)
2. Recommended liquid instruments:
• Forex: EURUSD, GBPUSD, USDJPY, XAUUSD
• Crypto: BTCUSDT, ETHUSDT, SOLUSDT
• Indices: US30, NAS100, SPX500, GER40
• Commodities: XAUUSD, XAGUSD, OIL
🎯 LONG Entry Protocol:
1. Confirm panel shows "BULLISH" trend + "SCALPING" or "SWING" mode
2. Wait for price to enter Buy Area:
- Pullback to EMA 13-21 zone, OR
- Bounce from green Support line, OR
- Touch of green Demand Zone box
3. Confirm signal: Green BUY triangle appears + candle closes bullish
4. Verify StochRSI: Crossed up from <20 zone
5. Confirm Volume: Current bar > 20-period average
6. Check Panel: RR ≥ 1:1.5 and Recommendation = "✅ STRONG BUY NOW"
📍 Stop Loss: 1-2 ticks below lastSwingLow or Demand Zone bottom
🎯 Take Profit:
- Conservative: lastSwingHigh / Supply Zone top
- Aggressive: Fib 0.236 or 0.382 extension
- Always respect RR target ≥ 1:1.5
🎯 SHORT Entry Protocol:
1. Confirm panel shows "BEARISH" trend + mode label
2. Wait for price to enter Sell Area:
- Pullback to EMA 13-21 zone, OR
- Rejection from red Resistance line, OR
- Touch of red Supply Zone box
3. Confirm signal: Red SELL triangle appears + candle closes bearish
4. Verify StochRSI: Crossed down from >80 zone
5. Confirm Volume: Current bar > 20-period average
6. Check Panel: RR ≥ 1:1.5 and Recommendation = "✅ STRONG SELL NOW"
📍 Stop Loss: 1-2 ticks above lastSwingHigh or Supply Zone top
🎯 Take Profit:
- Conservative: lastSwingLow / Demand Zone bottom
- Aggressive: Fib 0.236 or 0.382 extension downward
- Always respect RR target ≥ 1:1.5
⚠️ Critical Filters (Do Not Ignore):
❌ NEVER trade when Recommendation = "⛔ NO TRADE (Sideways)"
❌ SKIP any signal with Est. RR < 1:1 (visible in panel)
❌ AVOID entries 5-10 minutes before/after high-impact news (NFP, CPI, FOMC)
❌ DO NOT chase entries if price is >2% away from EMA zone (overextended)
✅ ALWAYS wait for candle CLOSE beyond signal bar for confirmation
✅ ALWAYS use hard Stop Loss — never move it against your position
✅ Consider partial profit taking at 1:1 RR, let remainder run to target
================================================================================
🔍 TECHNICAL NOTES (For Advanced Users & Developers)
================================================================================
📐 Non-Repainting Architecture:
• Pivot detection: ta.pivothigh/low with rightBars = lookback → confirmed only after N candles
• All signals trigger on bar close, not intra-candle
• NA error prevention: All swing variables initialized with "not na()" guards
• Line/box management: Old objects deleted before new creation (prevents chart clutter)
📊 Adaptive Tolerance System:
• Lower TFs (1m-1H): tolerance = close * 0.002 (0.2%)
• Higher TFs (4H+): tolerance = close * 0.005 (0.5%)
• Prevents false S/R breaks on volatile assets while maintaining sensitivity
⏱ Time Estimation Logic:
lastMoveDuration = currentSwingIndex - previousSwingIndex
→ Converted to human-readable format via timeframe.period detection
→ Case-sensitive TF matching: "1m", "5m", "1h", "4h", "1D", etc.
→ Fallback: "Calculating..." until first full swing cycle completes
🧮 Risk/Reward Calculation:
// For LONG:
risk = entry_price - lastSwingLow
reward = lastSwingHigh - entry_price
RR = reward / risk
// For SHORT:
risk = lastSwingHigh - entry_price
reward = entry_price - lastSwingLow
RR = reward / risk
• Uses close price as proxy for entry (adjust manually for precision)
• Panel displays "N/A" or "Wait Swing" until valid swings are detected
🎨 Visual Optimization:
• Max limits set: max_lines_count=500, max_labels_count=500, max_boxes_count=100
• Transparent colors (color.new(..., alpha)) prevent chart clutter
• Background highlights only on confirmed signals (no visual noise)
================================================================================
⚠️ DISCLAIMER & RISK WARNING
================================================================================
🚨 CRITICAL NOTICE: This script is an analytical and educational tool only. It does NOT constitute financial advice, guarantee profits, or replace independent trading judgment.
1. ✅ Backtest Thoroughly: Validate performance in TradingView's bar replay mode across multiple market conditions (trending, ranging, high volatility) before live use.
2. ✅ Start Small: When going live, begin with minimal position size to verify real-world behavior matches backtest expectations.
3. ✅ Understand Limitations:
• Performs optimally in trending markets with clear structure
• May generate fewer signals (or whipsaws) in extreme sideways/choppy conditions
• News events can invalidate technical setups — always check economic calendar
4. ✅ Non-Repainting Confirmation:
• Signals appear only after candle close AND pivot confirmation
• Minor 1-candle lag on swing detection is intentional for reliability
• Do not anticipate signals — wait for full confirmation
5. ✅ Risk Management is Mandatory:
• ALWAYS use a hard Stop Loss on every trade
• Never risk more than 1-2% of account equity per trade
• Adjust position size based on SL distance, not signal strength
🔹 Trading forex, cryptocurrencies, indices, and derivatives involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Trade only with capital you can afford to lose entirely.
================================================================================
🔄 VERSION HISTORY
================================================================================
Version | Release Date | Key Updates
--------|--------------|--------------------------------------------------
1.0 | May 2026 | Initial public release: Core EMA + S/R + StochRSI + Volume + RR Table
1.1 | May 2026 | Added Supply/Demand zones, EMA 200 bias, adaptive tolerance
1.2 | May 2026 | Added Time Estimation, Smart Recommendation Engine, NA error fixes, Scalping/Swing auto-label, enhanced panel
================================================================================
💬 FEEDBACK, SUPPORT & COMMUNITY
================================================================================
• 🛠 Bug Reports: Please include screenshot + timeframe + asset name + steps to reproduce for fastest resolution.
• 💡 Feature Requests: Comment on the script page or DM @wijayanto_ok with detailed use case.
• 🤝 Collaborations: Open to integrating user-suggested indicators (with proper credit).
• 🌟 Show Support: If this tool adds value to your trading, a like, follow, or constructive review helps immensely.
📬 Preferred Contact: TradingView DM @wijayanto_ok
================================================================================
🔖 TAGS (For Search Optimization)
================================================================================
scalping, price-action, ema, fibonacci, support-resistance, supply-demand, stochastic-rsi, volume-profile, risk-reward, swing-trading, confirmation, non-repainting, tradingview, pine-script, indicator, strategy, auto-fib, time-estimation, recommendation-engine
================================================================================
✅ PRE-PUBLISH QUALITY CHECKLIST
================================================================================
Code compiles with zero errors or warnings in Pine Script v6
Tested on 5+ assets across Forex, Crypto, and Indices
Validated on timeframes: 5m, 15m, 1H, 4H, 1D
All user inputs have logical defaults and min/max constraints
Comprehensive inline comments for maintainability
Full risk disclaimer and educational warnings included
Alert conditions defined and tested
Zero repainting behavior confirmed via bar replay
NA/Null handling prevents runtime errors
Visual elements respect TradingView object limits
Documentation complete, professional, and mobile-friendly
English language optimized for global TradingView audience
================================================================================
🙏 FINAL WORDS
================================================================================
"Plan your trade, trade your plan. Consistency > Perfection."
— Xander Trading Philosophy
Thank you for trusting Xander Ultimate Pro with your market analysis.
May your entries be precise, your risk managed, and your RR always in your favor. 🎯📈
Happy Trading,
@wijayanto_ok
================================================================================
🔐 LICENSE
================================================================================
This Pine Script® code is subject to the terms of the Mozilla Public License 2.0
at mozilla.org
© 2026 wijayanto_ok. All rights reserved.
You are free to use, modify, and share this script for personal trading purposes.
Commercial redistribution or resale of the code is prohibited without explicit permission.
================================================================================ 指标

Xander Scalping Strategy [Price Action + Confirmation]🚀 Xander Scalping Strategy
by @wijayanto_ok
A multi-confirmation scalping strategy combining trend filtering, dynamic support/resistance, Stochastic RSI momentum, and volume confirmation — with visual Risk/Reward estimation for disciplined trading.
================================================================================
📌 OVERVIEW
================================================================================
Xander Scalping Strategy is a Price Action-based trading tool designed for traders who prioritize high-probability, multi-layer confirmation before entry. It helps identify:
✅ Trend Direction using EMA 13/21 crossover
✅ Dynamic Support & Resistance from confirmed swing highs/lows
✅ Precision Entry Signals via Stochastic RSI + Volume spike confirmation
✅ Visual Risk/Reward Estimator for smarter position management
🎯 Best For: Timeframes 5m – 1H | Liquid assets (Forex majors, BTC/ETH, Indices)
================================================================================
✨ KEY FEATURES
================================================================================
🔹 1. Trend Filter (EMA 13/21)
---------------------------------
• Fast EMA (13) & Slow EMA (21) with dynamic coloring:
🟢 Green = Uptrend | 🔴 Red = Downtrend | ⚪ Gray = Sideways
• Real-time trend label in top-right corner for quick reference
🔹 2. Dynamic Support & Resistance
---------------------------------
• Auto-detects Swing High/Low using ta.pivothigh() / ta.pivotlow()
• Horizontal S/R lines extended to the right (real-time visualization)
• Updates automatically when new swings are confirmed
⚠️ Note: 1-candle lag for pivot confirmation = non-repainting logic
🔹 3. Multi-Layer Entry Confirmation
---------------------------------
Component | Settings | Purpose
-------------------|---------------------------------------|---------------------------
Stochastic RSI | RSI Len: 14, %K: 3, %D: 3, OB: 80, OS: 20 | Momentum timing & reversal signals
Volume Filter | Avg Volume (20-period) | Filters low-liquidity false signals
Price Action | Pullback to EMA zone OR bounce/reject at S/R | Confirms structural alignment
✅ BUY Signal Conditions:
1. Uptrend (EMA 13 > EMA 21)
2. Price pulls back to EMA zone OR bounces from Support
3. StochRSI crosses UP from Oversold (<20)
4. Volume > 20-period average
→ Green "BUY" arrow appears below candle
✅ SELL Signal Conditions:
1. Downtrend (EMA 13 < EMA 21)
2. Price pulls back to EMA zone OR rejects from Resistance
3. StochRSI crosses DOWN from Overbought (>80)
4. Volume > 20-period average
→ Red "SELL" arrow appears above candle
🔹 4. Visual Risk/Reward Table (Top-Right)
---------------------------------
Metric | Description
----------|--------------------------------------------------
Status | Current trend or active signal (LONG/SHORT/UPTREND/DOWNTREND)
Est. RR | Estimated Risk:Reward ratio based on latest swing levels
💡 Tip: Use RR ≥ 1:1.5 as an additional filter for higher-quality entries.
🔹 5. Alert System
---------------------------------
• 🔔 "Xander Buy Signal" — Triggered when all BUY conditions met
• 🔔 "Xander Sell Signal" — Triggered when all SELL conditions met
• Compatible with TradingView alerts (popup, email, webhook, SMS)
================================================================================
⚙️ HOW TO USE
================================================================================
🔧 Setup:
1. Apply script to chart with timeframe 5m, 15m, or 1H
2. Recommended assets:
• Forex: EURUSD, GBPUSD, USDJPY
• Crypto: BTCUSDT, ETHUSDT
• Indices: US30, NAS100, SPX500
🎯 LONG Entry Setup:
1. Confirm "UPTREND 🟢" label is visible
2. Wait for pullback to EMA 13-21 zone OR bounce from green Support line
3. Confirm: Green BUY arrow appears + candle closes bullish
4. StochRSI: Crosses up from <20 zone
5. Volume: Bar higher than 20-period average
📍 Stop Loss: Below nearest lastSwingLow
🎯 Take Profit: Nearest lastSwingHigh OR RR target ≥1:1.5
🎯 SHORT Entry Setup:
1. Confirm "DOWNTREND 🔴" label is visible
2. Wait for pullback to EMA 13-21 zone OR rejection from red Resistance line
3. Confirm: Red SELL arrow appears + candle closes bearish
4. StochRSI: Crosses down from >80 zone
5. Volume: Bar higher than 20-period average
📍 Stop Loss: Above nearest lastSwingHigh
🎯 Take Profit: Nearest lastSwingLow OR RR target ≥1:1.5
⚠️ Recommended Filters:
❌ Avoid trading when label shows "SIDEWAYS ⚪"
❌ Skip signals with Est. RR < 1:1
❌ Avoid entries 5 min before/after high-impact news events
✅ Always confirm with candlestick patterns (pinbar, engulfing, etc.)
================================================================================
🔍 TECHNICAL NOTES (Advanced Users)
================================================================================
📐 Pivot Detection (Non-Repainting):
ph = ta.pivothigh(high, lookbackPeriod, lookbackPeriod)
pl = ta.pivotlow(low, lookbackPeriod, lookbackPeriod)
• Requires rightBars = lookbackPeriod for confirmation → NO REPAINTING
• New swing confirmed only after N candles close to the right
• Recommended: lookbackPeriod = 50 for significant swings; 20-30 for responsive signals
📊 Stochastic RSI Calculation:
rsiSource = ta.rsi(close, 14)
stoch = (rsiSource - lowestRSI) / (highestRSI - lowestRSI) * 100
%K = ta.sma(stoch, 3), %D = ta.sma(%K, 3)
• Measures relative momentum within 0–100 range
• Crosses at extremes (20/80) offer high-probability reversal signals
📈 Risk/Reward Estimation:
// For BUY:
risk = close - lastSwingLow
reward = lastSwingHigh - close
RR = reward / risk
• Uses latest confirmed swing levels as reference for SL/TP
⚠️ Estimates only — always adjust to real-time market structure
================================================================================
⚠️ DISCLAIMER & RISK WARNING
================================================================================
🚨 IMPORTANT: This script is an analytical tool only. It does NOT guarantee profits or replace sound trading judgment.
1. Backtest First: Test in demo mode for 2–4 weeks before live trading.
2. No Holy Grail: No strategy wins 100%. Manage expectations and use strict money management.
3. Market Conditions: Performs best in trending markets. May underperform in extreme sideways or news-driven volatility.
4. Non-Repainting: Signals appear only after candle close and pivot confirmation. Minor 1-candle lag on swing detection is intentional for reliability.
5. Always Use Stop Loss: Never trade without predefined risk protection.
🔹 Trading forex, crypto, and derivatives carries substantial risk of loss. Trade only with capital you can afford to lose.
================================================================================
🔄 VERSION HISTORY
================================================================================
Version | Date | Changes
--------|------------|--------------------------------------------------
1.0 | May 2026 | Initial release: EMA + S/R + StochRSI + Volume + RR Table
================================================================================
💬 FEEDBACK & SUPPORT
================================================================================
• 🛠 Found a bug? Report with screenshot + timeframe + asset for faster resolution.
• 💡 Have an improvement idea? Comment below or DM @wijayanto_ok.
• 🌟 Enjoying the script? A like/follow helps support future updates!
"Plan your trade, trade your plan. Consistency > Perfection."
— Xander Scalping Philosophy
================================================================================
🔖 TAGS (For Search Optimization)
================================================================================
scalping, price-action, ema, support-resistance, stochastic-rsi, volume, risk-reward, swing-trading, confirmation, non-repainting, tradingview, pine-script
================================================================================
✅ PRE-PUBLISH CHECKLIST
================================================================================
Tested on 3+ assets & timeframes
All inputs have sensible defaults
Code is well-commented & structured
Risk disclaimer included
Alert conditions defined
No unwanted repainting logic
Documentation complete & professional
================================================================================
🙏 Thank you for using Xander Scalping Strategy!
Happy trading, and may your RR always be in your favor. 🎯📈
================================================================================ 指标

Tectonic Ribbon Oscillator [JOAT]Tectonic Ribbon Oscillator
Introduction
Tectonic Ribbon Oscillator is an open-source lower-pane momentum field built from twenty lag-reduced strands. The script classifies whether momentum is in bullish expansion, bearish expansion, or twist compression by comparing the ribbon's fast, mid, and slow structure instead of relying on a single oscillator line.
The problem Tectonic solves is momentum depth. A single oscillator can show direction, but it usually hides how broad or fragile the move actually is. Tectonic exposes ribbon breadth, spread, slope, and divergence in one framework so the user can distinguish acceleration from compression.
Core Concepts
1. Multi-Strand Ribbon Construction
Each strand uses a progressively larger lookback and lag-reduced smoothing. This creates a depth field rather than a single-value oscillator.
2. Fast-Mid-Slow Spread Logic
The oscillator compares grouped ribbon averages and uses the spread to determine whether momentum is directional or twisted into compression.
3. Regime Classification
Bull, bear, and twist states are identified from the spread and held as confirmed regime transitions.
4. Divergence Validation
Price pivots and ribbon pivots are compared to identify confirmed bullish and bearish divergence without using future leaks.
5. Momentum Support Layers
Histogram and slope components add a second view of how the ribbon is accelerating or decelerating internally.
Features
Twenty-strand momentum ribbon: Progressive lookbacks create a true depth profile
Lag-reduced smoothing: Ribbon strands are stabilized without reverting to a slow classic oscillator
Twist regime detection: Compression is explicitly separated from directional impulse
Confirmed divergence logic: Bullish and bearish divergence are tracked from confirmed pivot relationships
Histogram and slope overlays: Secondary layers help gauge acceleration quality
Top-right dashboard: State, spread, slope, histogram, depth, divergence, last shift, confirmation, and breadth are reported continuously
How to Use This Indicator
Step 1: Read the regime
Bull and bear states indicate directional momentum dominance. Twist indicates compression or unstable breadth.
Step 2: Compare spread and slope
A large spread with weakening slope often indicates mature momentum. A fresh spread expansion with improving slope usually indicates earlier-cycle momentum.
Step 3: Respect divergence in context
Confirmed divergence is most useful when it appears against an already stretched ribbon state.
Indicator Limitations
Divergence is not a reversal guarantee
Twist states can persist for long periods in balanced markets
Shorter settings will react faster but can become noisy
The oscillator is a momentum context tool and should be combined with market structure or regime logic
Originality Statement
Tectonic Ribbon Oscillator is original in the way it assembles a twenty-strand lag-reduced ribbon, grouped spread classification, divergence validation, and dashboard reporting into one momentum framework rather than publishing a lightly modified RSI derivative.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Momentum and divergence signals can fail, especially during high-volatility structural breaks. Use independent analysis and risk management.
指标

指标

指标

策略

Price oscillator [Session Adjusted]Price Oscillator
This indicator combines directional momentum bias with dynamic volatility analysis, helping traders identify both trend direction and potential exhaustion zones.
Core Concept
The oscillator calculates the percentage deviation of price from a session-adjusted moving average (close / MA - 1).
The histogram is plotted as always-positive columns (green when price is above the MA, red when below). This design enables a clear visual comparison between momentum strength and the Bollinger Band Width (BBW).
When the colored columns cross above the BBW line, it signals an over-extended condition, often indicating a high probability of imminent correction or mean reversion.
Volatility Analysis
The blue BBW line is a key element of the indicator:
- Rising BBW (positive slope) indicates volatility expansion — typically associated with strong trending moves or breakout phases.
- Falling BBW (negative slope) indicates volatility contraction — often signaling consolidation periods or impending explosive moves.
Main Features
Adaptive Lookback Period:
Automatically adjusts based on the selected session duration (default 24 hours), providing timeframe consistency.
Flexible Smoothing:
Choose between SMA, EMA, RMA, or WMA for the reference moving average.
Dual Signal System:
Colored columns show momentum direction and strength.
BBW line reveals both the level and the direction (slope) of volatility.
Exhaustion Zones:
Crosses between momentum columns and BBW act as dynamic overbought/oversold signals.
How to Use
Directional Bias Filter: Green columns = bullish bias | Red columns = bearish bias.
Volatility Regime: Use the slope of the BBW line to distinguish between trending (expanding volatility) and consolidating (contracting volatility) environments.
Correction Signals: Watch for strong momentum columns crossing above the BBW line — this frequently precedes pullbacks or reversals.
Particularly effective on Forex pairs and European indices (DAX, CAC40, FTSEMIB, etc.) on 1H to 4H, and Daily timeframes.
指标

RSI & MACD MTF Station [v2c_cha]Overview
The RSI & MACD MTF Heatmap Station is a comprehensive, all-in-one momentum and trend analysis tool designed to eliminate chart clutter. Traditionally, traders relying on Multi-Timeframe (MTF) analysis must either split their screens into multiple layouts or flood their indicator panels with overlapping "spaghetti" lines. This indicator solves that problem by consolidating the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) across 9 different timeframes into a single, compact visual Heatmap.
Core Concepts & Calculations
This indicator relies on the standard mathematical formulas for RSI (default 14 periods) and MACD (default 12, 26, 9). However, its core value lies in how it processes and displays this data:
Non-Repainting MTF Data: All higher-timeframe data is fetched using barmerge.lookahead_off and barmerge.gaps_off to ensure strict compliance with non-repainting rules. What you see on historical bars is exactly what would have printed in real-time.
Visual Anchoring: To display both the current RSI and current MACD lines harmoniously in the same pane without skewing the scale, the MACD line is mathematically anchored to the RSI's 50-level (neutral line).
How to Read the Heatmap Dashboard
The dashboard is a 9-column by 3-row matrix located in the corner of your screen, covering timeframes from 1-minute to 1-Month.
Row 1 (RSI - Extreme Momentum): This row measures whether an asset is mathematically overbought or oversold.
🔴 Red (RSI >= 70): Overbought. The asset is extended to the upside in this specific timeframe.
🟢 Green (RSI <= 30): Oversold. The asset is extended to the downside.
⚫ Dark Gray (31-69): Neutral. The asset is flowing within normal momentum boundaries.
Row 2 (MACD - Trend Direction): This row measures the overarching trend control based on the MACD main line crossing the Zero line.
🟢 Green (MACD > 0): Bullish trend control.
🔴 Red (MACD < 0): Bearish trend control.
Practical Trading Application (Top-Down Analysis)
This tool excels at spotting high-probability continuation setups by aligning the macro-trend with micro-momentum pullbacks.
Example Setup (The Buy Dip): A trader observing a 5-minute chart looks at the dashboard. The MACD row shows Green for the 1H and 4H timeframes, indicating a strong macro bullish trend. However, the RSI row shows Green (< 30) for the 5m and 15m timeframes. This tells the trader that while the macro trend is up, there is short-term panic/oversold conditions. This alignment provides a mathematical, rules-based area to look for long entries (buying the dip) in the direction of the macro trend.
Key Features & Customization
Fully Customizable: You can change the lengths and smoothing periods for both the RSI and MACD.
Dashboard Positioning: Move the heatmap to any corner of the screen to fit your layout.
Decluttered Charting: By default, only the current timeframe's RSI and MACD lines are plotted, while all MTF data is neatly organized inside the heatmap.
Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice or guarantee profitable trades. Always combine momentum and trend indicators with proper risk management and price action analysis. 指标

ADX/ MACD/ 200 EMA Strawberry Signals 🍓 Strawberry Signals 🍓
The Strawberry Signals indicator is a trend-following trading tool designed to help traders identify high-probability market entries by combining three core components:
trend direction (EMA 200), momentum (MACD), and trend strength (ADX) .
Signals are only displayed on confirmed candles to ensure stability and avoid repainting behavior.
📌 Indicator Concept
This indicator focuses on trading in the direction of the dominant trend. Instead of generating frequent signals, it filters out low-quality market conditions and only highlights setups where trend, momentum, and strength are aligned.
The goal is to reduce noise and help traders focus on clearer market structures rather than overtrading in sideways conditions.
📊 Core Components
1. EMA 200 – Trend Filter
The EMA 200 is used as the primary trend direction filter.
- Price above EMA 200 → bullish market structure
- Price below EMA 200 → bearish market structure
This ensures that signals are always aligned with the higher timeframe bias of the market.
2. MACD – Momentum Confirmation
The MACD crossover is used to confirm momentum shifts in the direction of the trend:
- Bullish signal: MACD line crosses above signal line
- Bearish signal: MACD line crosses below signal line
This helps identify moments where momentum supports the trend direction.
3. ADX – Trend Strength Filter
The ADX is used to measure whether the market is strong enough for trend trading.
Only when ADX is above the selected threshold (default: 20) will signals be allowed.
- Low ADX → weak or sideways market (no signals)
- High ADX → strong trend conditions (valid signals)
🟢 Buy Signal Conditions
Price is above the EMA 200
MACD line crosses above the signal line
ADX is above the defined threshold (trend strength confirmed)
Signal is confirmed on candle close (no intrabar signals)
🔴 Sell Signal Conditions
Price is below the EMA 200
MACD line crosses below the signal line
ADX is above the defined threshold (trend strength confirmed)
Signal is confirmed on candle close (no intrabar signals)
⚙️ Settings Overview
EMA Length: Defines the trend filter (default: 200)
MACD Settings: Controls momentum sensitivity (fast, slow, signal)
ADX Length: Smoothness of trend strength calculation
ADX Threshold: Minimum trend strength required for signals
📉 Market Conditions
This indicator performs best in trending environments where price moves directionally with momentum.
During sideways or low-volatility conditions, fewer signals will appear by design, as weak trends are filtered out.
👤 My Personal Use
This indicator is intentionally designed to produce fewer signals. Entries are only generated at the exact moment of a MACD crossover when all required conditions are aligned. I use it for XAUUSD on the 1M chart but I'm confident for it to work on different instruments.
In my personal trading, I also monitor situations where the ADX rises above the threshold after the MACD crossover. If momentum remains strong and the overall trend structure (EMA direction) is still valid, these scenarios can still offer interesting trade opportunities even if no signal was printed.
For better decision-making, I recommend displaying the MACD and ADX directly on the chart alongside this indicator. This helps to visually confirm momentum development for trading and trend strength beyond the signal itself.
⚠️ Important Notes
This indicator is designed for educational and analytical purposes.
It does not guarantee profitable trades.
Always combine signals with proper risk management and additional confirmation tools and market structure if needed.
🍓 Summary
Strawberry Signals provides a clean and structured approach to trend trading by combining multiple technical indicators into a single signal system.
It is built to reduce noise, filter weak setups, and highlight only high-quality trend-aligned opportunities directly on the chart.
指标

MACD + RSI + MFI + A/D by Ismael█ OVERVIEW
A 4-in-1 oscillator panel combining MACD, RSI with Bollinger Bands and
custom Buy/Sell signals, Money Flow Index (MFI), and Accumulation/Distribution.
Each module can be toggled on/off independently from a single "Toggle
Indicators" group, so the user can display only what they need instead of
loading four separate scripts.
═══════════════════════════════════════════════════════════════════════
█ ORIGINALITY
This script does not invent new math — it integrates four well-known
built-in indicators into a single pane and adds three conveniences:
- A unified toggle system to show/hide each indicator on demand.
- A custom RSI signal layer based on Bollinger Band breakouts of the
RSI itself, combined with the classic overbought/oversold zones.
- An A/D module that replicates the configuration style of the
MetaTrader 5 implementation (Tick/Real volume option and configurable
horizontal levels).
═══════════════════════════════════════════════════════════════════════
█ WHAT IT INCLUDES
▪ MACD (default: ON)
Standard MACD with configurable fast/slow lengths, signal smoothing,
and choice of SMA or EMA for both the oscillator and signal line.
Includes alerts for histogram polarity changes.
▪ RSI with Bollinger Bands and Buy/Sell signals (default: ON)
Classic RSI with optional smoothing MA (SMA, EMA, WMA, VWMA, SMMA,
or SMA + Bollinger Bands). When "SMA + Bollinger Bands" is selected:
- Buy signal: RSI closes below its lower Bollinger Band AND below 30.
- Sell signal: RSI closes above its upper Bollinger Band AND above 70.
Signals are plotted as arrows and include alert conditions.
▪ MFI (default: OFF)
Standard Money Flow Index with 80/50/20 horizontal levels.
▪ Accumulation/Distribution (default: OFF)
Classic cumulative A/D line. Configurable like the MT5 version:
- Volume mode: Real or Tick (1 per bar, useful for FX).
- 3 user-defined horizontal levels with individual visibility/color.
- Color and line width.
Includes alerts for crossovers against its own SMA(20).
═══════════════════════════════════════════════════════════════════════
█ HOW TO USE
1. Activate from "Toggle Indicators" only the modules you need.
2. RSI Buy/Sell signals are intended as confluence — not standalone
entries. They mark statistically rare conditions (extreme RSI combined
with a Bollinger Band breakout on the RSI) and should be confirmed
with price action, structure, or trend context.
3. MACD histogram polarity alerts can be paired with RSI signals.
4. The A/D line is most useful when watched for divergences against price,
not for its absolute value.
═══════════════════════════════════════════════════════════════════════
█ LIMITATIONS
- The A/D line uses cumulative values that produce very large numbers.
When combined with MACD/RSI/MFI in the same pane, auto-scale will
compress the smaller-range indicators. Workaround: right-click the
A/D plot → "Pin to scale" → assign it to a separate scale.
- "Tick" volume here is approximated as 1 per bar; Pine Script does not
expose the tick-volume data used by MetaTrader 5. For instruments with
reliable real volume, use "Real".
- RSI Buy/Sell signals only fire when the smoothing MA type is set to
"SMA + Bollinger Bands". Other MA types disable the signal layer.
- This is an aggregator/utility script. It does not predict market
direction and is not a complete trading system.
═══════════════════════════════════════════════════════════════════════
█ DISCLAIMER
This script is shared for educational purposes only and is not financial
advice. Indicator signals do not guarantee future results. Always perform
your own analysis and apply proper risk management.
═══════════════════════════════════════════════════════════════════════
█ DESCRIPCIÓN (Español)
Panel de osciladores 4-en-1 que combina MACD, RSI con Bandas de Bollinger
y señales de compra/venta, MFI y Acumulación/Distribución. Cada módulo se
activa o desactiva de forma independiente desde el grupo "Toggle
Indicators".
Incluye:
- MACD estándar con alertas de cambio de polaridad del histograma.
- RSI con MA opcional (SMA, EMA, WMA, VWMA, SMMA o SMA+BB). Cuando
se elige "SMA + Bandas de Bollinger", aparecen señales:
- Compra: RSI por debajo de la banda inferior Y menor a 30.
- Venta: RSI por encima de la banda superior Y mayor a 70.
- MFI estándar con niveles 80/50/20.
- Acumulación/Distribución estilo MT5: volumen Real/Tick, 3 niveles
horizontales configurables, color y grosor ajustables, alertas de
cruce contra su SMA(20).
Las señales del RSI son herramientas de confluencia, no entradas
automáticas. La línea A/D se interpreta principalmente por divergencias
con el precio, no por su valor absoluto. Al activar A/D junto con los
demás osciladores, conviene moverla a una escala separada (clic derecho
sobre la línea → "Fijar a escala" → escala nueva).
Este script tiene fines educativos. No constituye asesoría financiera.
█ HOW TO USE
The RSI Buy/Sell signals (with their attached alerts) are the main
actionable element of this script and can be used to anticipate potential
entries — long on Buy signals, short on Sell signals. They fire under
statistically rare conditions (RSI breaking out of its own Bollinger Band
envelope while also being in extreme oversold/overbought territory),
which often precede a reversion or a meaningful move.
However, these signals should NOT be taken as standalone entries. They
work best as an early-warning system that must be confirmed before
acting on them. Recommended workflow:
1. RSI Buy/Sell signal fires → set alert and prepare the trade idea.
2. Look at the MACD for confirmation:
- For a Buy: histogram should be turning from falling to rising,
or MACD line crossing above Signal.
- For a Sell: histogram turning from rising to falling, or MACD
line crossing below Signal.
3. Check the MFI (if enabled): values pulling back from oversold (<20)
on Buys, or pulling back from overbought (>80) on Sells, add
confluence by confirming a money-flow shift.
4. Check the A/D line for divergences with price:
- Bullish divergence (price makes lower low, A/D makes higher low)
strongly supports a Buy signal.
- Bearish divergence (price makes higher high, A/D makes lower
high) strongly supports a Sell signal.
Divergences on RSI itself against price work the same way and are
one of the most reliable confirmation tools in this panel.
5. Always combine with price-action context: trend direction on higher
timeframes, key support/resistance, and your own risk management.
In short: the RSI signals are designed to ANTICIPATE trades, not to
trigger them automatically. The other modules (MACD, MFI, A/D) and
divergence analysis exist to filter the false positives and validate
the ones worth taking.
═══════════════════════════════════════════════════════════════════════
█ CÓMO USAR (Español)
Las señales de Compra/Venta del RSI (con sus alertas configuradas) son
el elemento principal accionable de este script y pueden usarse para
anticipar entradas — largos en señales de Compra, cortos en señales de
Venta. Se activan en condiciones estadísticamente poco frecuentes
(el RSI rompe su propia envolvente de Bandas de Bollinger mientras
está en zona de sobreventa o sobrecompra extrema), que suelen preceder
una reversión o un movimiento significativo.
Sin embargo, NO deben tomarse como entradas automáticas. Funcionan
mejor como un sistema de alerta temprana que debe confirmarse antes
de operar. Flujo recomendado:
1. Se dispara la señal del RSI → preparar la idea de trade.
2. Confirmar con MACD:
- Compra: histograma pasando de bajista a alcista, o cruce
del MACD por encima de la Signal.
- Venta: histograma pasando de alcista a bajista, o cruce
del MACD por debajo de la Signal.
3. Confirmar con MFI (si está activo): valores saliendo de
sobreventa (<20) en Compras o saliendo de sobrecompra (>80)
en Ventas indican un cambio en el flujo de dinero.
4. Buscar divergencias en la línea A/D contra el precio:
- Divergencia alcista (precio hace mínimo más bajo, A/D hace
mínimo más alto) refuerza una señal de Compra.
- Divergencia bajista (precio hace máximo más alto, A/D hace
máximo más bajo) refuerza una señal de Venta.
Las divergencias del propio RSI contra el precio funcionan igual
y son una de las confirmaciones más fiables de este panel.
5. Siempre combinar con contexto de price action: tendencia en
temporalidades superiores, soportes/resistencias clave y gestión
de riesgo propia.
En resumen: las señales del RSI están diseñadas para ANTICIPAR
trades, no para dispararlos automáticamente. Los otros módulos
(MACD, MFI, A/D) y el análisis de divergencias existen para filtrar
los falsos positivos y validar las entradas que realmente valen
la pena. 指标

3AK On Balance Turnover [OBT]📊 3AK On Balance Turnover (OBT)
3AK OBT (On Balance Turnover) is a price-action + participation indicator designed to help swing traders understand the strength behind a move , not just the move itself.
While traditional indicators like On Balance Volume focus on volume, this indicator goes one step further by tracking turnover (Volume × Price) — giving a clearer picture of money flow into and out of a stock.
🔍 What does this indicator show?
The indicator plots a cumulative turnover line (OBT) that rises or falls based on price movement:
When price moves up → turnover is added
When price moves down → turnover is subtracted
This creates a running total of buying vs selling pressure — helping you see whether real money is supporting the trend .
💡 How to interpret OBT (Key Insights)
1. Strength during pullbacks
One of the most powerful uses of OBT is during pullbacks.
If price pulls back but OBT stays near highs, it suggests:
The selling pressure is weak
The overall trend is still strong
The pullback may be temporary (market-driven, not stock weakness)
👉 This helps traders avoid exiting strong stocks too early due to minor corrections.
2. Breakout readiness using Smoothening Curve
You can optionally enable a smoothening curve (Moving Average of OBT).
When OBT is far above the curve → it may be extended
When OBT and curve are close together → compression phase
👉 Breakouts tend to have a higher probability when OBT and its curve are close, as it indicates buildup before expansion.
3. Early breakout signals (OBT leads Price)
Markers help identify important signals:
🟪 New OBT High before Price High
OBT makes a new high, but price hasn’t yet
Indicates accumulation happening quietly
👉 Often signals that a price breakout may be near
🟨 New OBT High + Price High
Both OBT and price make new highs together
👉 Confirms strong momentum and participation
(Both markers can be turned ON/OFF from settings based on your preference.)
🎯 Why use On Balance Turnover instead of Volume?
Volume alone doesn’t always reflect true participation.
OBT improves this by incorporating price:
High volume at low price ≠ High volume at high price
OBT captures actual traded value, making it more meaningful
⚙️ Customization
Choose different smoothening types: SMA, EMA, WMA, VWMA
Adjust smoothening length
Control visibility of breakout markers
Configure lookback period for “new high” detection (default: 65 bars ~ 3 months)
⚠️ Disclaimer
This indicator is designed for educational and swing trading purposes only.
It does not guarantee profits or successful trades.
Market conditions, news, and broader sentiment can impact price behavior. Always use this indicator alongside your own analysis and risk management. 指标

Momentum Pullback Continuation [AGPro Series]Momentum Pullback Continuation
🧠 Core Idea
Is a momentum pullback resetting cleanly for continuation, or is the move losing its execution quality?
📌 Overview / What it does
Momentum Pullback Continuation is a chart-first continuation planner built for traders who review momentum-driven trends after a controlled pullback.
The script maps a momentum reset pocket, continuation trigger line, invalidation rail, target-room corridor, state labels, alerts, and a clean AGPro planning panel. It converts trend support, momentum slope, pullback depth, close recovery, volume behavior, and target room into a 0-100 Continuation Score.
The default publication preset is 1H-focused. Higher timeframes can be tested from the inputs, but the strongest intended use case is hourly momentum pullback review.
It does not predict price, automate entries, or turn every trend pullback into a signal. It is a structured decision tool for evaluating whether the current momentum reset deserves closer review.
🎯 Purpose & Design Philosophy
This script was built to fill the gap between basic momentum readings and practical continuation planning.
Many traders can see that momentum exists, but the harder question is whether the pullback is resetting in a controlled way or damaging the continuation structure. This planner focuses on that decision layer.
The design supports a disciplined workflow: identify the active momentum side, inspect the reset pocket, evaluate the score, locate the invalidation rail, compare target room, and read the next-action state.
⚡ Why This Script Is Different
Most tools focus on momentum oscillators, moving-average direction, divergence events, or generic continuation labels.
This script does NOT clone Hidden Divergence Continuation Zones, Trend Continuation Quality, Structural Momentum Oscillator, ROC Momentum Shift Map, or a generic pullback signal map.
Instead, it treats the pullback as a planning event. The main output is not a buy/sell marker. It is a momentum reset decision state with score, risk edge, target-room context, and action guidance.
⚙️ Methodology
1. Context Detection
The script identifies bullish or bearish momentum context using an EMA stack, normalized trend slope, and smoothed rate-of-change pressure.
2. Reference Mapping
It builds a concept-native Momentum Reset Pocket around the active trend support area, then maps a continuation trigger line, invalidation rail, and target-room guide.
3. Reaction Evaluation
The score model evaluates momentum slope, pullback depth, trend support, close recovery, volume behavior, and available target room.
4. Visual Output
The chart shows the reset pocket, target-room corridor, trigger and risk guides, compact event labels, sparse context labels, alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Reset Pocket = the area where a momentum pullback is expected to stabilize before continuation can be reviewed.
Trigger Line = the fast continuation reference that price needs to recover after the reset.
Invalidation Rail = the planning line where the active reset context is considered lost.
Target-Room Corridor = the forward planning area between current price and the target-room guide.
Labels = RESET, WATCH, READY, WEAK, and INVALID attention markers.
Colors = teal marks bullish continuation context, pink marks bearish continuation context, amber marks weak or caution states, indigo marks watch/target-room context, and red marks invalidation.
Panel = summarizes Momentum State, Pullback Quality, Continuation Score, Risk Edge, and Action.
🚦 Signals & States
• RESET → price has interacted with the momentum reset pocket.
• WATCH → the reset is developing, but recovery or score quality is not complete.
• READY → momentum, pullback depth, recovery, volume context, and target room align strongly enough for structured review.
• WEAK → the pullback is too deep, low quality, or not recovering well enough.
• INVALID → price has crossed the invalidation rail and the active reset context should be rebuilt.
🔔 Alerts Logic
Alerts trigger when READY, WATCH, WEAK RESET, or INVALID states appear.
Each alert is an attention marker tied to the rule-based state engine. Alerts are not trade instructions and do not guarantee that continuation will occur.
🧩 Confluence Logic
The continuation context becomes stronger when trend support, positive momentum slope, controlled pullback depth, clean close recovery, acceptable volume behavior, and target-room availability align.
The script intentionally requires multiple conditions instead of labeling every pullback inside a trend as meaningful.
📊 When to Use
• Directional markets with visible momentum pressure
• 1H charts and nearby intraday momentum review
• Trend continuation review workflows
• Pullbacks after a clear momentum impulse
• Situations where risk edge and target room matter before acting
• Markets where volume and close behavior are readable enough to support context
⚠️ When NOT to Use
• Low-liquidity symbols with unreliable candles or volume
• Extremely choppy markets with frequent trend-side flips
• News-driven volatility where reset structure changes too quickly
• Very flat markets where momentum pressure is absent
• Instruments where the active pullback is far beyond the mapped risk edge
🎛️ Key Inputs
• Continuation Side → selects Auto, Bullish Only, or Bearish Only evaluation.
• Timeframe Profile → keeps the default script behavior focused on 1H charts, with optional broader intraday or all-timeframe testing.
• Sensitivity → adjusts how strict the momentum reset model is.
• EMA settings → define trigger, reset, and support references.
• Momentum ROC settings → control the internal momentum pressure reading.
• Reset Pocket Width → changes how wide the reset area is around trend support.
• READY / WATCH Score → sets state thresholds.
• Visual settings → control zones, guide lines, labels, panel theme, panel location, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first and practical.
The reset pocket and target-room corridor provide the main visual planning structure. Labels are compact and spaced with cooldown controls. The AGPro panel uses a single merged blue header row and focuses only on the core decision fields.
🧪 Practical Usage Workflow
1. Read the panel Momentum State.
2. Check whether price is interacting with the Momentum Reset Pocket.
3. Compare Pullback Quality and Continuation Score.
4. Locate the Risk Edge and Target-Room Corridor.
5. Use the Action row to decide whether the context is READY, still WATCH, weak, invalid, or only worth scanning.
🔍 Interpretation Guidelines
Think of the script as a continuation readiness map, not a command system.
A higher score means the active momentum pullback matches the script's internal definition of cleaner continuation structure. A lower score means one or more components are missing, such as trend support, recovery quality, volume context, or target room.
The invalidation rail is a planning boundary for the active context. It is not a guaranteed stop level and should not replace the user's own risk process.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an auto-trading system.
This script does not provide guaranteed signals.
This script does not replace independent confirmation, position sizing, or risk management.
⚠️ Limitations & Transparency
Momentum continuation behavior changes across symbols, sessions, and timeframes.
The default 1H Focus profile intentionally suppresses active labels, zones, and alerts outside the intended hourly review window.
Low-liquidity markets can distort volume behavior and reset quality.
High volatility can widen risk edges and reduce target-room clarity.
Sideways conditions can create repeated resets without clean continuation.
No rule-based script can fully account for sudden news, spread changes, slippage, or discretionary execution constraints.
🧠 Market Context Notes
Momentum pullbacks are often more useful when the broader trend remains intact, the pullback is controlled rather than impulsive against trend, and the recovery candle shows clear close quality.
The best reads usually come from alignment between structure, momentum, volume, volatility, and clean forward room.
🧾 Use Case Examples
When price pulls into the reset pocket during bullish momentum and then recovers the trigger line with a stronger score, the script can mark READY for continuation review.
When price enters the pocket but momentum slope fades and pullback depth becomes excessive, the script can mark WEAK RESET.
When price crosses the invalidation rail, the active reset context is treated as lost and should be rebuilt.
🧱 System Philosophy
AGPro tools are built around structured interpretation.
The goal is not to create more chart noise. The goal is to turn visible market behavior into a cleaner decision framework: context, quality, risk, target room, and next action.
🔐 Non-Promise Statement
No script can provide certainty.
No score guarantees continuation.
The output should be interpreted as structured context, not as a promise of future price movement.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, confirmation, position sizing, and decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how momentum resets behave across different symbols and timeframes. Over time, compare READY, WATCH, WEAK RESET, and INVALID states to understand which environments produce cleaner continuation structure.
指标

Concordia Regime Execution [JOAT]Concordia Regime Execution
Introduction
Concordia Regime Execution is an open-source TradingView strategy that integrates regime detection, trend bias, structure, momentum breadth, pressure confirmation, and ATR-based risk management into one non-repainting execution model. The strategy is built as a realistic framework rather than a curve-fit showcase.
The problem Concordia solves is signal fragmentation. Regime, trend, structure, and momentum are often evaluated separately, which leads to entries taken in the wrong environment. Concordia requires multiple engines to align before a position is opened, then manages risk through predefined stop, target, trailing, and bias-failure exits.
Core Concepts
1. Regime Detection
ADX, choppiness, and compression work together to classify whether the market is suitable for directional participation.
2. Trend Bias Filter
Fast, intermediate, and structural EMAs plus anchored VWAP context define directional bias before any entry can pass.
3. Structure Confirmation
Confirmed bullish or bearish breaks of recent swing structure add structural alignment to the trade decision.
4. Momentum Breadth
A compact ribbon engine classifies whether fast momentum is actually expanding in the same direction as trend and structure.
5. Pressure and Risk Layer
Chart-derived pressure and crowding inputs help confirm continuation and suppress entries during elevated stress.
6. Risk Management
Each trade uses ATR-based initial stop placement, ATR-based profit target, optional trailing activation, and bias-failure closure if internal conditions deteriorate.
Features
Regime gate: Expansion, compression, and transitional filtering
Trend alignment: EMA stack plus anchored VWAP bias logic
Structure filter: Recent swing break confirmation
Momentum breadth: Ribbon spread confirmation instead of a single oscillator line
Pressure confirmation: Chart-derived directional pressure and crowding logic
Risk model: ATR stop, ATR target, trailing trigger, and bias-failure exit
Top-right dashboard: Regime, bias, structure, momentum, pressure, risk, setup scores, active position, and stop/target levels
Confirmed-bar entries: All setup logic is gated on confirmed bars
How to Use This Strategy
Step 1: Start with liquid markets
Concordia is better suited to instruments where anchored VWAP, ATR, and structure transitions behave consistently.
Step 2: Use realistic assumptions
Commission, slippage, and position sizing inputs should match your actual market and trading conditions before evaluating performance.
Step 3: Evaluate regime quality first
The strategy is intentionally selective. If the market is compressing or structurally unstable, fewer trades should occur.
Step 4: Review bias-failure exits
These exits are included to avoid overstaying trades when internal alignment breaks down before the stop or target is reached.
Strategy Limitations
Like any rules-based strategy, it can underperform in abrupt gap conditions or news-driven spikes
ATR-based exits adapt to volatility, but they are not guaranteed to be optimal for every instrument
The strategy is intentionally conservative and may miss some fast reversals
Historical performance does not guarantee future results
Originality Statement
Concordia Regime Execution is original in the way it integrates regime, trend, structure, momentum breadth, pressure confirmation, and ATR-based trade management into a single open-source strategy designed for realistic chart use rather than decorative backtest output.
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice and should not be treated as a recommendation to buy or sell any instrument. Strategy results are based on historical chart data and platform assumptions. Live trading results can differ materially. Always validate settings and use independent risk management.
策略

指标

指标

Aura Breadth Thrust Oscillator [Pineify]Aura Breadth Thrust Oscillator
Aura Breadth Thrust Oscillator measures market participation by dividing advancing issues by total advancing plus declining issues, then smoothing the ratio with a 10-period EMA. It borrows from Zweig breadth thrust analysis, but its signals are threshold crosses, not the full classic timed thrust rule.
Key Features
Requests NYSE or NASDAQ advance/decline data when available.
Uses a rolling price-action proxy when breadth symbols are unavailable.
Shows a gradient oscillator, zones, markers, alerts, and source table.
How It Works
For NYSE, the script requests NYSE: USI:ADV and NYSE:$DEC. For NASDAQ, it requests NASDAQ: INDEX:ADVQ and NASDAQ:$DECQ. It builds a breadth ratio from 0 to 100, then applies a 10-period EMA.
Advancing issues are compared with total advancing plus declining issues.
The smoothed ratio becomes the Aura Breadth oscillator.
Crosses above 61.5 mark bullish participation. Crosses below 40 mark breadth weakness.
If external breadth is missing, proxy mode counts up candles as advancing and down candles as declining. Proxy readings are useful context, but they are not exchange-wide breadth.
How the Components Work Together
The ratio supplies participation context, the EMA filters noise, and the thresholds define zones. The table matters because external signals describe broad participation, while proxy signals only describe the current chart.
Trading Ideas and Insights
A cross above 61.5 may be useful after a weak range, especially if price is reclaiming structure.
A move below 40 may show selling pressure or exhaustion; waiting for stabilization can reduce whipsaw risk.
If price rises while breadth fails near the midline, participation may be narrowing.
This is a context tool, not a complete system. Breadth can lag during fast reversals, and proxy mode is approximate.
Unique Aspects
External breadth is preferred automatically, with proxy mode used only when feeds are invalid.
The active data source is shown directly in the pane.
How to Use
Choose NYSE or NASDAQ, then check the table's active source.
Watch crosses around 61.5 and 40, using 50 as a midpoint.
Use the built-in alerts for bullish thrust or breadth breakdown crosses.
Customization
Market Data Exchange (default: NYSE) - Selects the breadth universe.
Proxy Lookback Period (default: 20) - Higher values smooth proxy mode.
Bullish Thrust Level (default: 61.5) - Adjusts the bullish threshold.
Oversold Level (default: 40.0) - Adjusts the weakness threshold.
Conclusion
Aura Breadth Thrust Oscillator gives a compact read on participation behind index moves, breakouts, and reversals. Read each signal with the active data source. 指标

Reversal Confirmation Planner [AGPro Series]Reversal Confirmation Planner
🧠 Core Idea
Is a reversal actually confirming, or is it still only an early reaction?
📌 Overview / What it does
Reversal Confirmation Planner is a chart-first planning tool built to separate early reversal reactions from structured confirmation context.
The script detects sweep or wick-rejection reactions around recent swing references, then evaluates whether the reaction develops into a cleaner confirmation plan. It maps a confirmation pocket, invalidation edge, target-room band, compact event labels, alerts, and a clean AG Pro decision panel.
It does not predict reversals, automate entries, or scan every classical reversal pattern. The goal is to help traders organize the confirmation phase: reaction quality, confirmation close, momentum turn, volume support, room, invalidation, and next action.
🎯 Purpose & Design Philosophy
This script was built for traders who do not want to treat every wick, sweep, or counter-move as a valid reversal.
Many reversal tools mark the first reaction. This planner waits for structure. It asks whether price has moved from reaction into confirmation, whether momentum is turning, whether volume supports the shift, and whether the active plan has enough room before the next projected guide.
The design supports a decision-making workflow. It does not ask the user to chase every signal. It helps the user decide whether the reversal context is still early, building, confirming, confirmed, failed, expired, or already testing its room.
⚡ Why This Script Is Different
Most reversal tools focus on detecting a pattern, labeling a wick, or marking every possible counter-trend reaction.
This script does NOT behave like a broad reversal-pattern scanner, double-top/double-bottom detector, head-and-shoulders module, 1-2-3 map, wedge detector, Turtle Soup map, liquidity sweep tool, or generic support/resistance zone script.
Instead, it works as a confirmation planner. The core workflow is reaction → confirmation pocket → invalidation edge → target-room context → next-action state. This keeps the public concept narrow, useful, and clearly separate from other AGPro reversal tools.
⚙️ Methodology
1. Context Detection
The script watches for bullish or bearish reversal reactions using sweep behavior, wick rejection, candle close location, and prior directional context.
2. Reference Mapping
Once a reaction qualifies, the planner creates a confirmation line, confirmation pocket, invalidation edge, and target-room guide.
3. Reaction Evaluation
The model scores sweep or rejection quality, confirmation progress, momentum turn, volume support, and available room.
4. Visual Output
The chart shows the active confirmation pocket, centered target-room band, risk/target guide lines, compact labels, alert conditions, and an AG Pro panel with the current decision state.
🗺️ How to Read the Chart
Confirmation Pocket = the area between the reaction reference and the confirmation close line.
Invalidation Edge = the level beyond the reaction extreme where the active confirmation plan is considered failed by the script rules.
Target-Room Band = a projected planning zone that shows whether the reversal has enough forward room relative to the active risk distance.
Labels = compact state markers such as REACTION, CONFIRMING, CONFIRMED, FAILED, EXPIRED, ROOM TESTED, or PLAN.
Colors = teal supports bullish reversal planning, pink supports bearish reversal planning, amber marks developing context, indigo marks target-room context, and red marks invalidation or failed confirmation.
Panel = summarizes Reversal Stage, Confirmation Score, Invalidation, Room, and Action.
🚦 Signals & States
• REACTION → an early sweep or rejection is active, but confirmation is not complete.
• BUILDING → the context is improving, but the confirmation close is not fully qualified.
• CONFIRMING → price is testing or closing through the confirmation line with sufficient structure to review.
• CONFIRMED → the confirmation score and close behavior meet the script threshold.
• ROOM TESTED → the projected target-room guide has been reached after confirmation.
• FAILED → the active plan violated its invalidation edge.
• EXPIRED → the reaction did not confirm within the selected confirmation window.
🔔 Alerts Logic
The script includes alerts for bullish reaction, bearish reaction, bullish confirmation, bearish confirmation, failed confirmation, and high-quality confirmation.
Alerts trigger when the internal rule conditions are met. They are attention markers for chart review, not trade instructions, automated entries, or guaranteed reversal signals.
🧩 Confluence Logic
The strongest confirmation context appears when multiple layers align:
• A clear sweep or rejection reaction forms.
• Price progresses through the confirmation pocket.
• Momentum begins to turn in the reaction direction.
• Volume support is not weak.
• The target-room band offers enough room relative to invalidation distance.
When these layers align, the confirmation score becomes stronger. When one or more layers are weak, the state usually remains reaction, building, expired, or failed.
📊 When to Use
• After visible sweep or rejection behavior.
• During possible reversal transitions after directional extension.
• Around swing references where confirmation matters more than the first wick.
• 4H swing-review charts, where the default label spacing and confirmation pockets usually have the cleanest visual balance.
• Daily charts when the user wants fewer but more selective reversal confirmation states.
• In markets where traders want to compare reaction quality, invalidation, and room before acting.
• For discretionary review of crypto, forex, indices, equities, and commodities on liquid charts.
⚠️ When NOT to Use
• Extremely low-liquidity symbols with unreliable wicks or volume.
• Very noisy micro-timeframes where reaction candles are unstable.
• News spikes or extreme volatility events where confirmation levels can be crossed erratically.
• Charts where the user expects a complete reversal-pattern scanner.
• Situations where the user wants automated trade execution.
🎛️ Key Inputs
• Confirmation Mode → controls whether labels and alerts wait for bar close or update live.
• Swing Reference Length → defines the recent swing references used for sweep-based reactions.
• Sensitivity → adjusts how selective the reaction model is.
• Confirmation Window Bars → limits how long a reaction can wait for confirmation.
• Minimum Reaction Score → controls the quality required before tracking a candidate.
• CONFIRMED Threshold → controls the minimum 0-100 score required for confirmed state.
• Preferred Room / Risk → adjusts how much forward room is preferred relative to invalidation distance.
• Visual settings → control pockets, bands, guide lines, labels, panel position, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built around a premium chart-first workflow.
The confirmation pocket and target-room band are concept-native visuals, not generic support/resistance zones. Their labels are centered inside the boxes for cleaner chart reading.
The default visual preset is tuned for 4H-style swing review: enough labels to keep the chart informative, but enough spacing to avoid a crowded reversal scanner look.
The AG Pro panel uses a compact structure with one merged blue title row and five decision rows. It is designed to show only the current planning context without turning the chart into a dashboard-heavy script.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Check whether the chart is showing REACTION, BUILDING, CONFIRMING, CONFIRMED, FAILED, or EXPIRED.
3. Review the confirmation pocket and invalidation edge.
4. Compare target-room context against the room/risk readout.
5. Use alerts as review prompts, not as trade instructions.
🔍 Interpretation Guidelines
Treat the first reaction as incomplete information.
A higher score means the reaction has developed more confirmation structure according to the script rules. It does not mean the reversal must continue.
A failed or expired state is also useful information. It tells the user that the reaction did not confirm cleanly under the selected rules.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not a broad reversal-pattern scanner.
• Not a full liquidity sweep system.
• Not a generic support/resistance zone tool.
⚠️ Limitations & Transparency
All outputs are rule-based and depend on the selected inputs, timeframe, and symbol behavior.
Swing references confirm with natural delay. Wick structure can be noisy on low-liquidity symbols. Volume quality varies across markets. Fast volatility can cause reactions to confirm and fail quickly.
The confirmation score is an internal comparison model. It is useful for reading this script's framework, but it is not an objective probability model.
🧠 Market Context Notes
Reversal confirmation is strongest when price reacts from a meaningful extension, then follows through with cleaner close behavior and improving participation.
The script is intentionally focused on the confirmation phase. It does not attempt to map every higher-timeframe structure, order block, fair value gap, harmonic pattern, or reversal formation.
🧾 Use Case Examples
When price sweeps below a recent swing low, closes back above it, then starts progressing through the confirmation pocket, the planner may shift from REACTION to BUILDING or CONFIRMING.
When price confirms but the room/risk readout is weak, the user can see that the reversal may be structurally less attractive inside this framework.
When price violates the invalidation edge before confirmation, the planner marks the context as FAILED instead of leaving the reaction visually ambiguous.
🧱 System Philosophy
The AGPro approach is to build decision engines, not decorative signal boards.
This script focuses on one clear question: did the reversal reaction earn confirmation, or is it still only a reaction?
🔐 Non-Promise Statement
No script can confirm future price movement with certainty.
This tool provides structured context, not guarantees.
📉 Risk Disclosure
Trading involves risk.
This script is for educational, analytical, and chart-review purposes only. It does not provide financial advice, investment advice, or guaranteed trading outcomes.
Users remain responsible for their own decisions, risk management, position sizing, and broader market analysis.
📚 Educational Note
Use the planner to study how reactions mature, fail, expire, or confirm under consistent rules. The value is in disciplined interpretation, not in treating any single label as a complete trading system.
指标

Confluence HunterConfluence Hunter is a multi-factor confluence engine that fuses six independent dimensions of market behavior into one signal. Instead of firing on a single condition (a moving average cross, an RSI level), it only triggers when at least 4 of 6 factors agree on the same bar — dramatically cutting false signals.
THE SIX FACTORS
1. EMA STACK (Trend) — 9 / 21 / 50 / 200 EMAs. Stacked up = uptrend; stacked down = downtrend; mixed = chop, stay out.
2. SESSION VWAP (Fair Value) — Volume-weighted average price anchored to the daily session, with a configurable ±σ band. Price above VWAP = bulls in control.
3. LIQUIDITY SWEEPS (Structure) — Detects stop hunts: bars that pierce a recent swing high/low and snap back with a strong rejection wick (≥40% of range by default). These are the highest-edge structural events on the chart and act as the trigger.
4. ORDER FLOW DELTA (Intent) — Bar-by-bar buy/sell pressure derived from close position within range × volume, smoothed with an EMA. Strong-delta bars are highlighted with circle markers below/above.
5. SESSION VOLUME PROFILE (Acceptance) — Plots POC, VAH, and VAL for the active session using a configurable bin count (default 40 rows) and Value Area % (default 70%). Trading above POC with the trend = strong continuation; below POC against the trend = caution.
6. RSI(14) (Momentum) — Tiebreaker confirming momentum supports the bias.
CONFLUENCE SCORING
Each factor returns +1 (bullish), 0 (neutral), or −1 (bearish). The dashboard in the top-right shows the live status of each. A green BUY label fires only when bullish count ≥ 4 AND bearish count ≤ 1 (defaults). The same logic mirrors for SELL labels.
HOW TO USE FOR STOCK SELECTION
Step 1 — Filter by regime: throw it on the daily chart of every name in your watchlist. Skip anything with a MIXED EMA stack or trading on the wrong side of the 200 EMA.
Step 2 — Rank by Net Score: cycle the survivors and rank by the dashboard's Net Score (bullCount − bearCount, max ±6). +5 or +6 = A-tier setup.
Step 3 — Wait for a structural trigger: don't enter at +6 alone (you're late). Wait for either a fresh BUY/SELL label or a sweep arrow near a key level (VWAP, POC, or VAL).
Step 4 — Confirm on lower timeframe: drop to 1H/15m and require the same bullish/bearish state. Multi-timeframe alignment cuts losers significantly.
ENTRY / STOP / TARGET FRAMEWORK
- Entry: close of the BUY/SELL bar, or pullback to VWAP / 9-21 EMA on the next bar.
- Stop: just beyond the wick of the sweep bar.
- Target 1: opposite VWAP band (take 50% off).
- Target 2: prior session POC or next swing high; trail rest with 21 EMA.
INPUTS
All factors are tunable: swing lookback, sweep strictness (wick ratio), VWAP band width, volume profile rows and value area %, EMA lengths, and minimum confluence threshold (default 4 of 6 — raise to 5 for fewer/cleaner signals, lower to 3 for more visual analysis).
ALERTS
Built-in alerts for: Confluence BUY, Confluence SELL, Bullish Liquidity Sweep, Bearish Liquidity Sweep.
LIMITATIONS
- The order-flow delta is a proxy from close-position-in-range × volume. Pine Script does not have access to real exchange tick/footprint data. It is directionally useful but not equivalent to true CVD.
- Volume Profile is session-anchored (resets daily), not visible-range. For multi-day profiles, layer TradingView's built-in Volume Profile Visible Range on top.
- For Forex (where volume is tick-based, not real volume) the OF and VP factors are weaker — lean more on EMAs + VWAP + sweeps.
Works on any market: equities, futures, commodities, crypto, forex. Best on 1H, 4H, and Daily timeframes.
This script is free and open-source. Feedback and forks welcome. 指标

Flow-RegimeFlow-Regime
A multi-source flow oscillator. It normalizes three independent measures of
market flow to a unified ±100 scale and combines them into a conviction-
weighted composite line, so you can see at a glance whether OBV, A/D, and
price flow are agreeing or diverging.
▌ What's plotted
Three normalized lines, each computed through the same pipeline
(CCI → percentrank → linear map to ±100):
• OBV-Flow — On-Balance Volume (signed cumulative volume)
• AD-Flow — Chaikin Accumulation/Distribution
• Price-Regime — price flow (ohlc4)
Plus a Fitted composite — the average of the three, amplified by |conviction|,
where conviction = average ÷ mean(|x|, |y|, |z|). When all three lines agree
the composite is amplified; when they conflict it is suppressed toward zero.
The Fitted line uses 5-tier coloring driven by how many of the three exceed
the neutral threshold (default ±20): solid green/red = all three agree, lighter
shades = two of three, gray = no consensus.
▌ Two lookback modes
Linear (default) — TF-specific lookback with sensible per-timeframe defaults
(1m=60, 5m=24, 15m=16, 1h=24, 4h=18, 1d=7, 1w=12, 1M=12), all editable.
Anchored — pick an anchor timestamp; the percentrank window grows from 0 at
that bar to (current_bar − anchor_bar) at the right edge of the chart. Use
this to lock the statistical baseline to a specific event — a regime start,
a major breakout, a news release. The anchor bar is marked with a yellow
diamond at fitted = 0.
▌ How to read it
The OB zone (≥ +70) and OS zone (≤ −70) are shaded — these are statistically
stretched conditions. Bars where the Fitted line reaches ±99 get a soft red/
green background tint as an "at the extreme" warning. Two corresponding alert
conditions are exposed for use with TV alerts.
This indicator does NOT emit trade signals. Per-line reversal dots and
confluence triangles are intentionally absent: those patterns can fit
historical noise convincingly without generalizing forward. Treat extremes
as flags to investigate, not entries to take.
Useful interpretive frames:
• All three lines extreme in the same direction = strongest evidence of
flow consensus.
• One or two lines diverging from the others at extremes = a divergence
worth examining on the chart.
• Fitted approaching ±99 = statistical extreme, regardless of direction.
▌ Notes
In Anchored mode, the first few bars after the anchor have very few historical
points to rank against, so percentrank values can swing to ±100 from sparse
data — read these bars with caution. CCI itself always uses the full real
price history regardless of mode, so its 20-bar internal window is never
distorted by the anchor.
Enable the Debug label in settings to verify which mode and lookback are
currently active on the chart. 指标

Impulse Follow-Through Quality [AGPro Series]Impulse Follow-Through Quality
🧠 Core Idea
Did the impulse receive enough follow-through to remain valid?
📌 Overview / What it does
Impulse Follow-Through Quality is a chart-first momentum expansion planner built to evaluate what happens after a strong impulse candle appears.
Instead of treating every strong candle as a standalone signal, the script starts a follow-through review window and measures whether price extends, pauses constructively, pulls back too deeply, reaches a target-room guide, or crosses a failure rail. These elements are converted into a 0-100 Impulse Quality score and a clear next-action state.
The script produces an impulse highlight, follow-through box, failure rail, measured target guide, compact labels, alerts, and a clean AGPro planning panel. It does not predict continuation, automate trades, or guarantee that momentum will continue.
🎯 Purpose & Design Philosophy
This script was built for traders who want to separate a meaningful impulse from a candle that only looks strong for one bar.
Many momentum tools focus on the impulse itself. The practical question often comes after that candle: does the move attract follow-through, or does it begin to fail? This planner fills that gap by turning the post-impulse phase into a readable decision process.
The design supports a patient review mindset: identify the impulse, watch the follow-through window, evaluate pullback depth, check target room, and review the failure rail before reacting.
⚡ Why This Script Is Different
Most tools focus on strong candles, volume spikes, momentum bursts, or basic continuation labels.
This script does NOT act as a Volume Climax Detector, does NOT rebuild an Institutional Candle Detector, and does NOT reduce the chart to a simple buy/sell momentum signal.
Instead, it evaluates what happens after the impulse. The key output is not the candle itself. The key output is the follow-through quality state: IMPULSE, WAIT FT, FT WATCH, VALID FT, PULLBACK RISK, WEAK FT, FAILED, or TARGET REVIEW.
⚙️ Methodology
1. Context Detection
The script detects qualified bullish or bearish impulse candles using ATR-normalized range, body efficiency, close location, trend context, and participation.
2. Reference Mapping
Once an impulse qualifies, the script maps the impulse origin, follow-through box, failure rail, and target-room guide.
3. Reaction Evaluation
The model evaluates follow-through progress, closes beyond the impulse close, retracement depth, participation support, target room, and whether price crosses the failure rail.
4. Visual Output
The result is displayed through an impulse highlight, centered follow-through box label, failure rail, target guide, compact labels, deterministic alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Impulse Highlight = the latest qualified impulse leg that starts the review window.
Follow-Through Box = the active planning area between the impulse close and the measured target-room guide. Its label is centered inside the box.
Failure Rail = the practical invalidation reference behind the impulse. It is an analytical line, not a stop order.
Target Guide = a measured target-room reference based on the impulse range.
Labels = compact state markers for impulse start, constructive follow-through, weak follow-through, pullback risk, failure rail review, and target review.
Colors = teal supports constructive long-side follow-through, pink supports short-side or failure context, amber marks review risk, and indigo marks watch states.
Panel = summarizes Impulse Quality, Follow-Through, Pullback Risk, Target Room, and Action.
🚦 Signals & States
• IMPULSE → a qualified impulse candle has started a review window.
• WAIT FT → the impulse exists, but follow-through is not confirmed yet.
• FT WATCH → follow-through conditions are improving but not strong enough for the highest state.
• VALID FT → follow-through quality is constructive according to the rule set.
• PULLBACK RISK → retracement depth is elevated inside the impulse range.
• WEAK FT → the follow-through window is aging without enough progress.
• FAILED → price crossed the failure rail behind the impulse.
• TARGET REVIEW → price reached the measured target-room guide and context should be reviewed.
🔔 Alerts Logic
Alerts can trigger when a new impulse starts, follow-through becomes constructive, follow-through enters watch state, the move weakens, pullback risk rises, price crosses the failure rail, or price reaches the target-room guide.
Each alert is an attention marker. Alerts are not trade instructions, entry commands, exit commands, or automated strategy rules.
🧩 Confluence Logic
The strongest context appears when a clean impulse candle is followed by measurable progress, multiple closes beyond the impulse close, controlled retracement depth, supportive participation, and readable target room.
When these components weaken, the planner can shift toward WAIT FT, FT WATCH, PULLBACK RISK, WEAK FT, or FAILED.
📊 When to Use
• After strong momentum candles where continuation quality matters.
• During trend continuation attempts that need follow-through review.
• After breakout or expansion bars where a one-bar move may be misleading.
• On liquid symbols where ATR, candle structure, and volume behavior are readable.
• When you want a post-impulse planning map instead of another raw momentum signal.
⚠️ When NOT to Use
• Very low-liquidity symbols with unstable candles or unreliable volume.
• Extremely noisy micro-timeframes where impulse candles appear too frequently.
• News-driven spikes where one-bar expansion can distort the model.
• Markets with large gaps that make ATR and failure-rail references less useful.
• Situations where the user expects guaranteed continuation or automated trade signals.
🎛️ Key Inputs
• Follow-Through Side → controls Auto, Long Follow-Through, or Short Follow-Through mode.
• Minimum Impulse ATR → changes how large a candle must be before review begins.
• Minimum Body Efficiency → controls how clean the impulse body must be.
• Minimum Edge Close → controls how near the candle must close to its directional edge.
• Follow-Through Window → controls how many bars are used to judge early continuation.
• Required Progress ATR → defines preferred movement after the impulse close.
• Maximum Pullback Ratio → controls when retracement depth becomes elevated risk.
• Failure Rail Buffer ATR → adjusts the analytical failure rail behind the impulse.
• Visual settings → control the impulse highlight, follow-through box, failure rail, target guide, labels, panel visibility, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The impulse highlight gives the origin. The follow-through box gives the active planning area. The failure rail and target guide define the practical review frame.
The AGPro panel provides a compact decision summary with a merged blue title row, adjustable panel location, adjustable theme, and adjustable font size.
🧪 Practical Usage Workflow
1. Read the panel Impulse Quality score and Action.
2. Check the impulse highlight and the direction of the follow-through box.
3. Review whether price is extending beyond the impulse close.
4. Compare pullback depth with the failure rail.
5. Use the target guide as a context-review reference, not as a guarantee.
6. Treat alerts as attention markers inside broader analysis.
🔍 Interpretation Guidelines
Think in terms of follow-through quality, not prediction.
A higher score means the impulse has more constructive continuation characteristics according to the script's rule set. A weaker score means the move may be aging, retracing too deeply, lacking progress, or crossing its failure reference.
VALID FT does not mean price must continue. FAILED does not mean the market cannot recover later. The states organize the review process.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not an auto-trading system.
• Not a guaranteed signal tool.
• Not a buy/sell signal service.
• Not a Volume Climax Detector.
• Not an Institutional Candle Detector.
• Not a generic momentum oscillator.
⚠️ Limitations & Transparency
The script is rule-based and depends on recent price action, ATR, candle structure, selected inputs, and volume behavior.
Different timeframes can produce different impulse and follow-through readings. Volatility spikes can temporarily distort the score. Symbols with unreliable volume may produce weaker participation readings.
Outputs should always be interpreted with broader market structure, liquidity, and trader-defined risk controls.
🧠 Market Context Notes
Impulse candles are only useful when the market confirms or rejects them through follow-through.
A clean impulse that receives controlled extension may deserve more attention than a larger candle that immediately retraces. A smaller impulse can also become meaningful when the follow-through window stays organized.
🧾 Use Case Examples
When price prints a strong bullish impulse, closes near the high, then follows through with multiple closes above the impulse close while pullback depth remains controlled, the planner may classify the move as VALID FT.
When an impulse appears but price fails to extend, retraces deeply, or crosses the failure rail, the planner may shift toward WEAK FT, PULLBACK RISK, or FAILED.
🧱 System Philosophy
AGPro planning tools are designed to help traders evaluate context before reacting.
This script follows that philosophy by turning impulse follow-through into a structured planning question: did the move receive enough confirmation, progress, and risk clarity to remain worth reviewing?
🔐 Non-Promise Statement
No indicator can guarantee continuation, reversal, breakout success, or outcome.
This tool provides structured visual context and rule-based attention markers. It does not provide certainty.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and no script can remove uncertainty.
Users are responsible for their own analysis, risk management, position sizing, and trading decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how strong candles behave after they appear, how follow-through quality changes across timeframes, and how pullback depth affects the readability of momentum continuation.
指标

[CT] Relative Trend Index Advanced ColoringThe Relative Trend Index Advanced Coloring is an enhanced visual version of the original Relative Trend Index, RTI, created by Zeiierman. Full credit and respect go to Zeiierman for the original RTI concept, calculation logic, and foundation of this indicator. This ChaosTrader63 version preserves the original RTI calculation while adding visual upgrades designed to make bullish pressure, bearish pressure, and momentum shifts easier to read in real time.
The Relative Trend Index helps traders evaluate where price is positioned within a dynamic trend range. Instead of only reacting to raw price movement, RTI gives traders a smoother view of whether price is showing strength, weakness, or a possible directional shift. This can help traders recognize developing trend pressure before the move becomes obvious on the price chart.
Updates Added by ChaosTrader63
Automatic Bullish and Bearish RTI Line Coloring
The RTI line now changes color based on the selected condition. When the RTI condition is bullish, the line turns green. When the RTI condition is bearish, the line turns red. This makes the indicator easier to read quickly, especially during fast-moving markets.
Selectable RTI Color Mode
This version includes two different coloring modes, RTI vs MA and RTI vs 50. The RTI vs MA mode colors the RTI based on whether it is above or below its signal line, which can help identify earlier momentum shifts. The RTI vs 50 mode colors the RTI based on whether it is above or below the 50 midline, which can help provide broader trend confirmation.
Optional Price Bar Coloring
A price bar coloring option has been added so the chart candles can match the RTI condition. When enabled, bullish RTI conditions color the price bars green, and bearish RTI conditions color the price bars red. This helps connect the lower indicator directly to the price chart so traders can see when price action and RTI pressure are aligned.
User-Selectable Bullish and Bearish Colors
Traders can now choose their own bullish and bearish colors. This allows the indicator to better match each trader’s chart theme, visual preference, or existing trading system.
User-Selectable Moving Average Color
The RTI signal line color can also be customized. This makes it easier to separate the RTI line from the signal line visually and helps improve chart readability.
Cleaner Input Organization
The settings have been organized into cleaner groups, including RTI settings, signal line settings, overbought and oversold settings, color settings, and price bar settings. This makes the indicator easier to adjust and understand.
Original RTI Calculation Preserved
The core Zeiierman RTI calculation has not been changed. This update focuses on visualization and usability, not replacing the original logic.
Original Levels and Alert Conditions Preserved
The 50 midline, overbought level, oversold level, background fill, gradient fills, and alert conditions remain included so traders still have access to the original RTI structure and key reference zones.
This indicator can be used as a trend pressure tool, a momentum confirmation tool, or a visual filter when combined with price action, moving averages, market structure, support and resistance, volume, or ATR-based targets. The goal of this version is to make RTI easier to interpret at a glance while respecting and preserving the original work created by Zeiierman.
The Relative Trend Index is a trend pressure and momentum tool designed to show where price is trading within a dynamic trend range. Instead of simply looking at whether price is moving up or down, the RTI evaluates price in relation to upper and lower trend boundaries. This helps traders see whether the market is showing bullish strength, bearish weakness, or a possible shift in directional pressure.
When the RTI is rising, it can suggest that bullish pressure is building. When the RTI is falling, it can suggest that bearish pressure is increasing. When the RTI moves above its signal line, momentum may be shifting in favor of the bulls. When the RTI moves below its signal line, momentum may be shifting in favor of the bears. The 50 midline can also be used as a broader trend reference. Readings above 50 generally show stronger bullish pressure, while readings below 50 generally show stronger bearish pressure.
The overbought and oversold zones provide additional context. When the RTI moves into the upper zone, it may show strong bullish pressure or an extended move. When it moves into the lower zone, it may show strong bearish pressure or an extended downside move. These areas should not be treated as automatic buy or sell signals, because strong trends can remain elevated or depressed for long periods. The real value of the RTI is in helping traders read pressure, momentum, and possible trend shifts before the move becomes obvious on the price chart.
This tool can be used as a trend pressure indicator, a momentum confirmation tool, or a visual trade filter. Traders may use it with moving averages, price action, market structure, support and resistance, volume, or ATR targets. For example, if the RTI turns bearish, moves below the signal line, and price also breaks below a key moving average, that may confirm stronger downside pressure. If the RTI turns bullish, moves above the signal line, and price reclaims trend structure, that may confirm improving upside pressure. 指标

Ralis Bull/Bear OscillatorRalis Bull/Bear Oscillator measures buying and selling pressure using True Range decomposition. Unlike single-bar OHLC analysis, True Range captures gap pressure from the prior close, giving a more complete picture of who controlled the bar. Buying pressure is the distance from the close to the true low (how far buyers pushed up), selling pressure is the distance from the true high to the close (how far sellers pushed down). Both are normalized by the true range to produce values on a 0–100 scale, then SMA-smoothed into two continuous lines: the green bull line and the red bear line.
The pressure engine offers three calculation modes. Intrabar mode normalizes each bar independently — pure micro reads of who won that specific bar. Structural mode sums buying pressure, selling pressure, and true range over a lookback window before normalizing — this reveals the cumulative balance of power over the period. Average mode blends both, giving you micro responsiveness anchored by macro context. The default Period of 10 and Smoothing Length of 10 work well across most assets and timeframes.
The 4-SMMA ribbon regime (8/16/24/32 on HL2) runs in the background, classifying the macro trend as Bullish, Bearish, or Neutral. Two independent tests must pass for a confirmed regime. Tangle detection checks that the inner ribbon lines (16/24) agree with the outer line relationship — if any inner line disagrees, the ribbon is tangled and the regime is Neutral. The neutral zone filter requires the percentage gradient between the fast outer (8) and slow outer (32) to exceed ±0.34% before confirming a trend. If the spread is too narrow, the regime stays Neutral regardless of alignment. The regime is displayed in the info table and can optionally tint the pressure lines. The SMMA calculations use inline var-state seeding for consistent cross-asset behavior.
Pressure divergence detects exhaustion by comparing pivots on the pressure ratio (bull / (bull + bear) as a percentage) against price. Bearish divergence fires when price makes a higher high but the pressure ratio makes a lower high — buying pressure is fading despite higher prices. Bullish divergence fires when price makes a lower low but the pressure ratio makes a higher low — selling pressure is weakening despite lower prices. Pivots use 5 bars left and 3 bars right by default, with a maximum 24-bar lookback between two pivots to qualify. Divergence markers are orange triangles (bearish, top of pane) and cyan triangles (bullish, bottom of pane), plotted at the pivot bar where the divergence was confirmed.
The spread histogram plots the difference between the bull and bear lines as columns behind the pressure lines. Green columns above zero indicate bull dominance, red columns below zero indicate bear dominance. Acceleration dimming modulates brightness based on whether the spread is growing or shrinking in magnitude. Bright bars mean the dominant side is gaining steam — the absolute spread is larger than the prior bar. Dim bars mean the dominant side is fading — the spread is contracting even though it may still be positive or negative. This gives an instant visual read on momentum acceleration without adding another indicator.
Regime-tinted lines optionally fade the pressure line that is fighting the current ribbon regime. In a bullish regime, the bear line dims to 60% transparency while the bull line stays full brightness. In a bearish regime, the bull line dims. In a neutral regime, both lines fade to 40% transparency. This helps the eye focus on the pressure line that matters given the macro context.
Percentile extreme bands draw the 90th and 10th percentile of both the bull and bear lines over a configurable lookback (default 200 bars). When either pressure line exceeds its 90th percentile, a subtle background highlight appears behind the oscillator pane — green for extreme buying pressure, red for extreme selling pressure. These zones flag historically unusual pressure readings that often precede reversals or signal trend acceleration.
The info table displays Pressure (BULLS or BEARS with color-coded background), the current bull and bear line values, the spread between them, the pressure ratio as a percentage (green above 55%, red below 45%, white in between), and the ribbon regime (BULLISH in gold, BEARISH in blue, NEUTRAL in gray). The table supports 9-position placement.
Four alert conditions are available. Bull Cross fires when buying pressure crosses above selling pressure. Bear Cross fires when selling pressure crosses above. Bull Divergence fires on bullish pressure divergence (price lower low, ratio higher low). Bear Divergence fires on bearish pressure divergence (price higher high, ratio lower high). All alerts include ticker and timeframe context.
Settings are organized into five groups. Pressure Engine controls the calculation period, mode (Average/Intrabar/Structural), and smoothing length. Ribbon Regime controls the 4-SMMA source, lengths, and neutral zone percentage. Divergence controls visibility, pivot left/right bars, and maximum lookback between pivots. Visual controls line colors, spread histogram toggle, regime-tinted lines toggle, and percentile extreme bands with their lookback length. Table controls visibility and 9-position placement.
指标
