SD-Range Oscillator | QuantEdgeBSD-Range Oscillator | QuantEdgeB
🔍 Overview
SD-Range Oscillator | QuantEdgeB (SDRO) is a normalized momentum oscillator that compresses a low-lag trend core into a 0–100 style range using standard-deviation (SD) bands. It builds a smooth baseline from a fast triple-smoothed average, wraps it with ±2×SD volatility bounds, then normalizes the core value inside that envelope. Clear Long/Short regimes trigger when the normalized value crosses user-defined thresholds, with optional labels, regime-colored candles, and intuitive filled zones.
✨ Key Features
1.⚡ Low-Lag Core (Triple-Smooth Engine)
- Uses a fast, low-lag triple-smoothed average as the oscillator’s primary signal input.
- Helps keep momentum readings responsive while filtering noise.
2. 📏 SD Volatility Envelope (±2×SD)
- Builds a volatility channel around a smoothed baseline using standard deviation.
- Automatically adapts to changing market turbulence.
3. 🧮 Normalized Range Output
- Converts the core signal into a normalized value by mapping it between the upper/lower SD bounds.
- Makes readings consistent across assets and timeframes.
4. 🎯 Threshold-Based Regimes
- Long when the normalized value exceeds the Long threshold.
- Short when it falls below the Short threshold.
- Includes an additional safety filter to reduce “forced” longs when price is already extended near the upper envelope.
5. 🎨 Visual Clarity & Zones
- Regime-colored oscillator line and candles.
- Filled SD bands around the baseline for quick volatility context.
- Optional highlight fills between the oscillator and thresholds to show active long/short phases.
- Extra OB/OS background zones for quick overextension awareness.
6. 🔔 Signals & Alerts
- Optional “Long/Short” labels on confirmed regime flips.
- Alert conditions fire on long/short regime crossovers.
💼 Use Cases
• Momentum Confirmation: Validate breakouts by requiring SDRO to hold above the Long threshold.
• Mean-Reversion Awareness: Watch for extreme normalized readings near upper/lower bounds.
• Regime Filtering: Use SDRO state (Long/Short/Neutral) to filter trades from other systems.
• Cross-Market Comparison: Normalization makes it easier to compare momentum across different tickers.
🎯 For Who
• Trend traders who want a clean momentum filter with adaptive volatility context.
• System builders needing a simple regime variable (1 / -1 / neutral) to gate entries.
• Discretionary traders who like visual confirmation (fills, candle coloring, threshold zones).
• Multi-asset traders who benefit from normalized, comparable oscillator readings.
⚙️ Default Settings
• TEMA Period: 7
• Base Length (SMMA): 25
• Long Threshold: 55
• Short Threshold: 45
• SD Multiplier: 2× (fixed in code)
• Color Mode: Alpha
• Color Transparency: 60
• Labels: Off by default
📌 Conclusion
SD-Range Oscillator | QuantEdgeB blends a low-lag triple-smoothed core with an adaptive SD envelope to produce a normalized, easy-to-read momentum signal. With clear threshold regimes, volatility-aware context, and strong visuals (fills + candle coloring), SDRO helps separate meaningful momentum shifts from noise across any asset or timeframe.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align settings with your risk tolerance and objectives before live trading.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
M-oscillator
MACD-v Bullish/Bearish DivergenceMACD-v Bullish/Bearish Divergence
Overview This indicator is a specialized divergence detector based on the MACD-v (Volatility Normalized Momentum) concept. Unlike standard MACD which uses absolute price differences, MACD-v normalizes values against volatility (ATR), allowing for fixed, universal Overbought/Oversold thresholds across all assets and timeframes.
Recommendation: This script is highly effective when paired with the original MACD-v by Alex Spiroglou. While this indicator focuses on identifying and visualizing divergence entries, using the original oscillator alongside it provides the best visual context for the overall momentum structure.
How It Works
This tool uses a dual-signal mechanism (Raw Line + Signal Smooth) to identify specific divergence setups:
Setup (Yellow/Blue Dots): Identifies when price momentum has extended significantly into extreme zones (Overbought/Oversold).
Trigger (Red/Green Dots): Fires when price fails to make a new momentum extreme despite price action (classic divergence/failure swing).
Active State (Background Color): Once a trigger fires, the background highlights (Red for Bearish, Green for Bullish) to indicate an active divergence play.
Reset (Exit): The signal state clears when momentum returns to the neutral "safe zone."
Important Note: Momentum Washout
The colored background persists as long as the divergence trade remains valid. Traders should note the concept of "Momentum Washout":
Signal End: The background color turns off when the MACD returns to the neutral range, indicating the primary high-velocity impulse is over.
Performance Continuation: Significant positive or negative price performance can often continue even after the background signal ends. This period allows the remaining momentum to "wash out" or drift before the next major impulse.
Strategy Tip: The indicator is designed to capture the high-volatility portion of the reversal. Do not assume the end of the signal is the absolute top or bottom of the trend; it simply marks the normalization of momentum.
Strategy Recommendation: Multi-Timeframe Analysis
Divergence signals are most powerful when confirmed across timeframes. It is highly recommended to look for alignment before taking a trade:
Trend Confirmation: If you see a signal on a lower timeframe (e.g., 5m or 15m), check a higher timeframe (e.g., 1H or 4H). A bullish divergence on the 5m is significantly more reliable if the 1H momentum is already bullish or oversold.
Signal Stacking: Valid signals often appear sequentially—first on the 1m, then the 5m, and finally the 15m. Waiting for this "cascade" can filter out false reversals.
Visual Guide
🔵 Blue Dot: Bullish Divergence Setup (Watch for entry).
🟢 Green Dot: Bullish Divergence Trigger (Long Entry).
🟡 Yellow Dot: Bearish Divergence Setup (Watch for entry).
🔴 Red Dot: Bearish Divergence Trigger (Short Entry).
Background Color: Indicates an active trade (Red = Bearish / Green = Bullish).
Settings
Auto-Detect: Automatically switches between Scalping settings (tighter thresholds) for low timeframes and Swing settings for high timeframes.
Strict Invalidation: If enabled, cancels a setup if momentum pushes too far in the opposite direction before triggering.
Active Signal Multiplier: Dynamically smooths the signal line only when a trade is active to prevent premature exits during choppy corrections.
Disclaimer: This tool is for educational purposes and trend analysis only. Always manage your risk appropriately.
High-Probability Scalper (Market Open)Market open is where volatility is real, spreads are tight, and momentum shows itself early. This scalping strategy is built specifically to operate during that window, filtering out low-quality signals that usually appear later in the session.
Instead of trading all day, the logic is restricted to the first 90 minutes after market open, where continuation moves and fast pullbacks are more reliable.
What This Strategy Does
This script looks for short-term momentum alignment using:
Fast vs slow EMA structure
RSI confirmation to avoid chasing extremes
ATR-based risk control
Session-based filtering to trade only when volume matters
It’s designed for intraday scalping, not swing trading.
Core Trading Logic
1. Market Open Filter
Trades are allowed only between 09:30 – 11:00 exchange time.
This avoids low-liquidity chop and focuses on the period where most breakouts and reversals form.
2. Trend Confirmation
Bullish bias: 9 EMA crosses above 21 EMA
Bearish bias: 9 EMA crosses below 21 EMA
This keeps trades aligned with short-term direction instead of random entries.
3. Momentum Check (RSI)
RSI is used as a quality filter, not as an overbought/oversold signal.
Long trades only when RSI is strong but not extended
Short trades only when RSI shows weakness without exhaustion
This removes late entries and reduces whipsaws.
Entries & Exits
Entries
Executed only on confirmed candles
No intrabar repainting
One position at a time
Risk Management
Stop-loss based on ATR
Take-profit calculated using a fixed risk–reward ratio
Same structure for both long and short trades
This keeps risk consistent across different symbols and volatility levels.
Why This Strategy Works Better at Market Open
Volume is highest
False breakouts are fewer
EMA crosses have follow-through
RSI behaves more cleanly
By not trading all day, the strategy avoids most of the noise that kills scalpers.
Best Use Cases
Index futures
High-liquidity stocks
Major crypto pairs during active sessions
1m to 5m timeframes
What This Strategy Is NOT
Not a martingale
Not grid-based
Not designed for ranging markets
Not a “set and forget” system
It’s a controlled scalping template meant for disciplined execution.
How to Use It Properly
Test on multiple symbols
Adjust ATR length for volatility
Tune RSI ranges per market
Always forward-test before live alerts
Final Note
This strategy focuses on structure, timing, and risk, not indicator stacking.
If you trade the open, this gives you a clear framework instead of emotional entries.
If you want:
Alerts
Session customization
News filters
Partial exits
You can extend this logic without breaking the core system.
Momentum Echo Oscillator [Community Edition]Concept: The Momentum Echo Oscillator (MEO) is a modern take on classical momentum oscillators. Most indicators only look at the "now". MEO introduces the concept of Momentum Echoes—historical momentum harmonics that are weighted and blended back into the current price velocity.
Why use MEO? Standard momentum tools (like ROC or RSI) can be very "jittery" or noisy. By integrating historical echoes, MEO provides a smoother, more rhythmic representation of price flow, making it easier to spot genuine trend reversals.
Key Elements:
Primary Momentum: The immediate speed of price.
Echo Harmonics: Two adjustable lookback points that act as a "memory" for the indicator, filtering out false breakouts.
Dynamic Histogram: Visualizes the gap between the Echo Engine and the Trigger Line, highlighting acceleration and deceleration.
Settings:
Echo Weight: Adjust how much "memory" you want the indicator to have.
Smoothing: Clean up the signals for higher timeframes.
This is an open-source tool for the TradingView community. Enjoy!
RS Rating Multi-Timeframe v2RS Rating Multi-Timeframe
A relative strength rating indicator modeled after IBD's proprietary RS Rating system. This indicator measures a stock's price performance relative to the S&P 500 (or any benchmark you choose) and converts it to a 1-99 rating scale.
How It Works
The indicator calculates weighted performance ratios across four timeframes:
40% weight: 63-day (3-month) performance
20% weight: 126-day (6-month) performance
20% weight: 189-day (9-month) performance
20% weight: 252-day (12-month) performance
This weighting emphasizes recent performance while still accounting for longer-term strength—the same methodology used by leading growth stock research services.
Rating Scale
90-99: Elite relative strength (top 10% of stocks)
80-89: Strong relative strength (top 20%)
50-79: Average performance
30-49: Below average
1-29: Weak relative strength (bottom 30%)
Features
Customizable benchmark index (default: S&P 500)
Optional moving average overlay (EMA or SMA)
Visual zones with color-coded backgrounds
Signal markers when RS crosses key thresholds (80 and 30)
Info table showing current rating, daily change, MA value, and raw score
Built-in alerts for threshold crossovers
Pine Screener Compatible
This indicator includes state-based plots specifically designed for TradingView's Pine Screener. You can screen watchlists for:
RS Above 90, 80, 70, or 50
RS Below 50 or 30
RS Above/Below its moving average
Custom thresholds using the raw RS Rating value
In the Pine Screener, select the "Screener RS Above 80" output and set it to "True" (or equals 1) to find all stocks currently above 80—not just those crossing on that bar.
Usage Tips
Growth investors typically look for stocks with RS Ratings above 80, indicating the stock is outperforming 80% of the market. Combining high RS Rating with other technical signals (breakouts, volume, moving averages) can help identify leading stocks.
Buying Opportunity Score V2.2Buying Opportunity Indicator V2.2
What This Indicator Does
This indicator identifies potential buying opportunities during market fear and pullbacks by combining multiple technical signals into a single composite score (0-100). Higher scores indicate more fear/oversold conditions are present simultaneously.
Why These Components?
Market bottoms typically occur when multiple fear signals align. This indicator combines five complementary measurements that each capture different aspects of market stress:
1. VIX Level (30 points) - Measures implied volatility/fear. VIX spikes during selloffs as traders buy protection. Thresholds based on historical percentiles (VIX 25+ is ~85th percentile historically).
2. Price Drawdown (30 points) - Distance from 52-week high. Larger drawdowns create better risk/reward for mean reversion entries. A 10%+ drawdown from highs historically presents better entry points than buying at all-time highs.
3. RSI 14 (12 points) - Classic momentum oscillator measuring oversold conditions. RSI below 30 indicates short-term selling exhaustion.
4. Bollinger Band Position (13 points) - Statistical measure of price extension. Price below the lower band (2 standard deviations) indicates statistically unusual weakness.
5. VIX Timing (15 points) - Bonus points when VIX is declining from a recent peak. This helps avoid catching falling knives by waiting for fear to subside.
How The Score Works
- Each component contributes points based on severity
- Components are weighted by predictive value from historical analysis
- Score of 70+ means multiple fear signals are present
- Score of 80+ means extreme fear across most components
How To Use
1. Apply to SPY, QQQ, or IWM on daily timeframe
2. Monitor the Current Score in the statistics table
3. Scores below 50 = normal conditions, no action needed
4. Scores 60-69 = elevated fear, monitor closely
5. Scores 70+ = consider entering long positions
6. Scores 80+ = strongest historical entry points
Important Limitations
- This is a research tool, not financial advice
- Past patterns may not repeat in the future
- Signals are infrequent (typically 2-4 per year reaching 70+)
- Works best on broad market ETFs; not validated for individual stocks
- Always use proper position sizing and risk management
- The indicator identifies conditions that have historically been favorable, but cannot predict future returns
Statistics Table
The table shows:
- Current Score with context message
- Chart Results: Rolling 1Y/3Y/5Y statistics from your loaded chart data
Alerts
Multiple alert options available for different score thresholds.
Open Source
Code is fully visible for review and educational purposes.
RSI Divergence + MTF Table FinalThis is a professional, high-impact English description for your RSI Divergence + MTF Table Final script, designed to attract users on TradingView by highlighting its institutional-grade features.
Institutional RSI Divergence & MTF Confluence Heatmap
Overview
The Institutional RSI Divergence & MTF Confluence Heatmap is a professional-grade analytical tool designed for high-precision traders. It combines Automated RSI Divergence Detection with a Multi-Timeframe (MTF) Heatmap Table, allowing you to monitor market momentum across 8 different timeframes (from 1-minute to 1-day) without ever switching charts.
Key Features
🔍 Automated Divergence Detection: Instantly identifies Regular Bullish and Bearish divergences on the RSI oscillator, marking them with clear "Bull" and "Bear" labels.
📊 MTF Heatmap Grid: A real-time monitoring table that tracks RSI values across: 1m, 5m, 15m, 30m, 1h, 4h, 12h, and 1D.
🎨 Dynamic "Institutional" Color Logic: The table uses a sophisticated color-coded system to highlight extreme exhaustion and momentum:
Ultra Overbought (RSI > 90): Bright Red (Extreme Reversal Zone).
Overbought (RSI > 80): Orange (High Momentum/Caution).
Oversold (RSI < 26): Lime Green (Potential Accumulation).
Neutral: Gray (Consolidation).
🛠️ Flexible Layout Engine: Toggle between Vertical or Horizontal layouts to fit your chart workspace perfectly.
🚀 Pine Script v6 Optimized: Built with the latest TradingView engine for ultra-fast performance and minimal lag.
Trading Strategy: The Power of Confluence
Cross-Timeframe Confirmation: The strongest reversals occur when multiple timeframes (e.g., 15m, 1h, and 4h) all turn Orange/Red or Lime simultaneously. This represents a massive momentum exhaustion.
Divergence Validation: Use the table to see if a detected "Bull" divergence on your current timeframe is backed by "Oversold" conditions on higher timeframes.
Institutional Sniping: Combined with Demand/Supply zones, this script helps you "snipe" entries at the exact moment market momentum peaks or bottoms out.
Settings & Customization
Toggle Compact Mode: Display a minimal version of the table for a cleaner interface.
Custom Thresholds: Modify RSI levels to suit your specific trading style (Scalping vs. Swing Trading).
Table Position: Move the heatmap to any corner of your screen (Top Right, Bottom Left, etc.).
RSI Dashboard Multi-TF This script displays RSI values from multiple timeframes in a compact dashboard directly on the chart.
It is designed for traders who want to quickly identify whether the market is overbought, oversold, or neutral across different timeframes, without constantly switching chart intervals.
The dashboard shows the RSI simultaneously for the following timeframes:
- 1 minute
- 3 minutes
- 5 minutes
- 15 minutes
- 1 hour
- 4 hours
- Daily
Typical use cases:
- Scalping & intraday trading
- Multi-timeframe analysis at a glance
- Entry confirmation (e.g. pullbacks, breakouts)
- Avoiding trades against overbought or oversold market conditions
- Complementing EMA, VWAP, or price action strategies
⚙️ Notes
This dashboard is an analysis tool, not an automated trading system.
No repainting (uses request.security).
Suitable for indices, forex, crypto, and commodities.
This RSI dashboard provides a fast, clear, and visually clean market overview across multiple timeframes, making it an ideal tool for active traders who want to make efficient and well-structured trading decisions.
RSI Divergence Strategy BTCRSI Divergence Strategy | Clean
Type: Backtestable strategy
Logic: Uses divergences between price and RSI to generate signals.
LONG: Price makes a lower low, RSI makes a higher low → bullish divergence
SHORT: Price makes a higher high, RSI makes a lower high → bearish divergence
TP / SL: Automatic, based on configurable percentage and Risk/Reward ratio.
Display:
RSI visible in a separate panel
LONG/SHORT signals indicated by small triangles in the RSI panel
Goal: Identify price reversals using relative strength (RSI) and backtest precise trades.
Market Participation Gradient [Interakktive]Market Participation Gradient (MPG) is a diagnostic oscillator that measures the quality and intensity of market participation by combining price efficiency with activity (volume or a FX-safe proxy) into a single 0–100 score.
Most tools tell you "how much activity exists." MPG focuses on "how effective that activity is," helping you differentiate clean directional participation from absorbed / inefficient participation where effort produces limited directional progress.
█ WHAT IT DOES
- Produces a 0–100 participation score (higher = stronger participation environment)
- Uses color as state context (not buy/sell)
- Classifies participation into four tiers for quick readability
- Includes an optional status-line HUD for at-a-glance context without chart clutter
█ WHAT IT DOES NOT DO
- NO buy/sell signals
- NO entries/exits
- NO alerts by default
- NO repainting / no lookahead (diagnostic context only)
█ HOW TO READ MPG
Level (0–100)
- Higher values = stronger participation environment
- Lower values = thin, drifting participation environment
Color (state language, not direction)
- Teal = Clean participation (efficient movement)
- Magenta = Absorbed participation (high activity, low efficiency)
- Amber = Building / transition state
- Grey = Thin / neutral state
█ TIER SYSTEM
MPG uses four tiers:
- THIN (0–20): low participation environment
- BUILDING (20–40): participation emerging / transitional
- STRONG (40–65): solid participation environment (quality becomes more meaningful)
- EXTREME (65+): very high participation environment (contextually important during events or late-cycle pushes)
█ QUALITY ASSESSMENT (STRONG / EXTREME)
Within STRONG and EXTREME tiers, MPG evaluates participation quality:
- Clean (Teal): Efficiency > 55%
- Absorbed (Magenta): Efficiency < 30% AND Activity > 1.5×
- Neutral (Grey): otherwise (mixed quality)
█ STATUS LINE HUD
MPG can display key values in TradingView's status line:
- Minimal: MPG (0–100) + Tier (0–3)
- Full: adds Direction (-1/0/1) and Quality (-1/0/1)
This provides quick context without tables or on-chart panels.
█ HOW IT WORKS (METHODOLOGY)
MPG combines two independent measurements:
1. Efficiency (0–1)
Efficiency = |Net Displacement| / Total Path Length
- High efficiency = price moved more directly
- Low efficiency = price moved less directly (more back-and-forth)
2. Activity (centered at 1.0)
Activity = Current Volume / Average Volume
- Activity > 1 = above-average activity
- Activity < 1 = below-average activity
FX / indices fallback: If volume is unreliable/unavailable, MPG uses a range-based proxy: (High–Low) / ATR (capped) to prevent distortion.
3. Participation Score (0–100)
Participation = Efficiency × √Activity × 100
The square root applies diminishing returns so activity alone cannot dominate without efficiency support.
█ SETTINGS
Core
- ATR Length — normalization baseline
- Efficiency Lookback — bars used for efficiency
- Volume Average Length — baseline for activity
- Smoothing Length — EMA smoothing (1 = minimal smoothing)
Visuals
- Histogram / Line / Tier Bands toggles
- Optional pane background tint (default OFF)
- Theme: Cinematic (subtle) or Vivid (brighter)
HUD
- Status Line HUD toggle
- HUD Detail: Minimal or Full
█ SUITABLE MARKETS
Works on any market with price data. For symbols with unreliable volume (common in FX), MPG automatically uses the range/ATR activity proxy.
█ RELATED (INTERAKKTIVE)
- MER — Market Efficiency Ratio (pure efficiency)
- ERD — Effort–Result Divergence (effort vs outcome)
- VSI — Volatility State Index (expansion/contraction context)
█ DISCLAIMER
This indicator is for educational and informational purposes only and does not constitute financial advice. Always do your own research and use appropriate risk management.
TradingView Alert Adapter for AlgoWayTRALADAL is a universal TradingView alert adapter designed for traders who work with indicators and want to test and automate indicator-based signals in a structured way.
It allows users to convert indicator outputs into a TradingView strategy and forward the same logic through alerts for multi-platform execution via AlgoWay.
This script can be used as TradingView indicator automation, enabling traders to build a TradingView strategy from indicators and route TradingView alerts through an AlgoWay connector TradingView workflow for multi-platform execution.
Why this adapter is needed
Most TradingView indicators are not available as strategies.
Traders often receive visual signals or alerts but have no access to objective statistics such as win rate, drawdown, or profit factor.
This adapter solves that problem by providing a generic framework that transforms indicator signals into a backtestable strategy — without modifying indicator code and without requiring Pine Script knowledge.
Input source–based design (including closed indicators)
All conditions in TRALADAL are built using input sources, which means you can connect:
Event-based signals (1 / non-zero values, arrows, shapes)
Indicator lines and values (EMA, VWAP, RSI, MACD, etc.)
Outputs from invite-only or closed-source indicators
If an indicator produces a visible signal or alert-compatible output, it can be evaluated and tested using this adapter, even when the source code is locked.
Three-level signal logic
The strategy uses a three-layer condition model commonly applied in discretionary and systematic trading:
Signal — primary entry trigger
Confirmation — directional validation
Filter — additional noise reduction
Each level can be enabled independently and combined using AND / OR logic, allowing traders to test multi-indicator systems without writing complex scripts.
Risk management and alert execution
The adapter supports practical risk parameters:
Stop Loss (pips)
Take Profit (pips)
Trailing Stop (pips)
Two execution modes are available:
Strategy Mode — risk rules are applied inside the TradingView Strategy Tester
Alert Mode — risk parameters are embedded into structured TradingView alerts and handled by AlgoWay during execution
Position sizing follows TradingView conventions (percent of equity, cash, or contracts) to keep strategy results and alerts aligned.
Typical use cases
This TradingView alert adapter is intended for:
Indicator-based trading systems
Backtesting signals from closed or invite-only scripts
Comparing multiple indicators within a single strategy
Sending TradingView alerts to external trading platforms via AlgoWay
The adapter does not generate signals or trading recommendations.
Its purpose is to provide a transparent and testable workflow from indicator signals to TradingView alerts and automated execution.
VIX Percentile OscillatorWhat is this script?
This is a trading tool that helps you decide when to buy or sell options based on market volatility. Think of it as a "fear meter" for the stock market.
What is VIX?
VIX = Volatility Index (also called the "fear index")
When VIX is HIGH → Market is scared/volatile → Options are EXPENSIVE
When VIX is LOW → Market is calm → Options are CHEAP
What does "Percentile" mean?
Instead of just showing VIX price, this script shows where VIX is compared to history.
Example: If VIX Percentile = 85%
This means VIX is higher than 85% of all past readings
Only 15% of the time was VIX higher than now
Translation: Volatility is unusually HIGH
The 5 Trading Zones
The script divides the market into 5 zones:
🔴 EXTREME SELLING ZONE (90-100%)
VIX is in the top 10% historically
Action: AGGRESSIVELY SELL OPTIONS (collect big premiums)
Market panic = expensive options = profit for sellers
🟠 SELLING ZONE (80-89%)
VIX is elevated but not extreme
Action: SELL OPTIONS (good premiums available)
⚪ NEUTRAL ZONE (20-79%)
VIX is normal
Action: WAIT or use other strategies
🟢 BUYING ZONE (10-19%)
VIX is low
Action: BUY OPTIONS (they're cheap)
🟢 EXTREME BUYING ZONE (0-9%)
VIX is in the bottom 10% historically
Action: AGGRESSIVELY BUY OPTIONS (bargain prices)
Market complacency = cheap options = opportunity
Understanding the Chart
Main Line (Blue/Red/Green):
Shows current VIX percentile
Color changes based on zone
Thick line = easy to see
Histogram (Background bars):
Red bars = above 50% (high volatility)
Green bars = below 50% (low volatility)
Purple Momentum Line:
Shows if VIX is rising or falling
Helps you catch trends early
Background Colors:
Light red/orange = Selling zones
Light green = Buying zones
Triangle Markers:
Appear when entering new zones
"EXTREME" label = strongest signals
The Statistics Table (Top Right)
VIX Price: Current VIX value (e.g., 16.50)
Percentile: Where VIX ranks (0-100%)
Z-Score: Statistical measure
Above +2 or below -2 = extreme
Red text = unusually high/low
Momentum: Rate of change
Red = rising (volatility increasing)
Green = falling (volatility decreasing)
Avg VIX: Average VIX over lookback period
Current Zone: Which zone you're in right now
Bars in Zone: How long you've been in this zone
Simple Trading Rules
FOR OPTION SELLERS (Premium Collectors):
✅ SELL when: Percentile > 80% (especially > 90%)
High premiums available
Examples: Sell covered calls, cash-secured puts, credit spreads
FOR OPTION BUYERS (Hedgers/Speculators):
✅ BUY when: Percentile < 20% (especially < 10%)
Cheap options available
Examples: Buy protective puts, long calls, debit spreads
Key Settings You Can Adjust
Lookback Period (default: 252)
How far back to compare (252 = 1 year of trading days)
Longer = smoother, more stable
Shorter = more sensitive to recent changes
Smoothing Period (default: 3)
Reduces noise/wiggling
Higher = smoother line
Lower = more responsive
Zone Thresholds:
Extreme Sell: 90%
Sell: 80%
Buy: 20%
Extreme Buy: 10%
You can customize these!
Real-World Example
Scenario: VIX Percentile jumps to 92%
What this means:
VIX is higher than 92% of all past readings
Market is in panic mode
Option premiums are INFLATED
Trading Action:
✅ Sell covered calls on stocks you own
✅ Sell cash-secured puts on stocks you want to buy
✅ Sell credit spreads
❌ DON'T buy expensive options right now
Why it works: When fear is extreme, it usually calms down eventually. You profit as premiums deflate.
Important Reminders
⚠️ This is a TIMING tool, not a crystal ball
It tells you WHEN premiums are expensive/cheap
It doesn't tell you WHICH options to trade
You still need proper risk management
⚠️ Works on ALL timeframes
Daily charts = swing trading
Weekly charts = position trading
Intraday charts = day trading volatility
⚠️ Best for:
Option sellers during high VIX (>80%)
Option buyers during low VIX (<20%)
Portfolio hedging decisions
Volatility trading strategies
Bottom Line: This script helps you buy options when they're cheap and sell options when they're expensive. It's like shopping for sales, but for volatility!
DISCLAIMER: This information is provided for educational purposes only and should not be considered financial, investment, or trading advice. Please do boost if you like it. Happy Trading.
Crypto Flow Index (CFI) - RS vs BTC/ETH ---
Crypto Flow Index, CFI
Crypto Flow Index, CFI, measures relative strength between an asset and Bitcoin or Ethereum.
You use CFI to judge whether capital favors your asset or the benchmark.
CFI does not give entry or exit signals.
You use CFI as a bias and context tool.
---
What CFI measures
Relative strength money flow on the BASE/BTC or BASE/ETH pair.
Volume weighted pressure, not price alone.
Momentum blended into flow to smooth rotations.
Optional USD trend filter using fast and slow EMAs.
---
How to read CFI
Above 50 means relative strength favors the asset.
Below 50 means relative strength favors BTC or ETH.
Rising CFI shows strengthening relative demand.
Falling CFI shows weakening relative demand.
---
Histogram
Green bars show positive relative flow.
Red bars show negative relative flow.
Larger bars signal stronger pressure.
---
Bias ribbon
Green ribbon shows bullish relative bias.
Red ribbon shows bearish relative bias.
Gray ribbon shows transition or balance.
---
How to use CFI
Favor long trades when CFI stays above 50.
Avoid longs when price rises but CFI falls.
Spot rotations before price reacts.
Combine with structure, entries, and risk rules.
---
Important limits
CFI compares assets only to BTC or ETH.
CFI does not represent the entire crypto market.
USD price and relative strength often diverge.
---
Core question CFI answers
Is your asset gaining or losing strength versus Bitcoin or Ethereum.
---
RSI Divergence + MTF Table + Price Wicks Lines - V2This script combines a classic RSI divergence indicator with a multi–timeframe RSI dashboard.
Main features:
Detects and plots:
Regular bullish & bearish RSI divergence
Hidden bullish & hidden bearish RSI divergence
Dynamic RSI line color:
Green in strong bullish zone
Red in strong bearish zone
Yellow in neutral zone
Standard RSI levels:
70 / 30 overbought–oversold
50 midline with highlighted band
MTF RSI table:
Compact RSI dashboard on the right side of the chart
Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 8h, 12h, 1D (each can be turned on/off)
Background color highlights extreme RSI:
Red / orange for overbought
Lime for oversold
This tool is designed to help traders quickly see divergence signals on the current chart while also monitoring RSI conditions across multiple timeframes in one place.
RSI Divergence Indicator (Fixed RSI Color + MTF Table)This script combines a classic RSI divergence indicator with a multi–timeframe RSI dashboard.
Main features:
Detects and plots:
Regular bullish & bearish RSI divergence
Hidden bullish & hidden bearish RSI divergence
Dynamic RSI line color:
Green in strong bullish zone
Red in strong bearish zone
Yellow in neutral zone
Standard RSI levels:
70 / 30 overbought–oversold
50 midline with highlighted band
MTF RSI table:
Compact RSI dashboard on the right side of the chart
Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 8h, 12h, 1D (each can be turned on/off)
Background color highlights extreme RSI:
Red / orange for overbought
Lime for oversold
This tool is designed to help traders quickly see divergence signals on the current chart while also monitoring RSI conditions across multiple timeframes in one place.
MSO - Market Stress Oscillator [WavesUnchained]MSO - Market Stress Oscillator
Bidirectional stress oscillator built on WVF + Z-score, with JMA/ADX filters, regime bias, and validated follow-through. Designed to expose downside panic vs upside euphoria and measure whether the market accepts or rejects each stress event.
Quick Setup
- Stress Color Mode : Intuitive (Downside=green, Upside=red) or Technical (classic colors).
CORE CONCEPT
- Downside stress : price flushes below WVF baseline (panic)
- Upside stress : price stretches above WVF baseline (euphoria)
- Stress is normalized via Z-score for cross-asset/timeframe robustness
ENGINE (BI-WVF + Z-SCORE)
- WVF Long and Short computed separately (panic vs euphoria)
- Z-score window normalizes extremes
- Thresholds are TF-aware (15m / 1h / 4h / D / W / M)
QUALITY FILTERS
- JMA trend filter (slope-based, low-lag)
- ADX minimum for trend strength
- Min Extreme Duration to avoid 1-bar noise
- Cooldown to prevent signal clustering
ACCEPT / REJECT LOGIC
- Events are evaluated after reactBars (forward follow-through)
- Accepted : follow-through >= minFollowATR
- Rejected : follow-through < minFollowATR
- Scores (0..1) optionally plotted as acceptance strength
BIAS / REGIME CONTEXT
- Bias line : zL - zS (who dominates)
- Bias band : regime threshold (only meaningful outside band)
- HTF Wind : higher-timeframe bias flip (JMA smoothed)
- Clarity Label : regime entry aligned with HTF + absBias threshold
VISUALIZATION
- Stress Lines : Red = downside stress (panic), Green = upside stress (euphoria)
- Bias Line : zL - zS (who dominates). Neutral inside band, colored outside.
- Bias Band : regime threshold. Fill shows when bias is usable.
- Zones : boxes at peak events (history preserved, FIFO capped)
- Chart Labels : DA/DR/UA/UR (or LA/LR/SA/SR) at peaks
- Lines : reaction window + peak level lines (FIFO capped)
STRESS COLOR MODE
- Intuitive : Downside stress = green, Upside stress = red (opportunity mapping)
- Technical : Downside stress = red, Upside stress = green (classic convention)
- This setting is visual only ; logic, bias, and signals are unchanged
HOW TO USE
1. Read the stress lines : red spikes = panic risk, green spikes = euphoria risk.
2. Check bias : outside the band = usable regime; inside = noise.
3. Use DA/DR/UA/UR :
- DA/UA = stress accepted (follow-through confirmed)
- DR/UR = stress rejected (weak follow-through)
4. Add HTF wind : prefer signals aligned with HTF bias.
5. Tune presets by TF; use manual TF override for testing.
PRESETS & UI
- Full TF preset table (15m / 1h / 4h / D / W / M)
- Manual TF override for testing
- Preset summary panel (optional)
LOGGING (CSV)
- Pivot and stress logs for validation
- Early/First-pivot classification options
- Label IDs included for chart-to-log tracing
BEST USE CASES
- Panic/euphoria detection with follow-through validation
- Regime-aware context (bias + HTF wind)
- Multi-timeframe stress mapping (15m to Weekly)
Version: 1.0.0
Author: WavesUnchained
Pine Script: v6
Educational use only. Test thoroughly before live trading.
Quant VWAP System 3.8 This is the lower-indicator companion to the "Quant VWAP System." While the main chart tells you where the price is, this oscillator tells you how statistically significant the move is.
It uses a Z-Score algorithm to normalize price action. This means it ignores dollar amounts and instead measures how many Standard Deviations (SD) the price is away from its mean (VWAP). This allows you to instantly spot "Overbought" or "Oversold" conditions on any asset (Bitcoin, Forex, or Stocks) without needing to guess.
Key Features:
1. Normalized Extremes (The "Kill Zones")
±2.0 SD: These dotted lines represent statistical extremes. When the signal line crosses above +2.0, the asset is mathematically expensive (Overbought). When it crosses below -2.0, it is mathematically cheap (Oversold).
The Logic: Price rarely sustains movement beyond 2 Standard Deviations without a reversion or a pause.
2. The Squeeze Radar (Yellow Dots)
Volatility Detection: A row of Yellow Dots appearing on the center line indicates a "Squeeze."
What it means: The Standard Deviation bands are compressing. Energy is building.
Warning: DO NOT trade Mean Reversion when you see Yellow Dots. A squeeze often leads to a violent breakout. Wait for the dots to disappear to confirm the direction of the explosion.
3. Momentum Coloring
Green Line: Z-Score is rising (Bullish Momentum).
Red Line: Z-Score is falling (Bearish Momentum).
This helps you spot divergences (e.g., Price makes a Higher High, but the Oscillator makes a Lower High = Exhaustion).
How to Trade with It
Strategy A: The "Zero Bounce" (Trend Continuation)
Scenario: You are in a Bull Trend.
Signal: The Oscillator line pulls back to the Zero Line (White), turns Green, and curls upward.
Meaning: Price has tested the average (VWAP) and buyers have stepped in. This is a high-probability entry for trend continuation.
Strategy B: The "Extreme Fade" (Reversion)
Scenario: The Oscillator pushes deep into the Red Zone (+2.0 SD).
Signal: The line turns Red and crosses back down below the +2.0 dotted line. A small Red Triangle will appear.
Meaning: The statistical extension has failed, and price is likely snapping back to the mean.
Strategy C: Squeeze Breakout
Scenario: Yellow Dots appear on the center line.
Action: Stop trading. Wait.
Signal: The dots disappear, and the line shoots aggressively through +1.0 SD (Long) or -1.0 SD (Short). Ride the momentum.
HaP MACDHaP MACD - Advanced DEMA Assisted Signal Indicator
Overview
The HaP MACD is an evolution of the classic MACD, designed for traders who demand faster response times and clearer trend visualisations. By integrating DEMA (Double Exponential Moving Average) logic into the standard MACD framework, this indicator filters out noise and highlights momentum shifts with a unique color-coded dot system.
How It Works
The indicator calculates two types of MACD: a standard one for the main lines and a DEMA-based one for signal generation. This dual approach ensures you stay in the trend while being alerted the moment the momentum starts to fade.
Visual Guide & Color Logic
The signal dots are placed directly on the MACD line to guide your decisions:
🔵 Blue Dot: The Entry Signal. Appears when DEMA conditions first align for a bullish move.
🟢 Green Dot: Strong Momentum. The trend is active and the MACD value is increasing.
🟠 Orange Dot: Warning Signal. The bullish trend is still active, but the momentum is slowing down (MACD is lower than the previous bar).
🔴 Red Dot: Exit Signal. The bullish condition has ended. It’s time to consider closing the position or tightening stops.
Key Features
Reduced Lag: DEMA integration provides earlier signals than standard EMA-based MACDs.
Trend Monitoring: Easily distinguish between a healthy trend (Green) and a tiring trend (Orange).
Customizable: Choose between EMA and SMA for both the oscillator and signal calculations.
Crossover Markers: Optional triangle markers for classic MACD crossovers (can be enabled in settings).
Market Exhaustion [WavesUnchained]Market Exhaustion
Multi-oscillator exhaustion detector combining MFI + optional CCI, HTF bias, StochRSI timing, and a divergence engine with an Exhaustion Score (0-100).
CORE CONCEPT
- Detects exhaustion via regular divergences anchored on price pivots
- Scores each divergence (0-100) using 5 components
- Line width = quality, color = direction (never thicker than main line)
OSCILLATOR MODES
- MFI : Engine uses MFI only
- CCI : Engine uses CCI mapped to 0-100
- MFI+CCI : Both plotted, engine source selectable (MFI or CCI)
EXHAUSTION SCORE (0-100)
1. Sequence (Div 1/2/3...) - repeated attempts increase score
2. Fatigue - no new oscillator extreme over lookback
3. Formation Time - bars between pivots
4. Reaction - post-divergence bounce/drop vs ATR
5. Impulse - MFI/CCI delta + swing size
DIVERGENCE ENGINE
- Price-pivot anchored (LL/HH) with osc confirmation (HL/LH)
- OS/OB gating with dynamic zones + fallback to 20/80
- Tolerant direction checks (price + osc eps)
- Auto cleanup (max objects)
HTF CONTEXT
- Auto-HTF MFI bias label
- Optional HTF filter for signals
- Bias bonus (optional) for Exhaustion Score
SIGNALS & TIMING
- StochRSI timing + MFI zone confirmation
- Context + timing signals (L/S markers)
- Zone confirm bars
VISUALIZATION
- Color-coded MFI line (OB/OS/neutral)
- Optional CCI (mapped 0-100) line
- Divergence line width = quality, endpoint markers
- Optional mid-label with score
- Dynamic zones + optional fill
BEST USE CASES
- Reversal scouting at extremes
- Filtering weak swings
- 15M-4H swing exhaustion reads
- HTF bias + divergence confluence
Version: 1.0.0
Author: WavesUnchained
Pine Script: v6
Investment Analysis Bar v2What It Does
A comprehensive analysis bar combining fundamental metrics with technical signals, designed for long-term investors who prioritize quality over momentum.
Core Philosophy: Quality companies trading below their 200 EMA in accumulation zones = opportunities, not warnings.
Tier 1 Bar Metrics
Margins: GM, OM, NIM, FCF Margin
Returns: ROCE, ROE
Growth: Revenue YoY, EPS YoY
Valuation: PE TTM, Forward PE, PEG
Zone: Accumulate / Hold / Trim / Exit
Signal: PRIME / BUY / TRIM / SELL / NEUTRAL
Performance: 1W to 1Y returns
Two Strategy Modes
Value Accumulator (Default) - For long-term position building. Treats below-200-EMA as an opportunity when fundamentals are intact. PRIME signals require: RSI bounce + Volume + Accumulate Zone + All Quality Gates Pass + Below 200 EMA.
Trend Follower - Traditional momentum approach. Prefers entries above 200 EMA.
Quality Gates System
Four fundamental checkpoints:
Gross Margin ≥ 40%
ROCE ≥ 15%
Debt/Equity ≤ 50%
SBC/Revenue ≤ 15%
Strong signals require quality confirmation. PRIME signals require ALL gates to pass.
Zone System
Three calculation methods:
52W Range: Accumulate in bottom 25%, Trim in top 25%
Manual Levels: Set your own price targets
ATR-Based: Dynamic zones from EMA ± ATR
Signal Hierarchy (Value Mode)
SignalMeaning
PRIME 💎Optimal entry - all conditions aligned
BUY 🔼Strong accumulation signal
BUY? ↗Decent entry, not ideal zone
ACCUM 🎯In accumulation zone, quality OK
WAIT ⏳Setup forming, no bounce yet
TRIM 📤Consider taking profits
Alerts Included
Zone transitions (Accumulate, Trim, Exit)
PRIME Entry Signal
Strong Buy / Sell signals
Quality Gate failures
Quality Accumulation Setup
Best Used On
US stocks with fundamental data available. Technical features work on all symbols.
Settings
Fully customizable:
Toggle each metric category
Adjust quality gate thresholds
Choose zone calculation method
Configure RSI/volume parameters
Position bar and panel anywhere
Mass Sentiment & Contrarian (Only Signals)
________________________________________
📘 Contrarian Mass Sentiment Indicator Manual
This indicator is designed to identify moments of psychological exhaustion in the market. Its philosophy is "buy panic and sell euphoria."
1. Where and how is the data taken from?
The indicator analyzes three real-time data sources to filter the signals:
• Psychology (RSI): We use the Relative Strength Index (RSI) to measure the speed and change in price movements.
• If the RSI is very high (>70-75), the "mass" is overbuying (greed).
• If the RSI is very low (<25-30), the "mass" is overselling (panic).
• Price Action (Candlesticks): It is not enough for the RSI to be at an extreme. The indicator looks for reversal patterns (Hammer, Shooting Star, or Engulfing candlesticks). This confirms that the price has indeed found a top or bottom.
• Price Action (Candlesticks): It is not enough for the RSI to be at an extreme. The indicator looks for reversal patterns (Hammer, Shooting Star, or Engulfing candlesticks). This confirms that the price has actually found a top or bottom.
• Price Action (Candlesticks): • Market Effort (Volume): At "Strong" levels, the indicator requires volume to exceed its 20-period moving average. This identifies a volume climax, which typically marks the end of a move.
________________________________________
2. User Manual: Signal Interpretation
The indicator classifies opportunities according to their probability of success:
A. Intensity Levels
Label Strength Meaning Suggested Action
F-VTA / F-CPA Strong Maximum euphoria/panic + Volume + Reversal candle. High probability signal. Look for immediate entry.
M-VTA / M-CPA Medium Standard overload level + Reversal candle. Solid technical confirmation. Trade in favor of the structure.
D-VTA / D-CPA Weak The RSI is just beginning to reverse from moderate levels. Early warning. Do not enter without confirmation using other tools.
B. Trade Execution (Contrarian)
1. Location: Wait for a label to appear. The best are the Strong (F) or Medium (M) lines.
2. Stop Loss: Always place it a few pips/points above the high of the signal candle (for selling) or below the low (for buying).
3. Take Profit: * Target 1: The mid-RSI level (50).
or Target 2: The opposite RSI band (if you sold at 70, aim to close at 30).
________________________________________
3. Golden Tips
• Avoid sideways markets: In very narrow ranges, the RSI can give false signals ("wobbling"). Look for signals that occur after a clear and extended trend.
• Timeframes: The indicator is most reliable on 15-minute, 1-hour, and 4-hour timeframes. On the 1-minute timeframe, market "noise" can generate constant weak signals.
• Confluence: If you see an F-VTA (Strong Sell) signal right at a historical price resistance, the probability of success increases dramatically.
B + A + D v0.4This script combines a momentum histogram (B-Xtrender) with trend strength and direction filters (ADX + DI).
The histogram is built from EMA differentials processed through RSI, showing short- and long-term momentum shifts around the zero line. ADX with DI+ / DI− is used to confirm whether the market is trending and in which direction.
Bullish signals appear when the histogram turns positive and DI+ dominates DI− with sufficient trend strength.
Bearish signals appear when the histogram turns negative and DI− dominates DI+ with sufficient trend strength.
Important note for users:
The strongest and most reliable signals are those that appear immediately after the histogram crosses the zero line (from negative to positive or from positive to negative). Signals that appear later, while the histogram is already extended in the trend, tend to be weaker and should be treated as continuation signals rather than high-probability reversals.
Credits:
Special thanks to the authors of the original concepts and scripts:






















