US30 Quarter Levels (125-point grid) by FxMogul🟦 US30 Quarter Levels — Trade the Index Like the Banks
Discover the Dow’s hidden rhythm.
This indicator reveals the institutional quarter levels that govern US30 — spaced every 125 points, e.g. 45125, 45250, 45375, 45500, 45625, 45750, 45875, 46000, and so on.
These are the liquidity magnets and reaction zones where smart money executes — now visualized directly on your chart.
💼 Why You Need It
See institutional precision: The Dow respects 125-point cycles — this tool exposes them.
Catch reversals before retail sees them: Every impulse and retracement begins at one of these zones.
Build confluence instantly: Perfectly aligns with your FVGs, OBs, and session highs/lows.
Trade like a professional: Turn chaos into structure, and randomness into rhythm.
⚙️ Key Features
Automatically plots US30 quarter levels (…125 / …250 / …375 / …500 / …625 / …750 / …875 / …000).
Color-coded hierarchy:
🟨 xx000 / xx500 → major institutional levels
⚪ xx250 / xx750 → medium-impact levels
⚫ xx125 / xx375 / xx625 / xx875 → intraday liquidity pockets
Customizable window size, label spacing, and line extensions.
Works across all timeframes — from 1-minute scalps to 4-hour macro swings.
Optimized for clean visualization with no clutter.
🎯 How to Use It
Identify liquidity sweeps: Smart money hunts stops at these quarter zones.
Align structure: Combine with session opens, order blocks, or FVGs.
Set precision entries & exits: Trade reaction-to-reaction with tight risk.
Plan daily bias: Watch how New York respects these 125-point increments.
🧭 Designed For
Scalpers, day traders, and swing traders who understand that US30 doesn’t move randomly — it moves rhythmically.
Perfect for traders using ICT, SMC, or liquidity-based frameworks.
⚡ Creator’s Note
“Every 125 points, the Dow breathes. Every 1000, it shifts direction.
Once you see the rhythm, you’ll never unsee it.”
— FxMogul
Поиск скриптов по запросу "scalp"
Multi-Timeframe Trend Table - EMA Based Trend Analysis📊 Stay Aligned with Higher Timeframe Trends While Scalping
This powerful indicator displays real-time trend direction for 1-hour and 4-hour timeframes in a clean, easy-to-read table format. Perfect for traders who want to align their short-term trades with higher timeframe momentum.
🎯 Key Features
Multi-Timeframe Analysis: Monitor 1H and 4H trends while trading on any timeframe (3min, 5min, 15min, etc.)
EMA-Based Logic: Uses proven EMA 50 and EMA 100 crossover methodology
Visual Clarity: Color-coded table with green (uptrend) and red (downtrend) indicators
Customizable Display: Toggle EMA values and adjust table position
Real-Time Updates: Automatically refreshes with each bar close
Lightweight: Minimal resource usage with efficient data requests
📈 How It Works
The indicator determines trend direction using a simple but effective rule:
UPTREND: Price is above both EMA 50 AND EMA 100
DOWNTREND: Price is below either EMA 50 OR EMA 100
🔧 Settings
Show EMA Values: Display actual EMA 50/100 values in the table
Table Position: Choose from 4 corner positions (Top Right, Top Left, Bottom Right, Bottom Left)
Plot Current EMAs: Optional display of EMA lines on your current chart
💡 Trading Applications
✅ Trend Confirmation: Ensure your trades align with higher timeframe direction
✅ Risk Management: Avoid counter-trend trades in strong directional markets
✅ Entry Timing: Use lower timeframe for entries while respecting higher timeframe bias
✅ Scalping Enhancement: Perfect for 1-5 minute scalping with higher timeframe context
🎨 Visual Design
Clean, professional table design
Intuitive color coding (Green = Up, Red = Down)
Compact size that doesn't obstruct your chart
Clear typography for quick reading
📋 Perfect For
Day traders and scalpers
Swing traders seeking trend confirmation
Multi-timeframe analysis enthusiasts
Traders who want simple, effective trend identification
🚀 Easy Setup
Add to any chart (works on all timeframes)
Customize table position and settings
Start trading with higher timeframe awareness
Watch the table update automatically
No complex configurations needed - just add and trade!
This indicator is designed for educational and informational purposes. Always combine with proper risk management and your own analysis.
ORB Pro w/ Filters + Debug + ORB Fib + Golden Pocket + HTF Trend🚀 ORB Pro – Advanced Opening Range Breakout System
A professional ORB indicator with built-in filters, retest confirmation, EMA/HTF trend alignment, and automatic risk/reward targets. Designed to eliminate false breakouts and give traders clean LONG/SHORT signals with Fibonacci and debug overlays for maximum precision.
This script is an advanced Opening Range Breakout (ORB) system designed for futures, indices, and options traders who want more precision, cleaner entries, and higher win probability. It combines classic ORB logic with modern filters, Fibonacci confluence, and higher-timeframe trend confirmation.
The indicator automatically:
Plots the ORB box based on user-defined NY session times (default: 9:30–9:45 EST).
Generates long/short signals when price breaks the ORB range, with optional conditions like:
Candle close outside the range
Retest confirmation (with tolerance %)
Volume spike validation
EMA trend alignment
Higher-timeframe EMA slope alignment
Cooldown filters to prevent over-trading
Integrates Fibonacci retracements & extensions from the ORB box for confluence levels.
Includes Golden Pocket (0.5–0.618) retests for precision entries
Risk/Reward visualization — automatically plots stop loss and take profit levels based on user-defined R:R or fixed % levels.
Debug mode overlay to show why a signal is blocked (e.g., low volume, ORB too small, too late, wrong trend).
This tool is built for scalpers, day traders, and 0DTE options traders who need both flexibility and discipline.
⚙️ Inputs & Features
ORB Settings
ORB Start & End Time (NY) → Default: 9:30–9:45
Require Candle Close → Ensures breakouts are confirmed, not wick traps.
Retest Confirmation → Optional retest before entry (tolerance % adjustable).
Filters
Volume Spike → Validates breakouts only with above-average volume.
EMA Trend Filter → Confirms trade direction with EMA slope.
Higher Timeframe Trend → Optional (e.g., 15m ORB with 1h EMA alignment).
Cooldown Bars → Prevents consecutive false signals.
ORB Size Filter → Blocks signals when ORB is too small/too large.
Fibonacci Levels
Retracements: 0.236, 0.382, 0.5, 0.618, 0.786
Extensions: 1.272, 1.618
Golden Pocket Retest filter for high-probability trades
Risk Management
R:R Stops/Targets → Automatically plots SL/TP levels.
Custom Stop % / Take Profit % if not using R:R
Debug Overlay → Explains why signals are blocked
🧑💻 How to Use
Load the indicator on your chart (works best on 1m, 5m, and 15m).
Adjust ORB window (default 9:30–9:45 EST).
Select filters (candle close, retest, volume, EMA, HTF trend).
Watch for Long/Short labels outside ORB box with filters aligned.
Manage trades using plotted SL/TP levels or your own Webull/R:R calculator.
✅ Best Use Cases
Futures (NQ1!, ES1!)
ETFs (QQQ, SPY, IWM)
0DTE Options Trading
Scalping around market open
⚠️ Disclaimer
This tool is for educational purposes only. It does not constitute financial advice. Trading carries risk, and past performance does not guarantee future results. Always test on paper trading before using real capital.
-----------------------------------------
ORB Pro w/ Filters + Debug + ORB Fib + Golden Pocket + HTF Trend
A professional Opening Range Breakout (ORB) toolkit designed for intraday traders who want precision entries, risk-managed exits, and layered confirmation filters. Built for futures, stocks, and ETFs (e.g. NQ, ES, QQQ).
🔎 Core Logic
This script plots and trades breakouts from the Opening Range (9:30 – 9:45 NY time), then applies multiple confirmation filters before signaling a LONG or SHORT setup:
ORB Box: Defines the first 15 minutes of market activity (customizable).
Breakout Candle Confirmation: Requires a candle close outside the ORB box.
Retest Confirmation: Price must retest the ORB edge within tolerance before triggering.
Trend Filter: EMA confirmation to align trades with intraday trend.
Higher-Timeframe Trend Filter: Optional (default: 45-minute EMA) to avoid countertrend trades.
Fibonacci Levels: Auto-plot retracements (0.236 → 0.786) for confluence and trade management.
Golden Pocket Retest (Optional): Adds an extra precision filter at 0.5–0.618 retracement.
⚙️ Default Settings (Optimized for Beginners)
These are the pre-configured inputs so traders can load and trade immediately:
ORB Session: 9:30 – 9:45 NY
✅ Require Candle Close Outside ORB
✅ Require Retest Confirmation (tolerance 0.333%)
❌ Require Volume Spike (off by default, optional toggle)
✅ Require EMA Trend (50 EMA intraday)
✅ Require Higher-TF Trend (45m, EMA 21)
❌ Higher-TF EMA slope required (off)
✅ Cooldown Between Signals (10 bars)
ORB % Range: Min 0.3%, Max 0.5%
Max Minutes After ORB: 180
✅ ORB-based Risk/Reward Stops & Targets (default: 2R)
Stop Loss: 0.5% (if not R:R)
Take Profit: 1% (if not R:R)
✅ Debug Overlay (shows why signals are blocked)
✅ Fibonacci Retracements Plotted
❌ Extensions (off by default, toggle if needed)
✅ Golden Pocket Retest available, tolerance 0.11 (optional)
📈 Signals
Green "LONG" Label: Valid breakout above ORB with trend confirmation.
Red "SHORT" Label: Valid breakdown below ORB with trend confirmation.
Blocked (debug text): Signal suppressed by filters (low volume, too late, no retest, etc.).
🎯 Trade Management
Default R:R is 2:1 (stop at ORB edge, TP projected).
For manual trading (e.g., Webull, IBKR), you can use the plotted TP/SL boxes directly.
Fibonacci + Golden Pocket give additional profit-taking levels and retest filters.
✅ Best Practices
Use 15m chart for main ORB entries.
Confirm direction with HTF trend (45m EMA by default).
Avoid signals blocked by “Low Volume” or “Too Late” (debug helps identify).
Adjust ORB % range for asset volatility (tight for ETFs, wider for futures).
🚀 Why ORB Pro?
This is more than a standard ORB indicator. It’s a professional breakout system with filters designed to avoid false breakouts, automatically handle risk/reward, and guide traders with clear visual signals. Perfect for both systematic day traders and discretionary scalpers who want structure and confidence.
👉 Recommended starting point:
Load defaults → trade the 15m ORB with EMA + HTF filters on → let the script handle retests and stop/target placement.
Weekend Hunter Ultimate v6.2 Weekend Hunter Ultimate v6.2 - Automated Crypto Weekend Trading System
OVERVIEW:
Specialized trading strategy designed for cryptocurrency weekend markets (Saturday-Sunday) when institutional traders are typically offline and market dynamics differ significantly from weekdays. Optimized for 15-minute timeframe execution with multi-timeframe confluence analysis.
KEY FEATURES:
- Weekend-Only Trading: Automatically activates during configurable weekend hours
- Dynamic Leverage: 5-20x leverage adjusted based on market safety and signal confidence
- Multi-Timeframe Analysis: Combines 4H trend, 1H momentum, and 15M execution
- 10 Pre-configured Crypto Pairs: BTC, ETH, LINK, XRP, DOGE, SOL, AVAX, PEPE, TON, POL
- Position & Risk Management: Max 4 concurrent positions, -30% account protection
- Smart Trailing Stops: Protects profits when approaching targets
RISK MANAGEMENT:
- Maximum daily loss: 5% (configurable)
- Maximum weekend loss: 15% (configurable)
- Per-position risk: Capped at 120-156 USDT
- Emergency stops for flash crashes (8% moves)
- Consecutive loss protection (4 losses = pause)
TECHNICAL INDICATORS:
- CVD (Cumulative Volume Delta) divergence detection
- ATR-based dynamic stop loss and take profit
- RSI, MACD, Bollinger Bands confluence
- Volume surge confirmation (1.5x average)
- Weekend liquidity adjustments
INTEGRATION:
- Designed for Bybit Futures (0.075% taker fee)
- WunderTrading webhook compatibility via JSON alerts
- Minimum position size: 120 USDT (Bybit requirement)
- Initial capital: $500 recommended
TARGET METRICS:
- Win rate target: 65%
- Average win: 5.5%
- Average loss: 1.8%
- Risk-reward ratio: ~3:1
IMPORTANT DISCLAIMERS:
- Past performance does not guarantee future results
- Leveraged trading carries substantial risk of loss
- Weekend crypto markets have 13% of normal liquidity
- Not suitable for traders who cannot afford to lose their entire investment
- Requires continuous monitoring and adjustment
USAGE:
1. Apply to 15-minute charts only
2. Configure weekend hours for your timezone
3. Set up webhook alerts for automation
4. Monitor performance table in top-right corner
5. Adjust parameters based on your risk tolerance
This is an experimental strategy for educational purposes. Always test with small amounts first and never invest more than you can afford to lose completely.
Technical Summary VWAP | RSI | VolatilityTechnical Summary VWAP | RSI | Volatility
 
The Quantum Trading Matrix is a multi-dimensional market-analysis dashboard designed as an educational and idea-generation tool to help traders read price structure, participation, momentum and volatility in one compact view. It is not an automated execution system; rather, it aggregates lightweight “quantum” signals — VWAP position, momentum oscillator behaviour, multi-EMA trend scoring, volume flow and institutional activity heuristics, market microstructure pivots and volatility measures — and synthesizes them into a single, transparent score and signal recommendation. The primary goal is to make explicit why a given market looks favourable or unfavourable by showing the individual ingredients and how they combine, enabling traders to learn, test and form rules based on observable market mechanics.
Each module of the matrix answers a distinct market question. VWAP and its percentage distance indicate whether the current price is trading above or below the intraday volume-weighted average — a proxy for intraday institutional control and value. The quantum momentum oscillator (fast and slow EMA difference scaled to percent) captures short-to-intermediate momentum shifts, providing a quickly responsive view of directional pressure. Multi-EMA trend scoring (8/21/50) produces a simple, transparent trend score by counting conditions such as price above EMAs and cross-EMAs ordering; this score is used to categorize market trend into descriptive buckets (e.g., STRONG UP, WEAK UP, NEUTRAL, DOWN). Volume analysis compares current volume to a recent moving average and computes a Z-score to detect spikes and unusual participation; additional buy/sell pressure heuristics (buyingPressure, sellingPressure, flowRatio) estimate whether upside or downside participation dominates the bar. Institutional activity is approximated by flagging large orders relative to volume baseline (e.g., volume > 2.5× MA) and estimating a dark pool proxy; this is a heuristic to highlight bars that likely had large players involved.
The dashboard also performs market-structure detection with small pivot windows to identify recent local support/resistance areas and computes price position relative to the daily high/low (dailyMid, pricePosition). Volatility is measured via ATR divided by price and bucketed into LOW/NORMAL/HIGH/EXTREME categories to help you adapt stop sizing and expectational horizons. Finally, all these pieces feed an interpretable scoring function that rewards alignment: VWAP above, strong flow ratio, bullish trend score, bullish momentum, and favorable RSI zone add to the overall score which is presented as a 0–100 metric and a colored emoji indicator for at-a-glance assessment.
The mashup is purposeful: each indicator covers a failure mode of the other. For example, momentum readings can be misleading during volatility spikes; VWAP informs whether institutions are on the bid or offer; volume Z-score detects abnormal participation that can validate a breakout; multi-EMA score mitigates single-EMA whipsaws by requiring a combination of price/EMA conditions. Combining these signals increases information content while keeping each component explainable — a key compliance requirement. The script intentionally emphasizes transparency: when it shows a BUY/SELL/HOLD recommendation, the dashboard shows the underlying sub-components so a trader can see whether VWAP, momentum, volume, trend or structure primarily drove the score.
For practical use, adopt a clear workflow: (1) check the matrix score and read the component tiles (VWAP position, momentum, trend and volume) to understand the drivers; (2) confirm market-structure support/resistance and pricePosition relative to the daily range; (3) require at least two corroborating components (for example, VWAP ABOVE + Momentum BULLISH or Volume spike + Trend STRONG UP) before considering entries; (4) use ATR-based stops or daily pivot distance for stop placement and size positions such that the trade risks a small, pre-defined percent of capital; (5) for intraday scalps shorten holding time and tighten stops, for swing trades increase lookback lengths and require multi-timeframe (higher TF) agreement. Treat the matrix as an idea filter and replay lab: when an alert triggers, replay the bars and observe which components anticipated the move and which lagged.
Parameter tuning matters. Shortening the momentum length makes the oscillator more sensitive (useful for scalping), while lengthening it reduces noise for swing contexts. Volume profile bars and MA length should match the instrument’s liquidity — increase the MA for low-liquidity stocks to reduce false institutional flags. The trend multiplier and signal sensitivity parameters let you calibrate how aggressively the matrix counts micro evidence into the score. Always backtest parameter sets across multiple periods and instruments; run walk-forward tests and keep a simple out-of-sample validation window to reduce overfitting risk.
Limitations and failure modes are explicit: institutional flags and dark-pool estimates are heuristics and cannot substitute for true tape or broker-level order flow; volume split by price range is an approximation and will not perfectly reflect signed volume; pivot detection with small windows may miss larger structural swings; VWAP is typically intraday-centric and less meaningful across multi-day swing contexts; the score is additive and may not capture non-linear relationships between features in extreme market regimes (e.g., flash crashes, circuit breaker events, or overnight gaps). The matrix is also susceptible to false signals during major news releases when price and volume behavior dislocate from typical patterns. Users should explicitly test behavior around earnings, macro data and low-liquidity periods.
To learn with the matrix, perform these experiments: (A) collect all BUY/SELL alerts over a 6-month period and measure median outcome at 5, 20 and 60 bars; (B) require additional gating conditions (e.g., only accept BUY when flowRatio>60 and trendScore≥4) and compare expectancy; (C) vary the institutional threshold (2×, 2.5×, 3× volumeMA) to see how many true positive spikes remain; (D) perform multi-instrument tests to ensure parameters are not tuned to a single ticker. Document every test and prefer robust, slightly lower returns with clearer logic rather than tuned “optimal” results that fail out of sample.
Originality statement: This script’s originality lies in the curated combination of intraday value (VWAP), multi-EMA trend scoring, momentum percent oscillator, volume Z-score plus buy/sell flow heuristics and a compact, interpretable scoring system. The script is not a simple indicator mashup; it is a didactic ensemble specifically designed to make internal rationale visible so traders can learn how each market characteristic contributes to actionable probability. The tool’s novelty is its emphasis on interpretability — showing the exact contributing signals behind a composite score — enabling reproducible testing and educational value.
Finally, for TradingView publication, include a clear description listing the modules, a short non-technical summary of how they interact, the tunable inputs, limitations and a risk disclaimer. Remove any promotional content or external contact links. If you used trademark symbols, either provide registration details or remove them. This transparent documentation satisfies TradingView’s requirement that mashups justify their composition and teach users how to use them.
Quantum Trading Matrix — multi-factor intraday dashboard (educational use only).
Purpose: Combines intraday VWAP position, a fast/slow EMA momentum percent oscillator, multi-EMA trend scoring (8/21/50), volume Z-score and buy/sell flow heuristics, pivot-based microstructure detection, and ATR-based volatility buckets to produce a transparent, componentized market score and trade-idea indicator. The mashup is intentional: VWAP identifies intraday value, momentum detects short bursts, EMAs provide structural trend bias, and volume/flow confirm participation. Signals require alignment of at least two components (for example, VWAP ABOVE + Momentum BULLISH + positive flow) for higher confidence.
Inputs: momentum period, volume MA/profile length, EMA configuration (8/21/50), trend multiplier, signal sensitivity, color and display options. Use shorter momentum lengths for scalps and longer for swing analysis. Increase volume MA for thinly traded instruments.
Limitations: Institutional/dark-pool estimates and flow heuristics are approximations, not actual exchange tape. VWAP is intraday-focused. Expect false signals during major news or low-liquidity sessions. Backtest and paper-trade before applying real capital.
Risk Disclaimer: For education and analysis only. Not financial advice. Use proper risk management. The author is not responsible for trading losses.
________________________________________
Risk & Misuse Disclaimer
This indicator is provided for education, analysis and idea generation only. It is not investment or financial advice and does not guarantee profits. Institutional activity flags, dark-pool estimates and flow heuristics are approximations and should not be treated as exchange tape. Backtest thoroughly and use demo/paper accounts before trading real capital. Always apply appropriate position sizing and stop-loss rules. The author is not responsible for any trading losses resulting from the use or misuse of this tool.
________________________________________
Risk Disclaimer: This tool is provided for education and analysis only. It is not financial advice and does not guarantee returns. Users assume all risk for trades made based on this script. Back test thoroughly and use proper risk management.
Laguerre-Kalman Adaptive Filter | AlphaNattLaguerre-Kalman Adaptive Filter |AlphaNatt 
A sophisticated trend-following indicator that combines  Laguerre polynomial filtering  with  Kalman optimal estimation  to create an ultra-smooth, low-lag trend line with exceptional noise reduction capabilities.
 "The perfect trend line adapts to market conditions while filtering out noise - this indicator achieves both through advanced mathematical techniques rarely seen in retail trading." 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 🎯 KEY FEATURES 
 
 Dual-Filter Architecture:  Combines two powerful filtering methods for superior performance
 Adaptive Volatility Adjustment:  Automatically adapts to market conditions
 Minimal Lag:  Laguerre polynomials provide faster response than traditional moving averages
 Optimal Noise Reduction:  Kalman filtering removes market noise while preserving trend
 Clean Visual Design:  Color-coded trend visualization (cyan/pink)
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 📊 THE MATHEMATICS 
 1. Laguerre Filter Component 
The Laguerre filter uses a cascade of four all-pass filters with a single gamma parameter:
 
 4th order IIR (Infinite Impulse Response) filter
 Single parameter (gamma) controls all filter characteristics
 Provides smoother output than EMA with similar lag
 Based on Laguerre polynomials from quantum mechanics
 
 2. Kalman Filter Component 
Implements a simplified Kalman filter for optimal estimation:
 
 Prediction-correction algorithm from aerospace engineering
 Dynamically adjusts based on estimation error
 Provides mathematically optimal estimate of true price trend
 Reduces noise while maintaining responsiveness
 
 3. Adaptive Mechanism 
 
 Monitors market volatility in real-time
 Adjusts filter parameters based on current conditions
 More responsive in trending markets
 More stable in ranging markets
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 ⚙️ INDICATOR SETTINGS 
 
 Laguerre Gamma (0.1-0.99):  Controls filter smoothness. Higher = smoother but more lag
 Adaptive Period (5-100):  Lookback for volatility calculation
 Kalman Noise Reduction (0.1-2.0):  Higher = more noise filtering
 Trend Threshold (0.0001-0.01):  Minimum change to register trend shift
 
 Recommended Settings: 
 
 Scalping:  Gamma: 0.6, Period: 10, Noise: 0.3
 Day Trading:  Gamma: 0.8, Period: 20, Noise: 0.5 (default)
 Swing Trading:  Gamma: 0.9, Period: 30, Noise: 0.8
 Position Trading:  Gamma: 0.95, Period: 50, Noise: 1.2
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 📈 TRADING SIGNALS 
 Primary Signals: 
 
 Cyan Line:  Bullish trend - price above filter and filter ascending
 Pink Line:  Bearish trend - price below filter or filter descending
 Color Change:  Potential trend reversal point
 
 Entry Strategies: 
 
 Trend Continuation:  Enter on pullback to filter line in trending market
 Trend Reversal:  Enter on color change with volume confirmation
 Breakout:  Enter when price crosses filter with momentum
 
 Exit Strategies: 
 
 Exit long when line turns from cyan to pink
 Exit short when line turns from pink to cyan
 Use filter as trailing stop in strong trends
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 ✨ ADVANTAGES OVER TRADITIONAL INDICATORS 
 Vs. Moving Averages: 
 
 Significantly less lag while maintaining smoothness
 Adaptive to market conditions
 Better noise filtering
 
 Vs. Standard Filters: 
 
 Dual-filter approach provides optimal estimation
 Mathematical foundation from signal processing
 Self-adjusting parameters
 
 Vs. Other Trend Indicators: 
 
 Cleaner signals with fewer whipsaws
 Works across all timeframes
 No repainting or lookahead bias
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 🎓 MATHEMATICAL BACKGROUND 
 The Laguerre filter was developed by John Ehlers, applying Laguerre polynomials (used in quantum mechanics) to financial markets. These polynomials provide an elegant solution to the lag-smoothness tradeoff that plagues traditional moving averages. 
 The Kalman filter, developed by Rudolf Kalman in 1960, is used in everything from GPS systems to spacecraft navigation. It provides the mathematically optimal estimate of a system's state given noisy measurements. 
 By combining these two approaches, this indicator achieves what neither can alone: a smooth, responsive trend line that adapts to market conditions while filtering out noise. 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 💡 TIPS FOR BEST RESULTS 
 
 Confirm with Volume:  Strong trends should have increasing volume
 Multiple Timeframes:  Use higher timeframe for trend, lower for entry
 Combine with Momentum:  RSI or MACD can confirm filter signals
 Market Conditions:  Adjust noise parameter based on market volatility
 Backtesting:  Always test settings on your specific instrument
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 ⚠️ IMPORTANT NOTES 
 
 No indicator is perfect - always use proper risk management
 Best suited for trending markets
 May produce false signals in choppy/ranging conditions
 Not financial advice - for educational purposes only
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 🚀 CONCLUSION 
The Laguerre-Kalman Adaptive Filter represents a  significant advancement  in technical analysis, bringing institutional-grade mathematical techniques to retail traders. Its unique combination of polynomial filtering and optimal estimation provides a  clean, reliable trend-following tool  that adapts to changing market conditions.
Whether you're scalping on the 1-minute chart or position trading on the daily, this indicator provides  clear, actionable signals  with minimal false positives.
 "In the world of technical analysis, the edge comes from using better mathematics. This indicator delivers that edge." 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 Developed by AlphaNatt | Professional Quantitative Trading Tools 
 Version:  1.0
 Last Updated:  2025
 Pine Script:  v6
 License:  Open Source
 Not financial advice. Always DYOR
Ayman – Full Smart Suite Auto/Manual Presets + PanelIndicator Name
Ayman – Full Smart Suite (OB/BoS/Liq/FVG/Pin/ADX/HTF) + Auto/Manual Presets + Panel
This is a multi-condition trading tool for TradingView that combines advanced Smart Money Concepts (SMC) with classic technical filters.
It generates BUY/SELL signals, draws Stop Loss (SL) and Take Profit (TP1, TP2) levels, and displays a control panel with all active settings and conditions.
1. Main Features
Smart Money Concepts Filters:
Order Block (OB) Zones
Break of Structure (BoS)
Liquidity Sweeps
Fair Value Gaps (FVG)
Pin Bar patterns
ADX filter
Higher Timeframe EMA filter (HTF EMA)
Two Operating Modes:
Auto Presets: Automatically adjusts all settings (buffers, ATR multipliers, RR, etc.) based on your chart timeframe (M1/M5/M15).
Manual Mode: Fully customize all parameters yourself.
Trade Management Levels:
Stop Loss (SL)
TP1 – partial profit
TP2 – full profit
Visual Panel showing:
Current settings
Filter status
Trend direction
Last swing levels
SL/TP status
Alerts for BUY/SELL conditions
2. Entry Conditions
A BUY signal is generated when all these are true:
Trend: Price above EMA (bullish)
HTF EMA: Higher timeframe trend also bullish
ADX: Trend strength above threshold
OB: Price in a valid bullish Order Block zone
BoS: Structure break to the upside
Liquidity Sweep: Sweep of recent lows in bullish context
FVG: A bullish Fair Value Gap is present
Pin Bar: Bullish Pin Bar pattern detected (if enabled)
A SELL signal is generated when the opposite conditions are met.
3. Stop Loss & Take Profits
SL: Placed just beyond the last swing low (BUY) or swing high (SELL), with a small ATR buffer.
TP1: Partial profit target, defined as a ratio of the SL distance.
TP2: Full profit target, based on Reward:Risk ratio.
4. How to Use
Step 1 – Apply Indicator
Open TradingView
Go to your chart (recommended: XAUUSD, M1/M5 for scalping)
Add the indicator script
Step 2 – Choose Mode
AUTO Mode: Leave “Use Auto Presets” ON – parameters adapt to your timeframe.
MANUAL Mode: Turn Auto OFF and adjust all lengths, buffers, RR, and filters.
Step 3 – Filters
In the Filters On/Off section, enable/disable specific conditions (OB, BoS, Liq, FVG, Pin Bar, ADX, HTF EMA).
Step 4 – Trading the Signals
Wait for a BUY or SELL arrow to appear.
SL and TP levels will be plotted automatically.
TP1 can be used for partial close and TP2 for full exit.
Step 5 – Alerts
Set alerts via BUY Signal or SELL Signal to receive notifications.
5. Best Practices
Scalping: Use M1 or M5 with AUTO mode for gold or forex pairs.
Swing Trading: Use M15+ and adjust buffers/ATR manually.
Combine with price action confirmation before entering trades.
For higher accuracy, wait for multiple filter confirmations rather than acting on the first arrow.
6. Summary Table
Feature	Purpose	Can Disable?
Order Block	Finds key supply/demand zones	✅
Break of Structure	Detects trend continuation	✅
Liquidity Sweep	Finds stop-hunt moves	✅
Fair Value Gap	Confirms imbalance entries	✅
Pin Bar	Price action reversal filter	✅
ADX	Trend strength filter	✅
HTF EMA	Higher timeframe confirmation	✅
MERV: Market Entropy & Rhythm Visualizer [BullByte]The  MERV (Market Entropy & Rhythm Visualizer)  indicator analyzes market conditions by measuring entropy (randomness vs. trend), tradeability (volatility/momentum), and cyclical rhythm. It provides traders with an easy-to-read dashboard and oscillator to understand when markets are structured or choppy, and when trading conditions are optimal.
 Purpose of the Indicator   
MERV’s goal is to help traders identify different market regimes. It quantifies how structured or random recent price action is (entropy), how strong and volatile the movement is (tradeability), and whether a repeating cycle exists. By visualizing these together, MERV highlights trending vs. choppy environments and flags when conditions are favorable for entering trades. For example, a low entropy value means prices are following a clear trend line, whereas high entropy indicates a lot of noise or sideways action. The indicator’s combination of measures is original: it fuses statistical trend-fit (entropy), volatility trends (ATR and slope), and cycle analysis to give a comprehensive view of market behavior.
 Why a Trader Should Use It   
Traders often need to know when a market trend is reliable vs. when it is just noise. MERV helps in several ways: it shows when the market has a strong direction (low entropy, high tradeability) and when it’s ranging (high entropy). This can prevent entering trend-following strategies during choppy periods, or help catch breakouts early. The  “Optimal Regime”  marker (a star) highlights moments when entropy is very low and tradeability is very high, typically the best conditions for trend trades. By using MERV, a trader gains an empirical “go/no-go” signal based on price history, rather than guessing from price alone. It’s also adaptable: you can apply it to stocks, forex, crypto, etc., on any timeframe. For example, during a bullish phase of a stock, MERV will turn green (Trending Mode) and often show a star, signaling good follow-through. If the market later grinds sideways, MERV will shift to magenta (Choppy Mode), warning you that trend-following is now risky.
 Why These Components Were Chosen   
 Market Entropy (via R²) : This measures how well recent prices fit a straight line. We compute a linear regression on the last len_entropy bars and calculate R². Entropy = 1 - R², so entropy is low when prices follow a trend (R² near 1) and high when price action is erratic (R² near 0). This single number captures trend strength vs noise.
 Tradeability (ATR + Slope) : We combine two familiar measures: the Average True Range (ATR) (normalized by price) and the absolute slope of the regression line (scaled by ATR). Together they reflect how active and directional the market is. A high ATR or strong slope means big moves, making a trend more “tradeable.” We take a simple average of the normalized ATR and slope to get tradeability_raw. Then we convert it to a percentile rank over the lookback window so it’s stable between 0 and 1.
 Percentile Ranks : To make entropy and tradeability values easy to interpret, we convert each to a 0–100 rank based on the past len_entropy periods. This turns raw metrics into a consistent scale. (For example, an entropy rank of 90 means current entropy is higher than 90% of recent values.) We then divide by 100 to plot them on a 0–1 scale.
 Market Mode (Regime) : Based on those ranks, MERV classifies the market: 
 Trending (Green) : Low entropy rank (<40%) and high tradeability rank (>60%). This means the market is structurally trending with high activity.
 Choppy (Magenta) : High entropy rank (>60%) and low tradeability rank (<40%). This is a mostly random, low-momentum market.
 Neutral (Cyan) : All other cases. This covers mixed regimes not strongly trending or choppy.
The mode is shown as a colored bar at the bottom: green for trending, magenta for choppy, cyan for neutral.
 Optimal Regime Signal : Separately, we mark an “optimal” condition when entropy_norm < 0.3 and tradeability > 0.7 (both normalized 0–1). When this is true, a ★ star appears on the bottom line. This star is colored white when truly optimal, gold when only tradeability is high (but entropy not quite low enough), and black when neither condition holds. This gives a quick visual cue for very favorable conditions.
 What Makes MERV Stand Out   
 Holistic View : Unlike a single-oscillator, MERV combines trend, volatility, and cycle analysis in one tool. This multi-faceted approach is unique.
 Visual Dashboard : The fixed on-chart dashboard (shown at your chosen corner) summarizes all metrics in bar/gauge form. Even a non-technical user can glance at it: more “█” blocks = a higher value, colors match the plots. This is more intuitive than raw numbers.   
 Adaptive Thresholds : Using percentile ranks means MERV auto-adjusts to each market’s character, rather than requiring fixed thresholds.
 Cycle Insight : The rhythm plot adds information rarely found in indicators – it shows if there’s a repeating cycle (and its period in bars) and how strong it is. This can hint at natural bounce or reversal intervals.
 Modern Look : The neon color scheme and glow effects make the lines easy to distinguish (blue/pink for entropy, green/orange for tradeability, etc.) and the filled area between them highlights when one dominates the other.
 Recommended Timeframes   
MERV can be applied to any timeframe, but it will be more reliable on higher timeframes. The default len_entropy = 50 and len_rhythm = 30 mean we use 30–50 bars of history, so on a daily chart that’s ~2–3 months of data; on a 1-hour chart it’s about 2–3 days. In practice:
 Swing/Position  traders might prefer Daily or 4H charts, where the calculations smooth out small noise. Entropy and cycles are more meaningful on longer trends.
 Day trader s could use 15m or 1H charts if they adjust the inputs (e.g. shorter windows). This provides more sensitivity to intraday cycles.
 Scalpers  might find MERV too “slow” unless input lengths are set very low.
In summary, the indicator works anywhere, but the defaults are tuned for capturing medium-term trends. Users can adjust len_entropy and len_rhythm to match their chart’s volatility. The dashboard position can also be moved (top-left, bottom-right, etc.) so it doesn’t cover important chart areas.
 How the Scoring/Logic Works (Step-by-Step)   
 Compute Entropy : A linear regression line is fit to the last len_entropy closes. We compute R² (goodness of fit). Entropy = 1 – R². So a strong straight-line trend gives low entropy; a flat/noisy set of points gives high entropy.
 Compute Tradeability : We get ATR over len_entropy bars, normalize it by price (so it’s a fraction of price). We also calculate the regression slope (difference between the predicted close and last close). We scale |slope| by ATR to get a dimensionless measure. We average these (ATR% and slope%) to get tradeability_raw. This represents how big and directional price moves are.
 Convert to Percentiles : Each new entropy and tradeability value is inserted into a rolling array of the last 50 values. We then compute the percentile rank of the current value in that array (0–100%) using a simple loop. This tells us where the current bar stands relative to history. We then divide by 100 to plot on  .
 Determine Modes and Signal : Based on these normalized metrics: if entropy < 0.4 and tradeability > 0.6 (40% and 60% thresholds), we set mode = Trending (1). If entropy > 0.6 and tradeability < 0.4, mode = Choppy (-1). Otherwise mode = Neutral (0). Separately, if entropy_norm < 0.3 and tradeability > 0.7, we set an optimal flag. These conditions trigger the colored mode bars and the star line.
 Rhythm Detection : Every bar, if we have enough data, we take the last len_rhythm closes and compute the mean and standard deviation. Then for lags from 5 up to len_rhythm, we calculate a normalized autocorrelation coefficient. We track the lag that gives the maximum correlation (best match). This “best lag” divided by len_rhythm is plotted (a value between 0 and 1). Its color changes with the correlation strength. We also smooth the best correlation value over 5 bars to plot as “Cycle Strength” (also 0 to 1). This shows if there is a consistent cycle length in recent price action.
 Heatmap (Optional) : The background color behind the oscillator panel can change with entropy. If “Neon Rainbow” style is on, low entropy is blue and high entropy is pink (via a custom color function), otherwise a classic green-to-red gradient can be used. This visually reinforces the entropy value.
 Volume Regime (Dashboard Only) : We compute vol_norm = volume / sma(volume, len_entropy). If this is above 1.5, it’s considered high volume (neon orange); below 0.7 is low (blue); otherwise normal (green). The dashboard shows this as a bar gauge and percentage. This is for context only.
 Oscillator Plot – How to Read It   
The main panel (oscillator) has multiple colored lines on a 0–1 vertical scale, with horizontal markers at 0.2 (Low), 0.5 (Mid), and 0.8 (High). Here’s each element:
 Entropy Line (Blue→Pink) : This line (and its glow) shows normalized entropy (0 = very low, 1 = very high). It is blue/green when entropy is low (strong trend) and pink/purple when entropy is high (choppy). A value near 0.0 (below 0.2 line) indicates a very well-defined trend. A value near 1.0 (above 0.8 line) means the market is very random. Watch for it dipping near 0: that suggests a strong trend has formed.
 Tradeability Line (Green→Yellow) : This represents normalized tradeability. It is colored bright green when tradeability is low, transitioning to yellow as tradeability increases. Higher values (approaching 1) mean big moves and strong slopes. Typically in a market rally or crash, this line will rise. A crossing above ~0.7 often coincides with good trend strength.
 Filled Area (Orange Shade) : The orange-ish fill between the entropy and tradeability lines highlights when one dominates the other. If the area is large, the two metrics diverge; if small, they are similar. This is mostly aesthetic but can catch the eye when the lines cross over or remain close.
 Rhythm (Cycle) Line : This is plotted as (best_lag / len_rhythm). It indicates the relative period of the strongest cycle. For example, a value of 0.5 means the strongest cycle was about half the window length. The line’s color (green, orange, or pink) reflects how strong that cycle is (green = strong). If no clear cycle is found, this line may be flat or near zero.
 Cycle Strength Line : Plotted on the same scale, this shows the autocorrelation strength (0–1). A high value (e.g. above 0.7, shown in green) means the cycle is very pronounced. Low values (pink) mean any cycle is weak and unreliable.
 Mode Bars (Bottom) : Below the main oscillator, thick colored bars appear: a green bar means Trending Mode, magenta means Choppy Mode, and cyan means Neutral. These bars all have a fixed height (–0.1) and make it very easy to see the current regime.   
 Optimal Regime Line (Bottom) : Just below the mode bars is a thick horizontal line at –0.18. Its color indicates regime quality: White (★) means “Optimal Regime” (very low entropy and high tradeability). Gold (★) means not quite optimal (high tradeability but entropy not low enough). Black means neither condition. This star line quickly tells you when conditions are ideal (white star) or simply good (gold star).
 Horizontal Guides : The dotted lines at 0.2 (Low), 0.5 (Mid), and 0.8 (High) serve as reference lines. For example, an entropy or tradeability reading above 0.8 is “High,” and below 0.2 is “Low,” as labeled on the chart. These help you gauge values at a glance.
 Dashboard (Fixed Corner Panel)   
MERV also includes a compact table (dashboard) that can be positioned in any corner. It summarizes key values each bar. Here is how to read its rows:
 Entropy : Shows a bar of blocks (█ and ░). More █ blocks = higher entropy. It also gives a percentage (rounded). A full bar (10 blocks) with a high % means very chaotic market. The text is colored similarly (blue-green for low, pink for high).
 Rhythm : Shows the best cycle period in bars (e.g. “15 bars”). If no calculation yet, it shows “n/a.” The text color matches the rhythm line.
 Cycle Strength : Gives the cycle correlation as a percentage (smoothed, as shown on chart). Higher % (green) means a strong cycle.
 Tradeability : Displays a 10-block gauge for tradeability. More blocks = more tradeable market. It also shows “gauge” text colored green→yellow accordingly.
 Market Mode : Simply shows “Trending”, “Choppy”, or “Neutral” (cyan text) to match the mode bar color.
 Volume Regime : Similar to tradeability, shows blocks for current volume vs. average. Above-average volume gives orange blocks, below-average gives blue blocks. A % value indicates current volume relative to average. This row helps see if volume is abnormally high or low.  
 Optimal Status (Large Row) : In bold, either “★ Optimal Regime” (white text) if the star condition is met, “★ High Tradeability” (gold text) if tradeability alone is high, or “— Not Optimal” (gray text) otherwise. This large row catches your eye when conditions are ripe.
In short, the dashboard turns the numeric state into an easy read: filled bars, colors, and text let you see current conditions without reading the plot. For instance, five blue blocks under Entropy and “25%” tells you entropy is low (good), and a row showing “Trending” in green confirms a trend state.
 Real-Life Example   
 Example : Consider a daily chart of a trending stock (e.g. “AAPL, 1D”). During a strong uptrend, recent prices fit a clear upward line, so Entropy would be low (blue line near bottom, perhaps below the 0.2 line). Volatility and slope are high, so Tradeability is high (green-yellow line near top). In the dashboard, Entropy might show only 1–2 blocks (e.g. 10%) and Tradeability nearly full (e.g. 90%). The Market Mode bar turns green (Trending), and you might see a white ★ on the optimal line if conditions are very good. The Volume row might light orange if volume is above average during the rally. In contrast, imagine the same stock later in a tight range: Entropy will rise (pink line up, more blocks in dashboard), Tradeability falls (fewer blocks), and the Mode bar turns magenta (Choppy). No star appears in that case.
 Consolidated Use Case : Suppose on XYZ stock the dashboard reads “Entropy: █░░░░░░░░ 20%”, “Tradeability: ██████████ 80%”, Mode = Trending (green), and “★ Optimal Regime.” This tells the trader that the market is in a strong, low-noise trend, and it might be a good time to follow the trend (with appropriate risk controls). If instead it reads “Entropy: ████████░░ 80%”, “Tradeability: ███▒▒▒▒▒▒ 30%”, Mode = Choppy (magenta), the trader knows the market is random and low-momentum—likely best to sit out until conditions improve.
 Example: How It Looks in Action   
 Screenshot 1:  Trending Market with High Tradeability (SOLUSD, 30m)  
  
 What it means:   
The market is in a clear, strong trend with excellent conditions for trading. Both trend-following and active strategies are favored, supported by high tradeability and strong volume.  
 Screenshot 2:  Optimal Regime, Strong Trend (ETHUSD, 1h)  
  
 What it means:   
This is an ideal environment for trend trading. The market is highly organized, tradeability is excellent, and volume supports the move. This is when the indicator signals the highest probability for success.  
 Screenshot 3:  Choppy Market with High Volume (BTC Perpetual, 5m)  
  
 What it means:   
The market is highly random and choppy, despite a surge in volume. This is a high-risk, low-reward environment, avoid trend strategies, and be cautious even with mean-reversion or scalping.  
 Settings and Inputs   
The script is fully open-source; here are key inputs the user can adjust:
 Entropy Window (len_entropy) : Number of bars used for entropy and tradeability (default 50). Larger = smoother, more lag; smaller = more sensitivity. 
 Rhythm Window (len_rhythm ): Bars used for cycle detection (default 30). This limits the longest cycle we detect.
 Dashboard Position : Choose any corner (Top Right default) so it doesn’t cover chart action.
 Show Heatmap : Toggles the entropy background coloring on/off.  
 Heatmap Style : “Neon Rainbow” (colorful) or “Classic” (green→red).
 Show Mode Bar : Turn the bottom mode bar on/off.
 Show Dashboard : Turn the fixed table panel on/off.
Each setting has a tooltip explaining its effect. In the description we will mention typical settings (e.g. default window sizes) and that the user can move the dashboard corner as desired.
 Oscillator Interpretation (Recap)   
 Lines : Blue/Pink = Entropy (low=trend, high=chop); Green/Yellow = Tradeability (low=quiet, high=volatile).
 Fill : Orange tinted area between them (for visual emphasis).
 Bars : Green=Trending, Magenta=Choppy, Cyan=Neutral (at bottom).
 Star Line : White star = ideal conditions, Gold = good but not ideal.
 Horizontal Guides : 0.2 and 0.8 lines mark low/high thresholds for each metric.
Using the chart, a coder or trader can see exactly what each output represents and make decisions accordingly.
 Disclaimer   
This indicator is provided as-is for educational and analytical purposes only. It does not guarantee any particular trading outcome. Past market patterns may not repeat in the future. Users should apply their own judgment and risk management; do not rely solely on this tool for trading decisions. Remember, TradingView scripts are tools for market analysis, not personalized financial advice. We encourage users to test and combine MERV with other analysis and to trade responsibly.
-BullByte
Overheat Oscillator with DivergenceIndicator Description
The Overheat Oscillator with Divergence is an advanced technical indicator designed for the TradingView platform, assisting traders in identifying potential market reversal points by analyzing price momentum and volume, as well as detecting divergences. The indicator combines trend strength assessment with signal smoothing to provide clear indications of market overheat or oversold conditions. An optional divergence detection feature allows for the identification of discrepancies between price movement and the oscillator's value, which may signal upcoming trend changes.
The indicator is displayed in a separate panel below the price chart and offers visual cues through a color gradient, horizontal reference lines, and a dynamic market sentiment table. Users can customize numerous parameters, such as calculation periods, sentiment thresholds, line colors, and visualization styles, making the indicator a versatile tool for various trading strategies.
How the Indicator Works
The indicator is based on the following key components:
Oscillator Calculations
The indicator analyzes price candles, assigning a score based on their nature. A bullish candle (when the closing price is higher than the opening price) receives a score of +1.0, while a bearish candle (when the closing price is lower than the opening price) receives a score of -1.0. This scoring reflects the strength of price movement over a given period.
The score is modified by a volume multiplier (default: 2.0) if the candle's volume exceeds the volume's simple moving average (SMA, default: calculated over 20 candles). This ensures that candles with higher volume have a greater impact on the oscillator's value, better capturing significant market movements driven by increased trading activity. For example, a bullish candle with high volume may receive a score of +2.0 instead of +1.0, amplifying the bullish signal.
The scores are summed over a specified number of candles (default: 20), normalized to a 0–100 range, and then smoothed using a simple moving average (SMA, default: 5 periods) to reduce noise and improve signal clarity.
Color Gradient
The oscillator's values are visualized using a color gradient that changes based on the oscillator's level:
Green: Market cooldown (values below the Gradient Min threshold).
Yellow: Neutral sentiment (values between Gradient Min and Gradient Yellow).
Orange: Elevated activity (values between Gradient Yellow and Gradient Orange).
Red: Market overheat (values above Gradient Orange).
The color gradient is applied as the background in the oscillator panel, facilitating quick assessment of market sentiment.
Reference Levels
The indicator displays customizable horizontal lines for key thresholds (e.g., Overheat Threshold, Oversold Threshold, Gradient Min, Yellow, Orange, Max). These lines are visible only at the height of the last few oscillator candles, preventing chart clutter and helping users focus on current values.
Users can also define three custom horizontal lines with selectable styles (solid, dotted, dashed) and colors. These lines serve as auxiliary tools, e.g., for marking personal support/resistance levels, but do not affect the oscillator's signals or background colors.
Market Sentiment
The indicator displays sentiment labels in a table located in the top-right corner of the panel, dynamically updating based on the oscillator's value:
Cooled: Values below Gradient Yellow (default: 35).
Neutral: Values between Gradient Yellow and Gradient Orange (default: 60).
Excited: Values between Gradient Orange and Overheat Threshold (default: 70).
Overheated: Values above Overheat Threshold (default: 70).
The Overheat Threshold and Oversold Threshold are critical for displaying the "Overheated" and "Cooled" labels in the sentiment table, enabling users to quickly identify extreme market conditions. The labels update when key thresholds are crossed, and their colors match the oscillator's gradient.
Divergence Detection
The indicator offers optional detection of regular bullish and bearish divergences:
Bullish Divergence: Occurs when the price forms a lower low, but the oscillator forms a higher low, suggesting a weakening downtrend.
Bearish Divergence: Occurs when the price forms a higher high, but the oscillator forms a lower high, suggesting a weakening uptrend.
Divergences are marked on the chart with labels ("Bull" for bullish, "Bear" for bearish) and lines indicating pivot points. They are calculated with a delay equal to the Lookback Right setting (default: 5 candles), meaning signals appear after pivot confirmation in the specified lookback period. The indicator also generates alerts for users when a divergence is detected.
Indicator Settings
Main Settings (SETTINGS)
Period Length: Specifies the number of candles used for oscillator calculations (default: 20).
Volume SMA Period: The period for the volume's simple moving average (default: 20).
Volume Multiplier: Multiplier applied to candle scores when volume exceeds the average (default: 2.0).
SMA Length: The period for smoothing the oscillator with a simple moving average (default: 5).
Thresholds (THRESHOLDS)
Overheat Threshold: Level indicating market overheat (default: 70). This value determines when the sentiment table displays the "Overheated" label, signaling a potential peak in an uptrend.
Oversold Threshold: Level indicating market cooldown (default: 30). This value determines when the sentiment table displays the "Cooled" label, signaling a potential bottom in a downtrend.
Gradient Min (Green): Lower threshold for the green gradient (default: 20).
Gradient Yellow Threshold: Threshold for the yellow gradient (default: 35).
Gradient Orange Threshold: Threshold for the orange gradient (default: 60).
Gradient Max (Red): Upper threshold for the red gradient (default: 70).
Visualization (VISUALIZATION)
Signal Line Color: Color of the oscillator line (default: dark red, RGB(5, 0, 0)).
Show Reference Lines: Enables/disables the display of threshold lines (default: enabled).
Divergence Settings (DIVERGENCE SETTINGS)
Calculate Divergence: Enables/disables divergence detection (default: disabled).
Lookback Right: Number of candles back for pivot analysis (default: 5).
Lookback Left: Number of candles to the left for pivot analysis (default: 5).
Line Style (STYLE)
Custom Line 1, 2, 3 Value: Levels for custom horizontal lines (default: 70, 50, 30).
Custom Line 1, 2, 3 Color: Colors for custom lines (default: black, RGB(0, 0, 0)).
Custom Line 1, 2, 3 Style: Line styles (solid, dotted, dashed; default: dashed, dotted, dashed).
How to Use the Indicator
Adding to the Chart
Add the indicator to your TradingView chart by searching for "Overheat Oscillator with Divergence."
Configure the settings according to your trading strategy.
Signal Interpretation
Overheated: Values above the Overheat Threshold (default: 70) in the sentiment table may indicate a potential uptrend peak.
Cooled: Values below the Oversold Threshold (default: 30) in the sentiment table may suggest a potential downtrend bottom.
Divergences:
Bullish: Look for "Bull" labels on the chart, indicating potential upward reversals (calculated with a Lookback Right delay).
Bearish: Look for "Bear" labels, indicating potential downward reversals (calculated with a Lookback Right delay).
Customization
Experiment with settings such as period length, volume multiplier, or gradient thresholds to tailor the indicator to your trading style (e.g., scalping, medium-term trading).
Usage Examples
Scalping: Set a shorter period (e.g., Period Length = 10, SMA Length = 3) and monitor rapid sentiment changes and divergences on lower timeframes (e.g., 5-minute charts).
Medium-Term Trading: Use default settings or increase Period Length (e.g., 30) and SMA Length (e.g., 7) for more stable signals on hourly or daily charts.
Reversal Detection: Enable divergence detection and observe "Bull" or "Bear" labels in conjunction with overheat/cooled levels in the sentiment table.
Notes
The indicator performs best when used in conjunction with other technical analysis tools, such as support/resistance lines, moving averages, or Fibonacci levels.
Divergences may serve as early signals but do not always guarantee immediate trend reversals—confirmation with other indicators is recommended.
Test different settings on historical data to find the optimal configuration for your chosen market and timeframe.
Support Resistance with Order BlocksIndicator Description
Professional Price Level Detection for Smart Trading. Master the Markets with Precision Support/Resistance and Order Block Analysis . It provides traders with clear visual cues for potential reversal and breakout areas, combining both retail and institutional trading concepts into one powerful tool.
         The Support & Resistance with Order Blocks indicator is a versatile Pine Script  tool designed to empower traders with clear, actionable insights into key market levels. By combining advanced pivot-based support and resistance (S/R) detection with order block (OB) filtering, this indicator delivers clean, high-probability zones for entries, exits, and reversals. With customizable display options (boxes or lines) and intuitive settings, it’s perfect for traders of all styles—whether you’re scalping, swing trading, or investing long-term. Overlay it on your TradingView chart and elevate your trading strategy today!
________________________________________
Key Features
✅     Dynamic Support/Resistance - Auto-adjusting levels based on price action
✅     Smart Order Block Detection - Identifies institutional buying/selling zones
✅     Dual Display Modes - Choose between Boxes or Clean Lines for different chart styles
✅     Customizable Sensitivity - Adjust detection parameters for different markets
✅     Broken Level Markers - Clearly shows when key levels are breached
✅     Timeframe-Adaptive - Automatically adjusts for daily/weekly charts
1.	Dynamic Support & Resistance Detection 
	Identifies critical S/R zones using pivot high/low calculations with adjustable look back      periods. 
	Visualizes active S/R zones with distinct colors and labels ("Support" or "Resistance" for boxes, lines for cleaner charts). 
	Marks broken S/R levels as "Br S" (broken support) or "Br R" (broken resistance) when historical display is enabled, aiding in breakout and reversal analysis.
2.	Smart Order Block Identification 
	Detects bullish and bearish order blocks based on significant price movements (default: ±0.3% over 5 candles). 
	Highlights institutional buying/selling zones with customizable colors, displayed as boxes or lines. 
	Filters out overlapping OB zones to keep your chart clutter-free.
3.	Dual Display Options 
	Boxes or Lines: Choose to display S/R and OB as boxes for detailed zones or lines for a minimalist view. 
	Line Width Customization: Adjust line widths for S/R and OB (1–5 pixels) for optimal visibility. 
	Color Customization: Tailor colors for active/broken S/R and bullish/bearish OB zones.
4.	Advanced Overlap Filtering 
	Ensures S/R zones don’t overlap with OB zones or other S/R levels, providing only the most relevant levels. 
	Limits the number of active zones (default: 10) to maintain chart clarity.
5.	Historical S/R Visualization 
	Optionally display broken S/R levels with distinct colors and labels ("Br S" or "Br R") to track historical price reactions. 
	Broken levels are dynamically updated and removed (or retained) based on user settings.
6.	Timeframe Adaptability 
	Automatically adjusts pivot detection for daily/weekly timeframes (40-candle look back) versus shorter timeframes (20-candle look back). 
	Works seamlessly across all asset classes (stocks, forex, crypto, etc.) and timeframes.
________________________________________
How It Works
•	Support & Resistance: 
	Uses ta.pivothigh  and  ta.pivotlow  to detect significant price pivots, with a user-defined look back (default: 5 candles post-pivot). 
	Plots S/R as boxes (with labels "Support" or "Resistance") or lines, extending to the current bar for real-time relevance. 
	Broken S/R levels are marked with adjusted colors and labels ("S" or "R" for boxes, "Br S" or "Br R" for lines when historical display is enabled).
•	Order Blocks: 
	Identifies OB based on strong price movements over 4 candles, plotted as boxes or lines at the candle’s midpoint. 
	Validates OB to prevent overlap, ensuring only significant zones are displayed. 
	Removes OB zones when price breaks through, keeping the chart focused on active levels.
•	Customization: 
	Toggle S/R and OB visibility, adjust detection sensitivity, and set maximum active zones (4–50). 
	Fine-tune line widths and colors for a personalized chart experience.
________________________________________
Why Use This Indicator?
•	Precision Trading: Pinpoint high-probability entry/exit zones with filtered S/R and OB levels. 
•	Clean Charts: Overlap filtering and zone limits reduce clutter, focusing on key levels. 
•	Versatile Display: Switch between boxes for detailed zones or lines for simplicity, with adjustable line widths. 
•	Institutional Edge: Leverage OB detection to align with institutional activity for smarter trades. 
•	User-Friendly: Intuitive settings and clear visuals make it accessible for beginners and pros alike.
________________________________________
Settings Overview________________________________________
⚙    Input Parameters
Settings Overview
Display Options:
Display Type: Choose "Boxes" or "Lines" for S/R and OB visualization.
S/R Line Width: Set line thickness for S/R lines (1–5 pixels, default: 2).
OB Line Width: Set line thickness for OB lines (1–5 pixels, default: 2).
Order Block Options:
Show Order Block: Enable/disable OB display.
Bull/Bear OB Colors: Customise border and fill colors for bullish and bearish OB zones.
Support/Resistance Options:
Show S/R: Toggle active S/R zones.
Show Historical S/R: Display broken S/R levels, marked as "Br S" or "Br R" for lines.
Detection Period: Set candle lookback for pivot detection (4–50, default: 5).
Max Active Zones: Limit active S/R and OB zones (4–50, default: 10).
Colors: Customise active and broken S/R colors for clear differentiation.
________________________________________
How to Use
1.	Add to Chart: Apply the indicator to your TradingView chart. 
2.	Customize Settings: 
o	Select "Boxes" or "Lines" for your preferred display style. 
o	Adjust line widths, colors, and detection parameters to suit your trading style. 
o	Enable "Show Historical S/R" to track broken levels with "Br S" and "Br R" labels.
3.	Analyze Levels: 
o	Use support zones (green) for buy entries and resistance zones (red) for sell entries. 
o	Monitor OB zones for institutional activity, signaling potential reversals or continuations. 
o	Watch for "Br S" or "Br R" labels to identify breakout opportunities.
4.	Combine with Other Tools: Pair with trend indicators, volume analysis, or price action for a robust strategy. 
5.	Monitor Breakouts: Trade breakouts when price breaches S/R or OB zones, with historical labels providing context.
________________________________________
Example Use Cases
•	Swing Trading: Use S/R and OB zones to identify entry/exit points, with historical broken levels for context. 
•	Breakout Trading: Trade price breaks through S/R or OB, using "Br S" and "Br R" labels to confirm reversals. 
•	Scalping: Adjust detection period for faster S/R and OB identification on lower timeframes.
________________________________________
•	Performance: Optimized for all timeframes, with best results on 5M, 15M, 30M, 1H, 4H, or daily charts for swing trading. 
•	Compatibility: Works with any asset class and TradingView chart. 
________________________________________
Get Started
Transform your trading with Support & Resistance with Order Blocks! Add it to your chart, customize it to your style, and trade with confidence. For questions or feedback, drop a comment on TradingView or message the author. Happy trading! 🚀
________________________________________
Disclaimer: This indicator is for educational and informational purposes only. Always conduct your own analysis and practice proper risk management before trading.
Mark4ex vWapMark4ex VWAP is a precision session-anchored Volume Weighted Average Price (VWAP) indicator crafted for intraday traders who want clean, reliable VWAP levels that reset daily to match a specific market session.
Unlike the built-in continuous VWAP, this version anchors each day to your chosen session start and end time, most commonly aligned with the New York Stock Exchange Open (9:30 AM EST) through the market close (4:00 PM EST). This ensures your VWAP reflects only intraday price action within your active trading window — filtering out irrelevant overnight moves and providing clearer mean-reversion signals.
Key Features:
 
 Fully configurable session start & end times — adapt it for NY session or any other market.
 Anchored VWAP resets daily for true session-based levels.
 Built for the New York Open Range Breakout strategy: see how price interacts with VWAP during the volatile first 30–60 minutes of the US market.
 Plots a clean, dynamic line that updates tick-by-tick during the session and disappears outside trading hours.
 Designed to help you spot real-time support/resistance, intraday fair value zones, and liquidity magnets used by institutional traders.
 
 
How to Use — NY Open Range Breakout:
During the first hour of the New York session, institutional traders often define an “Opening Range” — the high and low formed shortly after the bell. The VWAP in this zone acts as a dynamic pivot point:
When price is above the session VWAP, bulls are in control — the level acts as a support floor for pullbacks.
When price is below the session VWAP, bears dominate — the level acts as resistance against bounces.
Breakouts from the opening range often test the VWAP for confirmation or rejection.
Traders use this to time entries for breakouts, retests, or mean-reversion scalps with greater confidence.
⚙️ Recommended Settings:
Default: 9:30 AM to 4:00 PM New York time — standard US equities session.
Adjust hours/minutes to match your target market’s open and close.
👤 Who is it for?
Scalpers, day traders, prop traders, and anyone trading the NY Open, indices like the S&P 500, or highly liquid stocks during US cash hours.
🚀 Why use Mark4ex VWAP?
Because a properly anchored VWAP is a trader’s real-time institutional fair value, giving you better context than static moving averages. It adapts live to volume shifts and helps you follow smart money footprints.
This indicator will reconfigure every day, anchored to the New York Open,  it will also leave historical NY Open VWAP for study purpose. 
RSI of RSI Deviation (RoRD)RSI of RSI Deviation (RoRD) - Advanced Momentum Acceleration Analysis 
 What is RSI of RSI Deviation (RoRD)? 
RSI of RSI Deviation (RoRD) is a insightful momentum indicator that transcends traditional oscillator analysis by measuring the  acceleration of momentum  through sophisticated mathematical layering. By calculating RSI on RSI itself (RSI²) and applying advanced statistical deviation analysis with T3 smoothing, RoRD reveals hidden market dynamics that single-layer indicators miss entirely.
This isn't just another RSI variant—it's a  complete reimagining  of how we measure and visualize momentum dynamics. Where traditional RSI shows momentum, RoRD shows  momentum's rate of change . Where others show static overbought/oversold levels, RoRD reveals  statistically significant deviations  unique to each market's character.
 Theoretical Foundation - The Mathematics of Momentum Acceleration 
 1. RSI² (RSI of RSI) - The Core Innovation 
Traditional RSI measures price momentum. RoRD goes deeper:
 Primary RSI (RSI₁) : Standard RSI calculation on price
 Secondary RSI (RSI²) : RSI calculated on RSI₁ values
This creates a  "momentum of momentum"  indicator that leads price action
 Mathematical Expression: 
RSI₁ = 100 - (100 / (1 + RS₁))
RSI² = 100 - (100 / (1 + RS₂))
Where RS₂ = Average Gain of RSI₁ / Average Loss of RSI₁
 2. T3 Smoothing - Lag-Free Response 
The T3 Moving Average, developed by Tim Tillson, provides:
 Superior smoothing  with minimal lag
 Adaptive response  through volume factor (vFactor)
 Noise reduction  while preserving signal integrity
 T3 Formula: 
T3 = c1×e6 + c2×e5 + c3×e4 + c4×e3
Where e1...e6 are cascaded EMAs and c1...c4 are volume-factor-based coefficients
 3. Statistical Z-Score Deviation 
RoRD employs  dual-layer Z-score normalization :
 Initial Z-Score : (RSI² - SMA) / StDev
 Final Z-Score : Z-score of the Z-score for refined extremity detection
This identifies  statistically rare events  relative to recent market behavior
 4. Multi-Timeframe Confluence 
Compares current timeframe Z-score with higher timeframe (HTF)
Provides  directional confirmation  across time horizons
Filters false signals through timeframe alignment
 Why RoRD is Different & More Sophisticated 
 Beyond Traditional Indicators: 
 Acceleration vs. Velocity : While RSI measures momentum (velocity), RoRD measures momentum's rate of change (acceleration)
 Adaptive Thresholds : Z-score analysis adapts to market conditions rather than using fixed 70/30 levels
 Statistical Significance : Signals are based on mathematical rarity, not arbitrary levels
 Leading Indicator : RSI² often turns before price, providing earlier signals
 Reduced Whipsaws : T3 smoothing eliminates noise while maintaining responsiveness
 Unique Signal Generation: 
 Quantum Orbs : Multi-layered visual signals for statistically extreme events
 Divergence Detection : Automated identification of price/momentum divergences
 Regime Backgrounds : Visual market state classification (Bullish/Bearish/Neutral)
 Particle Effects : Dynamic visualization of momentum energy
 Visual Design & Interpretation Guide 
 Color Coding System: 
 Yellow (#e1ff00) : Neutral/balanced momentum state
 Red (#ff0000) : Overbought/extreme bullish acceleration
 Green (#2fff00) : Oversold/extreme bearish acceleration
 Orange : Z-score visualization
 Blue : HTF Z-score comparison
 Main Visual Elements: 
 RSI² Line with Glow Effect 
Multi-layer glow creates depth and emphasis
Color dynamically shifts based on momentum state
Line thickness indicates signal strength
 Quantum Signal Orbs 
 Green Orbs Below : Statistically rare oversold conditions
 Red Orbs Above : Statistically rare overbought conditions
Multiple layers indicate signal strength
Only appear at Z-score extremes for high-conviction signals
 Divergence Markers 
 Green Circles : Bullish divergence detected
 Red Circles : Bearish divergence detected
Plotted at pivot points for precision
 Background Regimes 
 Green Background : Bullish momentum regime
 Grey Background : Bearish momentum regime
 Blue Background : Neutral/transitioning regime
 Particle Effects 
Density indicates momentum energy
Color matches current RSI² state
Provides dynamic market "feel"
 Dashboard Metrics - Deep Dive 
 RSI² ANALYSIS Section: 
 RSI² Value (0-100) 
Current smoothed RSI of RSI reading
 >70 : Strong bullish acceleration
 <30 : Strong bearish acceleration
 ~50 : Neutral momentum state
 RSI¹ Value 
Traditional RSI for reference
Compare with RSI² for acceleration/deceleration insights
 Z-Score Status 
 🔥 EXTREME HIGH : Z > threshold, statistically rare bullish
 ❄️ EXTREME LOW : Z < threshold, statistically rare bearish
 📈 HIGH/📉 LOW : Elevated but not extreme
 ➡️ NEUTRAL : Normal statistical range
 MOMENTUM Section: 
 Velocity Indicator 
 ▲▲▲ : Strong positive acceleration
 ▼▼▼ : Strong negative acceleration
Shows rate of change in RSI²
 Strength Bar 
 ██████░░░░ : Visual power gauge
Filled bars indicate momentum strength
Based on deviation from center line
 SIGNALS Section: 
 Divergence Status 
 🟢 BULLISH DIV : Price making lows, RSI² making highs
 🔴 BEARISH DIV : Price making highs, RSI² making lows
 ⚪ NO DIVERGENCE : No divergence detected
 HTF Comparison 
 🔥 HTF EXTREME : Higher timeframe confirms extremity
 📊 HTF NORMAL : Higher timeframe is neutral
Critical for multi-timeframe confirmation
 Trading Application & Strategy 
 Signal Hierarchy (Highest to Lowest Priority): 
 Quantum Orb + HTF Alignment + Divergence 
Highest conviction reversal signal
Z-score extreme + timeframe confluence + divergence
 Quantum Orb + HTF Alignment 
Strong reversal signal
Wait for price confirmation
 Divergence + Regime Change 
Medium-term reversal signal
Monitor for orb confirmation
 Threshold Crosses 
Traditional overbought/oversold
Use as alert, not entry
 Entry Strategies: 
 For Reversals: 
Wait for Quantum Orb signal
Confirm with HTF Z-score direction
Enter on price structure break
Stop beyond recent extreme
 For Continuations: 
Trade with regime background color
Use RSI² pullbacks to center line
Avoid signals against HTF trend
 For Scalping: 
Focus on Z-score extremes
Quick entries on orb signals
Exit at center line cross
 Risk Management: 
 Reduce position size  when signals conflict with HTF
 Avoid trades  during regime transitions (blue background)
 Tighten stops  after divergence completion
 Scale out  at statistical mean reversion
 Development & Uniqueness 
RoRD represents months of research into momentum dynamics and statistical analysis. Unlike indicators that simply combine existing tools, RoRD introduces several  genuine innovations :
 True RSI² Implementation : Not a smoothed RSI, but actual RSI calculated on RSI values
 Dual Z-Score Normalization : Unique approach to finding statistical extremes
 T3 Integration : First RSI² implementation with T3 smoothing for optimal lag reduction
 Quantum Orb Visualization : Revolutionary signal display method
 Dynamic Regime Detection : Automatic market state classification
 Statistical Adaptability : Thresholds adapt to market volatility
This indicator was built from first principles, with each component carefully selected for its mathematical properties and practical trading utility. The result is a  professional-grade tool  that provides insights unavailable through traditional momentum analysis.
 Best Practices & Tips 
 Start with default settings  - they're optimized for most markets
 Always check HTF alignment  before taking signals
 Use divergences as early warning , orbs as confirmation
 Respect regime backgrounds  - trade with them, not against
 Combine with price action  - RoRD shows when, price shows where
 Adjust Z-score thresholds  based on market volatility
 Monitor dashboard metrics  for complete market context
 Conclusion 
RoRD isn't just another indicator—it's a  complete momentum analysis system  that reveals market dynamics invisible to traditional tools. By combining momentum acceleration, statistical analysis, and multi-timeframe confluence with intuitive visualization, RoRD provides traders with a sophisticated edge in any market condition.
Whether you're scalping rapid reversals or positioning for major trend changes, RoRD's unique approach to momentum analysis will transform how you see and trade market dynamics.
 See momentum's future. Trade with statistical edge. 
Trade with insight. Trade with anticipation.
— Dskyz, for DAFE Trading Systems
3 Bar Reversal3 Bar Reversal 
This pattern is described in John Carter's "Mastering the Trade"
The 3 Bar Reversal indicator is a simple but effective price action tool designed to highlight potential short-term reversals in market direction. It monitors consecutive bar behavior and identifies turning points based on a three-bar pattern. This tool can assist traders in spotting trend exhaustion or early signs of a reversal, particularly in scalping or short-term trading strategies.
 How It Works 
This indicator analyzes the relationship between consecutive bar closes:
It counts how many bars have passed since the price closed higher than the previous close (barssince(close >= close )) — referred to as an "up streak".
It also counts how many bars have passed since the price closed lower than the previous close (barssince(close <= close )) — known as a "down streak".
 A reversal condition is met when: 
There have been exactly 3 bars in a row moving in one direction (up or down), and
The 4th bar closes in the opposite direction.
When this condition is detected, the script performs two actions:
Plots a triangle on the chart to signal the potential reversal:
A green triangle below the bar for a possible long (buy) opportunity.
A red triangle above the bar for a possible short (sell) opportunity.
Triggers an alert condition so users can set notifications for when a reversal is detected.
 Interpretation 
Long Signal: The market has printed 3 consecutive lower closes, followed by a higher close — suggesting bullish momentum may be emerging.
Short Signal: The market has printed 3 consecutive higher closes, followed by a lower close — indicating possible bearish momentum.
These patterns are common in market retracements and can act as confirmation signals when used with other indicators such as RSI, MACD, support/resistance, or volume analysis.
 Usage Examples 
Scalping: Use the reversal signal to quickly enter short-term trades after a short-term exhaustion move.
Swing Trading: Combine this with trend indicators (e.g., moving averages) to time pullbacks within larger trends.
Confirmation Tool: Use this indicator alongside candlestick patterns or support/resistance zones to validate entry or exit points.
Alert Setup: Enable alerts based on the built-in alertcondition to receive instant notifications for potential trade setups.
 Limitations 
The 3-bar reversal logic does not guarantee a trend change; it signals potential reversals, which may need confirmation.
Best used in conjunction with broader context such as trend direction, market structure, or other technical indicators.
Mandelbrot-Fibonacci Cascade Vortex (MFCV)Mandelbrot-Fibonacci Cascade Vortex (MFCV) - Where Chaos Theory Meets Sacred Geometry 
 A Revolutionary Synthesis of Fractal Mathematics and Golden Ratio Dynamics 
What began as an exploration into Benoit Mandelbrot's fractal market hypothesis and the mysterious appearance of Fibonacci sequences in nature has culminated in a groundbreaking indicator that reveals the hidden mathematical structure underlying market movements. This indicator represents months of research into chaos theory, fractal geometry, and the golden ratio's manifestation in financial markets.
 The Theoretical Foundation 
 Mandelbrot's Fractal Market Hypothesis  Traditional efficient market theory assumes normal distributions and random walks. Mandelbrot proved markets are fractal - self-similar patterns repeating across all timeframes with power-law distributions. The MFCV implements this through:
 Hurst Exponent Calculation:  H = log(R/S) / log(n/2)
Where:
R = Range of cumulative deviations
S = Standard deviation
n = Period length
This measures market memory:
H > 0.5: Trending (persistent) behavior
H = 0.5: Random walk
H < 0.5: Mean-reverting (anti-persistent) behavior
 Fractal Dimension:  D = 2 - H
This quantifies market complexity, where higher dimensions indicate more chaotic behavior.
 Fibonacci Vortex Theory  Markets don't move linearly - they spiral. The MFCV reveals these spirals using Fibonacci sequences:
 Vortex Calculation:  Vortex(n) = Price + sin(bar_index × φ / Fn) × ATR(Fn) × Volume_Factor
Where:
φ = 0.618 (golden ratio)
Fn = Fibonacci number (8, 13, 21, 34, 55)
Volume_Factor = 1 + (Volume/SMA(Volume,50) - 1) × 0.5
This creates oscillating spirals that contract and expand with market energy.
 The Volatility Cascade System 
Markets exhibit volatility clustering - Mandelbrot's "Noah Effect." The MFCV captures this through cascading volatility bands:
 Cascade Level Calculation:  Level(i) = ATR(20) × φ^i
Each level represents a different fractal scale, creating a multi-dimensional view of market structure. The golden ratio spacing ensures harmonic resonance between levels.
 Implementation Architecture 
 Core Components: 
 Fractal Analysis Engine 
Calculates Hurst exponent over user-defined periods
Derives fractal dimension for complexity measurement
Identifies market regime (trending/ranging/chaotic)
 Fibonacci Vortex Generator 
Creates 5 independent spiral oscillators
Each spiral follows a Fibonacci period
Volume amplification creates dynamic response
 Cascade Band System 
Up to 8 volatility levels
Golden ratio expansion between levels
Dynamic coloring based on fractal state
 Confluence Detection 
Identifies convergence of vortex and cascade levels
Highlights high-probability reversal zones
Real-time confluence strength calculation
 Signal Generation Logic 
The MFCV generates two primary signal types:
 Fractal Signals:  Generated when:
Hurst > 0.65 (strong trend) AND volatility expanding
Hurst < 0.35 (mean reversion) AND RSI < 35
Trend strength > 0.4 AND vortex alignment
 Cascade Signals:  Triggered by:
RSI > 60 AND price > SMA(50) AND bearish vortex
RSI < 40 AND price < SMA(50) AND bullish vortex
Volatility expansion AND trend strength > 0.3
Both signals implement a 15-bar cooldown to prevent overtrading.
 Advanced Input System 
 Mandelbrot Parameters: 
 Cascade Levels (3-8): 
Controls number of volatility bands
Crypto: 5-7 (high volatility)
Indices: 4-5 (moderate volatility)
Forex: 3-4 (low volatility)
 Hurst Period (20-200): 
Lookback for fractal calculation
Scalping: 20-50
Day Trading: 50-100
Swing Trading: 100-150
Position Trading: 150-200
 Cascade Ratio (1.0-3.0): 
Band width multiplier
1.618: Golden ratio (default)
Higher values for trending markets
Lower values for ranging markets
 Fractal Memory (21-233): 
Fibonacci retracement lookback
Uses Fibonacci numbers for harmonic alignment
 Fibonacci Vortex Settings: 
 Spiral Periods: 
Comma-separated Fibonacci sequence
Fast: "5,8,13,21,34" (scalping)
Standard: "8,13,21,34,55" (balanced)
Extended: "13,21,34,55,89" (swing)
 Rotation Speed (0.1-2.0): 
Controls spiral oscillation frequency
0.618: Golden ratio (balanced)
Higher = more signals, more noise
Lower = smoother, fewer signals
 Volume Amplification: 
Enables dynamic spiral expansion
Essential for stocks and crypto
Disable for forex (no central volume)
 Visual System Architecture 
 Cascade Bands: 
Multi-level volatility envelopes
Gradient coloring from primary to secondary theme
Transparency increases with distance from price
Fill between bands shows fractal structure
 Vortex Spirals: 
5 Fibonacci-period oscillators
Blue above price (bullish pressure)
Red below price (bearish pressure)
Multiple display styles: Lines, Circles, Dots, Cross
 Dynamic Fibonacci Levels: 
Auto-updating retracement levels
Smart update logic prevents disruption near levels
Distance-based transparency (closer = more visible)
Updates every 50 bars or on volatility spikes
 Confluence Zones: 
Highlighted boxes where indicators converge
Stronger confluence = stronger support/resistance
Key areas for reversal trades
 Professional Dashboard System 
 Main Fractal Dashboard:  Displays real-time:
Hurst Exponent with market state
Fractal Dimension with complexity level
Volatility Cascade status
Vortex rotation impact
Market regime classification
Signal strength percentage
Active indicator levels
 Vortex Metrics Panel:  Shows:
Individual spiral deviations
Convergence/divergence metrics
Real-time vortex positioning
Fibonacci period performance
 Fractal Metrics Display:  Tracks:
Dimension D value
Market complexity rating
Self-similarity strength
Trend quality assessment
 Theory Guide Panel:  Educational reference showing:
Mandelbrot principles
Fibonacci vortex concepts
Dynamic trading suggestions
 Trading Applications 
 Trend Following: 
High Hurst (>0.65) indicates strong trends
Follow cascade band direction
Use vortex spirals for entry timing
Exit when Hurst drops below 0.5
 Mean Reversion: 
Low Hurst (<0.35) signals reversal potential
Trade toward vortex spiral convergence
Use Fibonacci levels as targets
Tighten stops in chaotic regimes
 Breakout Trading: 
Monitor cascade band compression
Watch for vortex spiral alignment
Volatility expansion confirms breakouts
Use confluence zones for targets
 Risk Management: 
Position size based on fractal dimension
Wider stops in high complexity markets
Tighter stops when Hurst is extreme
Scale out at Fibonacci levels
 Market-Specific Optimization 
 Cryptocurrency: 
Cascade Levels: 5-7
Hurst Period: 50-100
Rotation Speed: 0.786-1.2
Enable volume amplification
 Stock Indices: 
Cascade Levels: 4-5
Hurst Period: 80-120
Rotation Speed: 0.5-0.786
Moderate cascade ratio
 Forex: 
Cascade Levels: 3-4
Hurst Period: 100-150
Rotation Speed: 0.382-0.618
Disable volume amplification
 Commodities: 
Cascade Levels: 4-6
Hurst Period: 60-100
Rotation Speed: 0.5-1.0
Seasonal adjustment consideration
 Innovation and Originality 
The MFCV represents several breakthrough innovations:
 First Integration of Mandelbrot Fractals with Fibonacci Vortex Theory 
Unique synthesis of chaos theory and sacred geometry
Novel application of Hurst exponent to spiral dynamics
 Dynamic Volatility Cascade System 
Golden ratio-based band expansion
Multi-timeframe fractal analysis
Self-adjusting to market conditions
 Volume-Amplified Vortex Spirals 
Revolutionary spiral calculation method
Dynamic response to market participation
Multiple Fibonacci period integration
 Intelligent Signal Generation 
Cooldown system prevents overtrading
Multi-factor confirmation required
Regime-aware signal filtering
 Professional Analytics Dashboard 
Institutional-grade metrics display
Real-time fractal analysis
Educational integration
 Development Journey 
Creating the MFCV involved overcoming numerous challenges:
 Mathematical Complexity:  Implementing Hurst exponent calculations efficiently
 Visual Clarity:  Displaying multiple indicators without cluttering
 Performance Optimization:  Managing array operations and calculations
 Signal Quality:  Balancing sensitivity with reliability
 User Experience:  Making complex theory accessible
The result is an indicator that brings PhD-level mathematics to practical trading while maintaining visual elegance and usability.
 Best Practices and Guidelines 
 Start Simple:  Use default settings initially
 Match Timeframe:  Adjust parameters to your trading style
 Confirm Signals:  Never trade MFCV signals in isolation
 Respect Regimes:  Adapt strategy to market state
 Manage Risk:  Use fractal dimension for position sizing
 Color Themes 
Six professional themes included:
Fractal: Balanced blue/purple palette
Golden: Warm Fibonacci-inspired colors
Plasma: Vibrant modern aesthetics
Cosmic: Dark mode optimized
Matrix: Classic green terminal
Fire: Heat map visualization
 Disclaimer 
This indicator is for educational and research purposes only. It does not constitute financial advice. While the MFCV reveals deep market structure through advanced mathematics, markets remain inherently unpredictable. Past performance does not guarantee future results.
The integration of Mandelbrot's fractal theory with Fibonacci vortex dynamics provides unique market insights, but should be used as part of a comprehensive trading strategy. Always use proper risk management and never risk more than you can afford to lose.
 Acknowledgments 
Special thanks to Benoit Mandelbrot for revolutionizing our understanding of markets through fractal geometry, and to the ancient mathematicians who discovered the golden ratio's universal significance.
 "The geometry of nature is fractal... Markets are fractal too."  - Benoit Mandelbrot
 Revealing the Hidden Order in Market Chaos   Trade with Mathematical Precision. Trade with MFCV. 
— Created with passion for the TradingView community
Trade with insight. Trade with anticipation.
—  Dskyz , for DAFE Trading Systems
Reflexivity Resonance Factor (RRF) - Quantum Flow                          Reflexivity Resonance Factor (RRF) – Quantum Flow 
See the Feedback Loops. Anticipate the Regime Shift.
 What is the RRF – Quantum Flow? 
 The Reflexivity Resonance Factor (RRF) – Quantum Flow  is a next-generation market regime detector and energy oscillator, inspired by George Soros’ theory of reflexivity and modern complexity science. It is designed for traders who want to visualize the hidden feedback loops between market perception and participation, and to anticipate explosive regime shifts before they unfold.
Unlike traditional oscillators,  RRF  does not just measure price momentum or volatility. Instead, it models the dynamic feedback between how the market perceives itself (perception) and how it acts on that perception (participation). When these feedback loops synchronize, they create “resonance” – a state of amplified reflexivity that often precedes major market moves.
 Theoretical Foundation 
 Reflexivity:  Markets are not just driven by external information, but by participants’ perceptions and their actions, which in turn influence future perceptions. This feedback loop can create self-reinforcing trends or sudden reversals.
 Resonance:  When perception and participation align and reinforce each other, the market enters a high-energy, reflexive state. These “resonance” events often mark the start of new trends or the climax of existing ones.
 Energy Field:  The indicator quantifies the “energy” of the market’s reflexivity, allowing you to see when the crowd is about to act in unison.
 How RRF – Quantum Flow Works 
 Perception Proxy:  Measures the rate of change in price (ROC) over a configurable period, then smooths it with an EMA. This models how quickly the market’s collective perception is shifting.
 Participation Proxy:  Uses a fast/slow ATR ratio to gauge the intensity of market participation (volatility expansion/contraction).
 Reflexivity Core:  Multiplies perception and participation to model the feedback loop.
 Resonance Detection:  Applies Z-score normalization to the absolute value of reflexivity, highlighting when current feedback is unusually strong compared to recent history.
 Energy Calculation:  Scales resonance to a 0–100 “energy” value, visualized as a dynamic background.
 Regime Strength:  Tracks the percentage of bars in a lookback window where resonance exceeded the threshold, quantifying the persistence of reflexive regimes.
 Inputs: 
 🧬 Core Parameters 
 Perception Period (pp_roc_len, default 14):  Lookback for price ROC.
 Lower (5–10):  More sensitive, for scalping (1–5min).
 Default (14):  Balanced, for 15min–1hr.
 Higher (20–30):  Smoother, for 4hr–daily.
 Perception Smooth (pp_smooth_len, default 7):  EMA smoothing for perception.
 Lower (3–5):  Faster, more detail.
 Default (7):  Balanced.
 Higher (10–15):  Smoother, less noise.
 Participation Fast (prp_fast_len, default 7):  Fast ATR for immediate volatility.
 5–7:  Scalping.
 7–10:  Day trading.
 10–14:  Swing trading.
 Participation Slow (prp_slow_len, default 21):  Slow ATR for baseline volatility.
Should be 2–4x fast ATR.
Default (21): Works with fast=7.
 ⚡ Signal Configuration 
 Resonance Window (res_z_window, default 50):  Z-score lookback for resonance normalization.
 20–30:  More reactive.
 50:  Medium-term.
 100+:  Very stable.
 Primary Threshold (rrf_threshold, default 1.5):  Z-score level for “Active” resonance.
 1.0–1.5:  More signals.
 1.5:  Balanced.
 2.0+:  Only strong signals.
 Extreme Threshold (rrf_extreme, default 2.5):  Z-score for “Extreme” resonance.
 2.5:  Major regime shifts.
 3.0+:  Only the most extreme.
 Regime Window (regime_window, default 100):  Lookback for regime strength (% of bars with resonance spikes).
 Higher:  More context, slower.
 Lower:  Adapts quickly.
🎨 Visual Settings
 Show Resonance Flow (show_flow, default true):  Plots the main resonance line with glow effects.
 Show Signal Particles (show_particles, default true):  Circular markers at active/extreme resonance points.
 Show Energy Field (show_energy, default true):  Background color based on resonance energy.
 Show Info Dashboard (show_dashboard, default true):  Status panel with resonance metrics.
 Show Trading Guide (show_guide, default true):  On-chart quick reference for interpreting signals.
 Color Mode (color_mode, default "Spectrum"):  Visual theme for all elements.
 “Spectrum”:  Cyan→Magenta (high contrast)
 “Heat”:  Yellow→Red (heat map)
 “Ocean”:  Blue gradients (easy on eyes)
 “Plasma”:  Orange→Purple (vibrant)
 Color Schemes 
Dynamic color gradients are used for all plots and backgrounds, adapting to both resonance  intensity and direction: 
 Spectrum:  Cyan/Magenta for bullish/bearish resonance.
 Heat:  Yellow/Red for bullish, Blue/Purple for bearish.
 Ocean:  Blue gradients for both directions.
 Plasma:  Orange/Purple for high-energy states.
 Glow and aura effects:  The resonance line is layered with multiple glows for depth and signal strength.
 Background energy field:  Darker = higher energy = stronger reflexivity.
 Visual Logic 
 Main Resonance Line:  Shows the smoothed resonance value, color-coded by direction and intensity.
 Glow/Aura:  Multiple layers for visual depth and to highlight strong signals.
 Threshold Zones:  Dotted lines and filled areas mark “Active” and “Extreme” resonance zones.
 Signal Particles:  Circular markers at each “Active” (primary threshold) and “Extreme” (extreme threshold) event.
 Dashboard:  Top-right panel shows current status (Dormant, Building, Active, Extreme), resonance value, energy %, and regime strength.
 Trading Guide:  Bottom-right panel explains all states and how to interpret them.
 How to Use RRF – Quantum Flow 
 Dormant (💤):  Market is in equilibrium. Wait for resonance to build.
 Building (🌊):  Resonance is rising but below threshold. Prepare for a move.
 Active (🔥):  Resonance exceeds primary threshold. Reflexivity is significant—consider entries or exits.
 Extreme (⚡):  Resonance exceeds extreme threshold. Major regime shift likely—watch for trend acceleration or reversal.
 Energy >70%:  High conviction, crowd is acting in unison.
 Above 0:  Bullish reflexivity (positive feedback).
 Below 0:  Bearish reflexivity (negative feedback).
 Regime Strength:  % of bars in “Active” state—higher = more persistent regime.
 Tips: 
- Use lower lookbacks for scalping, higher for swing trading.
- Combine with price action or your own system for confirmation.
- Works on all assets and timeframes—tune to your style.
 Alerts 
 RRF Activation:  Resonance crosses above primary threshold.
 RRF Extreme:  Resonance crosses above extreme threshold.
 RRF Deactivation:  Resonance falls below primary threshold.
 Originality & Usefulness 
 RRF – Quantum Flow  is not a mashup of existing indicators. It is a novel oscillator that models the feedback loop between perception and participation, then quantifies and visualizes the resulting resonance. The multi-layered color logic, energy field, and regime strength dashboard are unique to this script. It is designed for anticipation, not confirmation—helping you see regime shifts before they are obvious in price.
 Chart Info 
 Script Name:  Reflexivity Resonance Factor (RRF) – Quantum Flow
 Recommended Use:  Any asset, any timeframe. Tune parameters to your style.
 Disclaimer 
This script is for research and educational purposes only. It does not provide financial advice or direct buy/sell signals. Always use proper risk management and combine with your own strategy. Past performance is not indicative of future results.
Trade with insight. Trade with anticipation.
—  Dskyz , for DAFE Trading Systems
ATR Overlay with Trailing Flip [ask2maniish]📘 ATR Overlay with Trailing Flip  
🔍 Overview
The ATR Overlay with Trailing Flip is a dynamic, visually-enhanced overlay indicator designed to assist traders in trend detection, trailing stop management, and volatility-based decision making. It leverages the Average True Range (ATR) with optional dynamic multipliers, filters, and alerts to enhance trade execution precision.
⚙️ Features Summary
✅ Static & dynamic ATR multiplier
✅ Customizable trailing stop logic
✅ Volume & Bollinger Band filters
✅ Buy/Sell label signals with alerts
✅ ATR bands with color fill
✅ Optional candle coloring based on trend
✅ Table showing current ATR multiplier
✅ Fully customizable visual controls
🔧 User Inputs
📘 Info Panel
ATR Usage Guide
Tooltip with trading-style recommendations:
Scalping: ATR 5–10,  Intraday: ATR 10–14 , Swing: ATR 14–21 , Position: ATR 21–50
📊 Visual Elements
📈 Plots
Upper/Lower ATR Bands
ATR Fill Zone
Dynamic Trailing Stop Line
🕯 Candle Coloring
Candles colored green (uptrend) or red (downtrend)
Wick coloring matches body
🏷 Signal Labels
"BUY" below candle when trend flips up
"SELL" above candle when trend flips down
📊 Table (Top Right)
Displays current multiplier value:
If static: Static: x.x
If dynamic: percentage format based on ATR ratio
🔔 Alerts
Two alert conditions:
Flip to Long → "📈 ATR flip to LONG"
Flip to Short → "📉 ATR flip to SHORT"
Sound can be enabled for real-time feedback.
🧠 Best Practices
Combine this tool with support/resistance or order flow indicators
Use dynamic ATR during volatile periods for better adaptability
Filter signals in ranging markets with BBand Width Filter
For scalping, reduce ATR period and multiplier for tighter risk
🛠️ Customization Tips
Adjust trailingPeriod for tighter/looser stops
Use color inputs to match your charting theme
Disable features (labels/fill) to declutter chart
Volume-Weighted Pivot BandsThe Volume-Weighted Pivot Bands are meant to be a dynamic, rolling pivot system designed to provide traders with responsive support and resistance levels that adapt to both price volatility and volume participation. Unlike traditional daily pivot levels, this tool recalculates levels bar-by-bar using a rolling window of volume-weighted averages, making it highly relevant for intraday traders, scalpers, swing traders, and algorithmic systems alike.
-- What This Indicator Does -- 
This tool calculates a rolling VWAP-based pivot level, and surrounds that central pivot with up to five upper bands (R1–R5) and five lower bands (S1–S5). These act as dynamic zones of potential resistance (R) and support (S), adapting in real time to price and volume changes.
Rather than relying on static session or daily data, this indicator provides continually evolving levels, offering more relevant levels during sideways action, trending periods, and breakout conditions.
-- How the Bands Are Calculated --
Pivot (VWAP Pivot):
The core of this system is a rolling Volume-Weighted Average Price, calculated over a user-defined window (default 20 bars). This ensures that each bar’s price impact is weighted by its volume, giving a more accurate view of fair value during the selected lookback.
Volume-Weighted Range (VW Range):
The highest high and lowest low over the same window are used to calculate the volatility range — this acts as a spread factor.
Support & Resistance Bands (S1–S5, R1–R5):
The bands are offset above and below the pivot using multiples of the VW Range:
R1 = Pivot + (VW Range × multiplier)
R2 = R1 + (VW Range × multiplier)
R3 = R2 + (VW Range x multiplier)
...
S1 = Pivot − (VW Range × multiplier)
S2 = S1 − (VW Range × multiplier)
S3 = S2 - (VW Range x multiplier)
...
You can control the multiplier manually (default is 0.25), to widen or tighten band spacing.
Smoothing (Optional):
To prevent erratic movements, you can optionally toggle on/off a simple moving average to the pivot line (default length = 20), providing a smoother trend base for the bands.
-- How to Use It --
This indicator can be used for:
Support and resistance identification:
Price often reacts to R1/S1, and the outer bands (R4/R5 or S4/S5) act as overshoot zones or strong reversal areas.
Trend context:
If price is respecting upper bands (R2–R3), the trend is likely bullish. If price is pressing into S3 or lower, it may indicate sustained selling pressure or a breakdown.
Volatility framing:
The distance between bands adjusts based on price range over the rolling window. In tighter markets, the bands compress — in volatile moves, they expand. This makes the indicator self-adaptive.
Mean reversion trades:
A move into R4/R5 or S4/S5 without continuation can be a sign of exhaustion — potential for reversal toward the pivot.
Alerting:
Built-in alerts are available for crosses of all major bands (R1–R5, S1–S5), enabling trade automation or scalp alerts with ease.
-- Visual Features --
Fuchsia Lines: Mark all Resistance (R1–R5) levels.
Lime Lines: Mark all Support (S1–S5) levels.
Gray Circle Line: Marks the rolling pivot (VWAP-based).
-- Customizable Settings --
Rolling Length: Number of bars used to calculate VWAP and VW Range.
Multiplier: Controls how wide the bands are spaced.
Smooth Pivot: Toggle on/off to smooth the central pivot.
Pivot Smoothing Length: Controls how many bars to average when smoothing is enabled.
Offset: Visually shift all bands forward/backward in time.
-- Why Use This Over Standard Pivots? --
Traditional pivots are based on previous session data and remain fixed. That’s useful for static setups, but may become irrelevant as price action evolves. In contrast:
This system updates every bar, adjusting to current price behavior.
It includes volume — a key feature missing from most static pivots.
It shows multiple bands, giving a full view of compression, breakout potential, or trend exhaustion.
-- Who Is This For? --
This tool is ideal for:
Day traders & scalpers who need relevant intraday levels.
Swing traders looking for evolving areas of confluence.
Algorithmic/systematic traders who rely on quantifiable, volume-aware support/resistance.
Traders on all assets: works on crypto, stocks, futures, forex — any chart that has volume.
Smart Market Matrix Smart Market Matrix 
 This indicator is designed for intraday, scalping, providing automated detection of price pivots, liquidity traps, and breakout confirmations, along with a context dashboard featuring volatility, trend, and volume.
## Summary Description
### Menu Settings & Their Roles
- **Swing Pivot Strength**: Controls the sensitivity for detecting High/Low pivots.
- **Show Pivot Points**: Toggles the display of HH/LL markers on the chart.
- **VWMA Length for Trap Volume** & **Volume Spike Multiplier**: Identify concentrated volume spikes for liquidity traps.
- **Wick Ratio Threshold** & **Max Body Size Ratio**: Detect candles with disproportionate wicks and small bodies (doji-ish) for traps.
- **ATR Length for Trap**: Measures volatility specific to trap detection.
- **VWMA Length for Breakout Volume**, **ATR Multiplier for Breakout**, **ATR Length for Breakout**, **Min Body/Range Ratio**: Set adaptive breakout thresholds based on volatility and volume.
- **OBV Smooth Length**: Smooths OBV momentum for breakout confirmation.
- **Enable VWAP Filter for Confirmations**: Optionally validate breakouts against the VWAP.
- **Enable Higher-TF Trend Filter** & **Trend Filter Timeframe**: Align breakout signals with the 1h/4h/Daily trend.
- **ADX Length**, **EMA Fast/Slow Length for Context**: Parameters for the context dashboard (Volatility, Trend, Volume).
- **Show Intraday VWAP Line**, **VWAP Line Color/Width**: Display the intraday VWAP line with custom style.
### Signal Interpretation Map
| Signal                             | Description                                               | Recommended Action                       |
|--------------------------------|-----------------------------------------------------------|-------------------------------------------|
| 📌 **HH / LL (pivot)**  | Market structure (support/resistance)                     | Note key levels                           |
| **Bull Trap(green diamond)** | Sweep down + volume spike + wick + rejection | Go long with trend filter
| **Bear Trap(red diamond)**   | Sweep up + volume spike + wick + rejection | Go short with trend filter
| 🔵⬆️ **Breakout Confirmed Up** | Close > ATR‑scaled high + volume + OBV↑ | Go long with trend filter                |
| 🔵⬇️ **Breakout Confirmed Down** | Close < ATR‑scaled low + volume + OBV↓                    | Go short with trend filter               |
| 📊 **VWAP Line**                | Intraday reference to guide price                        | Use as dynamic support/resistance         |
| ⚡ **Volatility**               | ATR ratio High/Med/Low                                    | Adjust position size                      |
| 📈 **Trend Context**            | ADX+EMA Strong/Moderate/Weak                              | Confirm trend direction                   |
| 🔍 **Volume Context**           | Breakout / Rising / Falling / Calm                        | Check volume momentum                     |
*This summary gives you a quick overview of the key settings and how to interpret signals for efficient intraday scalping.*
### Suggested Settings
- **Intraday Scalping (5m–15m)**
  - `Swing Pivot Strength = 5`
  - `VWMA Length for Trap Volume = 10`, `Volume Spike Multiplier = 1.6`
  - `ATR Length for Trap = 7`
  - `VWMA Length for Breakout Volume = 12`, `ATR Length for Breakout = 9`, `ATR Multiplier for Breakout = 0.5`
  - `Min Body/Range Ratio for Breakout = 0.5`, `OBV Smooth Length = 7`
  - `Enable Higher-TF Trend Filter = true` (TF = 60)
  - `Show Intraday VWAP Line = true` (Color = orange, Width = 2)
- **Swing Trading (4h–Daily)**
  - `Swing Pivot Strength = 10`
  - `VWMA Length for Trap Volume = 20`, `Volume Spike Multiplier = 2.0`
  - `ATR Length for Trap = 14`
  - `VWMA Length for Breakout Volume = 30`, `ATR Length for Breakout = 14`, `ATR Multiplier for Breakout = 0.8`
  - `Min Body/Range Ratio for Breakout = 0.7`, `OBV Smooth Length = 14`
  - `Enable Higher-TF Trend Filter = true` (TF = D)
  - `Show Intraday VWAP Line = false`
*Adjust these values based on the symbol and market volatility for optimal performance.*
Altcoin Reversal or Correction DetectionINDICATOR OVERVIEW: Altcoin Reversal or Correction Detection 
Altcoin Reversal or Correction Detection is a powerful crypto-specific indicator designed exclusively for altcoins by analyzing their RSI values across multiple timeframes alongside Bitcoin’s RSI. Since BTC's price movements have a strong influence on altcoins, this tool helps traders better understand whether a reversal or correction signal is truly reliable or just noise. Even if an altcoin appears oversold or overbought, it may continue trending with BTC—so this indicator gives you the full picture.
The indicator is optimized for  CRYPTO MARKETS  only. Not suitable for  BTC  itself—this is a precision tool built only for ALTCOINS only.
This indicator is not only for signals but also serves as a tool for observing all the information from different timeframes of BTC and altcoins collectively.
 How the Calculation Works: Algorithm Overview 
The Altcoin Reversal or Correction Detection indicator relies on an algorithm that compares the RSI values of the altcoin across multiple timeframes with Bitcoin's RSI values. This allows the indicator to identify key market moments where a reversal or correction might occur.
BTC-Altcoin RSI Correlation: The algorithm looks for the correlation between Bitcoin's price movements and the altcoin's price actions, as BTC often influences the direction of altcoins. When both Bitcoin and the altcoin show either overbought or oversold conditions in a significant number of timeframes, the indicator signals the potential for a reversal or correction.
Multi-Timeframe Confirmation: Unlike traditional indicators that may focus on a single timeframe, this tool checks multiple timeframes for both BTC and the altcoin. When the same overbought/oversold conditions are met across multiple timeframes, it confirms the likelihood of a trend reversal or correction, providing a more reliable signal. The more timeframes that align with this pattern, the stronger the signal becomes.
Overbought/Oversold Conditions & Extreme RSI Values: The algorithm also takes into account the size of the RSI values, especially focusing on extreme overbought and oversold levels. The greater the RSI values are in these extreme regions, the stronger the potential reversal or correction signal. This means that not only do multiple timeframes need to confirm the condition, but the magnitude of the overbought or oversold RSI level plays a crucial role in determining the strength of the signal.
Signal Strength Levels: The signals are classified into three levels:
 Early Signal 
 Strong Signal 
 Very Strong Signal 
By taking into account the multi-timeframe analysis of both BTC and the altcoin RSI values, along with the magnitude of these RSI values, the indicator offers a highly reliable method for detecting potential reversals and corrections.
 Who Is This Indicator Suitable For? 
This indicator can also be used to detect reversal points, but it is especially effective for scalping. It highlights potential correction points, making it perfect for quick entries during smaller market pullbacks or short-term trend shifts, which is more suitable for scalpers looking to capitalize on short-term movements
 Integration with other tools 
Use this tool alongside key  Support and Resistance zones  to further enhance your trade by filtering for even better quality entries and focusing only on high-quality reversal or correction setups. It can be also used with other indicators and suitable with other personalised strategies.
Multi-timeframe Moving Average Overlay w/ Sentiment Table🔍 Overview 
This indicator overlays selected moving averages (MA) from multiple timeframes directly onto the chart and provides a dynamic sentiment table that summarizes the relative bullish or bearish alignment of short-, mid-, and long-term moving averages.
It supports seven moving average types — including traditional and advanced options like DEMA, TEMA, and HMA — and provides visual feedback via table highlights and alerts when strong momentum alignment is detected.
This tool is designed to support traders who rely on multi-timeframe analysis for trend confirmation, momentum filtering, and high-probability entry timing.
 ⚙️ Core Features 
Multi-Timeframe MA Overlay:
Plot moving averages from 1-minute, 5-minute, 1-hour, 1-day, 1-week, and 1-month timeframes on the same chart for visual trend alignment.
Customizable MA Type:
Choose from:
 
 EMA (Exponential Moving Average)
 SMA (Simple Moving Average)
 DEMA (Double EMA)
 TEMA (Triple EMA)
 WMA (Weighted MA)
 VWMA (Volume-Weighted MA)
 HMA (Hull MA)
 
Adjustable MA Length:
Change the length of all moving averages globally to suit your strategy (e.g. 9, 21, 50, etc.).
Sentiment Table:
Visually track trend sentiment across four key zones (Hourly, Daily, Weekly, Monthly). Each is based on the relative positioning of short-term and long-term MAs.
Sentiment Symbols Explained:
 
 ↑↑↑: Strong bullish momentum (short-term MAs stacked above longer-term MAs)
 ↑↑ / ↑: Moderate bullish bias
 ↓↓↓: Strong bearish momentum
 ↓↓ / ↓: Moderate bearish bias
 
Table Customization:
Choose the table’s position on the chart (bottom right, top right, bottom left, top left).
Style Customization:
Display MA lines as standard Line or Stepline format.
Color Customization:
Individual colors for each timeframe MA line for visual clarity.
Built-in Alerts:
Receive alerts when strong bullish (↑↑↑) or bearish (↓↓↓) sentiment is detected on any timeframe block.
 📈 Use Cases 
1. Trend Confirmation:
Use sentiment alignment across multiple timeframes to confirm the overall trend direction before entering a trade.
2. Entry Timing:
Wait for a shift from neutral to strong bullish or bearish sentiment to time entries during pullbacks or breakouts.
3. Momentum Filtering:
Only trade in the direction of the dominant multi-timeframe trend. For example, ignore long setups when all sentiment blocks show bearish alignment.
4. Swing & Intraday Scalping:
Use hourly and daily sentiment zones for swing trades, or rely on 1m/5m MAs for precise scalping decisions in fast-moving markets.
5. Strategy Layering:
Combine this overlay with support/resistance, RSI, or volume-based signals to enhance decision-making with multi-timeframe context.
 ⚠️ Important Notes 
Lower-timeframe values (1m, 5m) may appear static on higher-timeframe charts due to resolution limits in TradingView. This is expected behavior.
The indicator uses MA stacking, not crossover events, to determine sentiment.
Pullback SARPullback SAR - Parabolic SAR with Pullback Detection
Description: The "Pullback SAR" is an advanced indicator built on the classic Parabolic SAR but with additional functionality for detecting pullbacks. It helps identify moments when the price pulls back from the main trend, offering potential entry signals. Perfect for traders looking to enter the market after a correction.
Key Features:
    SAR (Parabolic SAR): The Parabolic SAR indicator is used to determine potential trend reversal points. It marks levels where the price could reverse its direction.
    Pullback Detection: The indicator catches periods when the price moves away from the main trend and then returns, which may suggest a re-entry opportunity.
    Long and Short Signals: Once a pullback in the direction of the main trend is identified, the indicator generates signals that could be used to open positions.
    Simple and Clear Construction: The indicator is based on the classic SAR, with added pullback detection logic to enhance the accuracy of the signals.
Parameters:
    Start (SAR Step): Determines the initial step for the SAR calculation, which controls the rate of change in the indicator at the beginning.
    Increment (SAR Increment): Defines the maximum step size for SAR, allowing traders to adjust the indicator’s sensitivity to market volatility.
    Max Value (SAR Max): Sets the upper limit for the SAR value, controlling its volatility.
Usage:
    Swing Trading: Ideal for swing strategies, aiming to capture larger price moves while maintaining a safe margin.
    Scalping: Due to its precise pullback detection, it can also be used in scalping, especially when the price quickly returns to the main trend.
    Risk Management: The combination of SAR and pullback detection allows traders to adjust their positions according to changing market conditions.
Special Notes:
    Adjusting Parameters: Depending on the market and trading style, users can adjust the SAR parameters (Start, Increment, Max Value) to fit their needs.
    Combination with Other Indicators: It's recommended to use the indicator alongside other technical analysis tools (e.g., EMA, RSI) to enhance the accuracy of the signals.
Link to the script: This open-source version of the indicator is available on TradingView, enabling full customization and adjustments to meet your personal trading strategy. Share your experiences and suggestions!
Range Filter Buy and Sell 5min## **Enhanced Range Filter Strategy: A Comprehensive Overview**  
### **1. Introduction**  
The **Enhanced Range Filter Strategy** is a powerful technical trading system designed to identify high-probability trading opportunities while filtering out market noise. It utilizes **range-based trend filtering**, **momentum confirmation**, and **volatility-based risk management** to generate precise entry and exit signals. This strategy is particularly useful for traders who aim to capitalize on trend-following setups while avoiding choppy, ranging market conditions.
---
### **2. Key Components of the Strategy**  
#### **A. Range Filter (Trend Determination)**
- The **Range Filter** smooths price fluctuations and helps identify clear trends.  
- It calculates an **adjusted price range** based on a **sampling period** and a **multiplier**, ensuring a dynamic trend-following approach.  
- **Uptrends:** When the current price is above the range filter and the trend is strengthening.  
- **Downtrends:** When the price falls below the range filter and momentum confirms the move.  
#### **B. RSI (Relative Strength Index) as Momentum Confirmation**  
- RSI is used to **filter out weak trades** and prevent entries during overbought/oversold conditions.  
- **Buy Signals:** RSI is above a certain threshold (e.g., 50) in an uptrend.  
- **Sell Signals:** RSI is below a certain threshold (e.g., 50) in a downtrend.  
#### **C. ADX (Average Directional Index) for Trend Strength Confirmation**  
- ADX ensures that trades are only taken when the trend has **sufficient strength**.  
- Avoids trading in low-volatility, ranging markets.  
- **Threshold (e.g., 25):** Only trade when ADX is above this value, indicating a strong trend.  
#### **D. ATR (Average True Range) for Risk Management**  
- **Stop Loss (SL):** Placed **one ATR below** (for long trades) or **one ATR above** (for short trades).  
- **Take Profit (TP):** Set at a **3:1 reward-to-risk ratio**, using ATR to determine realistic price targets.  
- Ensures volatility-adjusted risk management.  
---
### **3. Entry and Exit Conditions**  
#### **📈 Buy (Long) Entry Conditions:**  
1. **Price is above the Range Filter** → Indicates an uptrend.  
2. **Upward trend strength is positive** (confirmed via trend counter).  
3. **RSI is above the buy threshold** (e.g., 50, to confirm momentum).  
4. **ADX confirms trend strength** (e.g., above 25).  
5. **Volatility is supportive** (using ATR analysis).  
#### **📉 Sell (Short) Entry Conditions:**  
1. **Price is below the Range Filter** → Indicates a downtrend.  
2. **Downward trend strength is positive** (confirmed via trend counter).  
3. **RSI is below the sell threshold** (e.g., 50, to confirm momentum).  
4. **ADX confirms trend strength** (e.g., above 25).  
5. **Volatility is supportive** (using ATR analysis).  
#### **🚪 Exit Conditions:**  
- **Stop Loss (SL):**  
  - **Long Trades:** 1 ATR below entry price.  
  - **Short Trades:** 1 ATR above entry price.  
- **Take Profit (TP):**  
  - Set at **3x the risk distance** to achieve a favorable risk-reward ratio.  
- **Ranging Market Exit:**  
  - If ADX falls below the threshold, indicating a weakening trend.  
---
### **4. Visualization & Alerts**  
- **Colored range filter line** changes based on trend direction.  
- **Buy and Sell signals** appear as labels on the chart.  
- **Stop Loss and Take Profit levels** are plotted as dashed lines.  
- **Gray background highlights ranging markets** where trading is avoided.  
- **Alerts trigger on Buy, Sell, and Ranging Market conditions** for automation.  
---
### **5. Advantages of the Enhanced Range Filter Strategy**  
✅ **Trend-Following with Noise Reduction** → Helps avoid false signals by filtering out weak trends.  
✅ **Momentum Confirmation with RSI & ADX** → Ensures that only strong, valid trades are executed.  
✅ **Volatility-Based Risk Management** → ATR ensures adaptive stop loss and take profit placements.  
✅ **Works on Multiple Timeframes** → Effective for day trading, swing trading, and scalping.  
✅ **Visually Intuitive** → Clearly displays trade signals, SL/TP levels, and trend conditions.  
---
### **6. Who Should Use This Strategy?**  
✔ **Trend Traders** who want to enter trades with momentum confirmation.  
✔ **Swing Traders** looking for medium-term opportunities with a solid risk-reward ratio.  
✔ **Scalpers** who need precise entries and exits to minimize false signals.  
✔ **Algorithmic Traders** using alerts for automated execution.  
---
### **7. Conclusion**  
The **Enhanced Range Filter Strategy** is a powerful trading tool that combines **trend-following techniques, momentum indicators, and risk management** into a structured, rule-based system. By leveraging **Range Filters, RSI, ADX, and ATR**, traders can improve trade accuracy, manage risk effectively, and filter out unfavorable market conditions.  
This strategy is **ideal for traders looking for a systematic, disciplined approach** to capturing trends while **avoiding market noise and false breakouts**. 🚀
Enhanced Range Filter Strategy with ATR TP/SLBuilt by Omotola
## **Enhanced Range Filter Strategy: A Comprehensive Overview**  
### **1. Introduction**  
The **Enhanced Range Filter Strategy** is a powerful technical trading system designed to identify high-probability trading opportunities while filtering out market noise. It utilizes **range-based trend filtering**, **momentum confirmation**, and **volatility-based risk management** to generate precise entry and exit signals. This strategy is particularly useful for traders who aim to capitalize on trend-following setups while avoiding choppy, ranging market conditions.
---
### **2. Key Components of the Strategy**  
#### **A. Range Filter (Trend Determination)**
- The **Range Filter** smooths price fluctuations and helps identify clear trends.  
- It calculates an **adjusted price range** based on a **sampling period** and a **multiplier**, ensuring a dynamic trend-following approach.  
- **Uptrends:** When the current price is above the range filter and the trend is strengthening.  
- **Downtrends:** When the price falls below the range filter and momentum confirms the move.  
#### **B. RSI (Relative Strength Index) as Momentum Confirmation**  
- RSI is used to **filter out weak trades** and prevent entries during overbought/oversold conditions.  
- **Buy Signals:** RSI is above a certain threshold (e.g., 50) in an uptrend.  
- **Sell Signals:** RSI is below a certain threshold (e.g., 50) in a downtrend.  
#### **C. ADX (Average Directional Index) for Trend Strength Confirmation**  
- ADX ensures that trades are only taken when the trend has **sufficient strength**.  
- Avoids trading in low-volatility, ranging markets.  
- **Threshold (e.g., 25):** Only trade when ADX is above this value, indicating a strong trend.  
#### **D. ATR (Average True Range) for Risk Management**  
- **Stop Loss (SL):** Placed **one ATR below** (for long trades) or **one ATR above** (for short trades).  
- **Take Profit (TP):** Set at a **3:1 reward-to-risk ratio**, using ATR to determine realistic price targets.  
- Ensures volatility-adjusted risk management.  
---
### **3. Entry and Exit Conditions**  
#### **📈 Buy (Long) Entry Conditions:**  
1. **Price is above the Range Filter** → Indicates an uptrend.  
2. **Upward trend strength is positive** (confirmed via trend counter).  
3. **RSI is above the buy threshold** (e.g., 50, to confirm momentum).  
4. **ADX confirms trend strength** (e.g., above 25).  
5. **Volatility is supportive** (using ATR analysis).  
#### **📉 Sell (Short) Entry Conditions:**  
1. **Price is below the Range Filter** → Indicates a downtrend.  
2. **Downward trend strength is positive** (confirmed via trend counter).  
3. **RSI is below the sell threshold** (e.g., 50, to confirm momentum).  
4. **ADX confirms trend strength** (e.g., above 25).  
5. **Volatility is supportive** (using ATR analysis).  
#### **🚪 Exit Conditions:**  
- **Stop Loss (SL):**  
  - **Long Trades:** 1 ATR below entry price.  
  - **Short Trades:** 1 ATR above entry price.  
- **Take Profit (TP):**  
  - Set at **3x the risk distance** to achieve a favorable risk-reward ratio.  
- **Ranging Market Exit:**  
  - If ADX falls below the threshold, indicating a weakening trend.  
---
### **4. Visualization & Alerts**  
- **Colored range filter line** changes based on trend direction.  
- **Buy and Sell signals** appear as labels on the chart.  
- **Stop Loss and Take Profit levels** are plotted as dashed lines.  
- **Gray background highlights ranging markets** where trading is avoided.  
- **Alerts trigger on Buy, Sell, and Ranging Market conditions** for automation.  
---
### **5. Advantages of the Enhanced Range Filter Strategy**  
✅ **Trend-Following with Noise Reduction** → Helps avoid false signals by filtering out weak trends.  
✅ **Momentum Confirmation with RSI & ADX** → Ensures that only strong, valid trades are executed.  
✅ **Volatility-Based Risk Management** → ATR ensures adaptive stop loss and take profit placements.  
✅ **Works on Multiple Timeframes** → Effective for day trading, swing trading, and scalping.  
✅ **Visually Intuitive** → Clearly displays trade signals, SL/TP levels, and trend conditions.  
---
### **6. Who Should Use This Strategy?**  
✔ **Trend Traders** who want to enter trades with momentum confirmation.  
✔ **Swing Traders** looking for medium-term opportunities with a solid risk-reward ratio.  
✔ **Scalpers** who need precise entries and exits to minimize false signals.  
✔ **Algorithmic Traders** using alerts for automated execution.  
---
### **7. Conclusion**  
The **Enhanced Range Filter Strategy** is a powerful trading tool that combines **trend-following techniques, momentum indicators, and risk management** into a structured, rule-based system. By leveraging **Range Filters, RSI, ADX, and ATR**, traders can improve trade accuracy, manage risk effectively, and filter out unfavorable market conditions.  
This strategy is **ideal for traders looking for a systematic, disciplined approach** to capturing trends while **avoiding market noise and false breakouts**. 🚀






















