Inverse VIX / Custom Inverse Line🎯 Main Idea
This indicator creates a line that moves opposite to the VIX (Volatility Index) — or any symbol you choose.
When VIX rises (fear increases), → this line goes down.
When VIX falls (market calm), → this line goes up.
It helps you visually understand market sentiment — calm periods (bullish) vs fear periods (bearish).
⚙️ Input Settings
Setting Description
Symbol to invert The symbol to invert. Default is CBOE:VIX.
Inverse mode The method used to invert the values. There are 3 options:
① Negate Simply flips the sign (multiplies by -1). Very straightforward.
② Reciprocal Uses the mathematical inverse (1 ÷ value). High values become smaller, and vice versa.
③ Inverse Normalized The most useful mode 🔥 — normalizes values between 0–100 and flips them, similar to an RSI.
Normalization lookback How many bars to use for normalization (default 252 = roughly one trading year).
Smoothing (SMA) Number of bars for smoothing (makes the line smoother).
Use log for reciprocal Uses logarithmic scaling to stabilize big swings.
Plot color / width Customize the line’s color and thickness.
Show original source If enabled, shows the original VIX line for comparison.
📈 How It Works
The script fetches the close price of the VIX (or your chosen symbol).
It applies the selected inversion method.
The inverted line is plotted on the chart.
In “Inverse Normalized” mode:
The range is 0–100.
Values above 75 = high optimism (market often overheated).
Values below 25 = high fear (potential buying opportunity).
A middle line at 50 marks neutral sentiment.
⚠️ Alerts
The indicator includes two default alerts when using “Inverse Normalized” mode:
🔔 Above 75: Market showing strong optimism (potential top or correction zone).
🔔 Below 25: Market showing fear (potential bottom or buy signal).
🧠 How to Use It
Use it on daily or weekly charts for clearer signals.
Compare it with SPX or NASDAQ:
When the Inverse VIX line rises, markets often go up.
When it falls, markets usually drop or consolidate.
Combine it with other indicators (e.g., RSI, MACD) for confirmation.
Biến động
RSI Bollinger Bands [DCAUT]█ RSI Bollinger Bands
📊 ORIGINALITY & INNOVATION
The RSI Bollinger Bands indicator represents a meaningful advancement in momentum analysis by combining two proven technical tools: the Relative Strength Index (RSI) and Bollinger Bands. This combination addresses a significant limitation in traditional RSI analysis - the use of fixed overbought/oversold thresholds (typically 70/30) that fail to adapt to changing market volatility conditions.
Core Innovation:
Rather than relying on static threshold levels, this indicator applies Bollinger Bands statistical analysis directly to RSI values, creating dynamic zones that automatically adjust based on recent momentum volatility. This approach helps reduce false signals during low volatility periods while remaining sensitive to genuine extremes during high volatility conditions.
Key Enhancements Over Traditional RSI:
Dynamic Thresholds: Overbought/oversold zones adapt to market conditions automatically, eliminating the need for manual threshold adjustments across different instruments and timeframes
Volatility Context: Band width provides immediate visual feedback about momentum volatility, helping traders distinguish between stable trends and erratic movements
Reduced False Signals: During ranging markets, narrower bands filter out minor RSI fluctuations that would trigger traditional fixed-threshold signals
Breakout Preparation: Band squeeze patterns (similar to price-based BB) signal potential momentum regime changes before they occur
Self-Referencing Analysis: By measuring RSI against its own statistical behavior rather than arbitrary levels, the indicator provides more relevant context
📐 MATHEMATICAL FOUNDATION
Two-Stage Calculation Process:
Stage 1: RSI Calculation
RSI = 100 - (100 / (1 + RS))
where RS = Average Gain / Average Loss over specified period
The RSI normalizes price momentum into a bounded 0-100 scale, making it ideal for statistical band analysis.
Stage 2: Bollinger Bands on RSI
Basis = MA(RSI, BB Length)
Upper Band = Basis + (StdDev(RSI, BB Length) × Multiplier)
Lower Band = Basis - (StdDev(RSI, BB Length) × Multiplier)
Band Width = Upper Band - Lower Band
The Bollinger Bands measure RSI's standard deviation from its own moving average, creating statistically-derived dynamic zones.
Statistical Interpretation:
Under normal distribution assumptions with default 2.0 multiplier, approximately 95% of RSI values should fall within the bands
Band touches represent statistically significant momentum extremes relative to recent behavior
Band width expansion indicates increasing momentum volatility (strengthening trend or increasing uncertainty)
Band width contraction signals momentum consolidation and potential regime change preparation
📊 COMPREHENSIVE SIGNAL ANALYSIS
Visual Color Signals:
This indicator features dynamic color fills that highlight extreme momentum conditions:
Green Fill (Above Upper Band):
Appears when RSI breaks above the upper band, indicating exceptionally strong bullish momentum
Represents dynamic overbought zone - not necessarily a reversal signal but a warning of extreme conditions
In strong uptrends, green fills can persist as RSI "rides the band" - this indicates sustained momentum strength
Exit of green zone (RSI falling back below upper band) often signals initial momentum weakening
Red Fill (Below Lower Band):
Appears when RSI breaks below the lower band, indicating exceptionally weak bearish momentum
Represents dynamic oversold zone - potential reversal or continuation signal depending on trend context
In strong downtrends, red fills can persist as RSI "rides the band" - this indicates sustained selling pressure
Exit of red zone (RSI rising back above lower band) often signals initial momentum recovery
Position-Based Signals:
Upper Band Interactions:
RSI Touching Upper Band: Dynamic overbought condition - momentum is extremely strong relative to recent volatility, potential exhaustion or continuation depending on trend context
RSI Riding Upper Band: Sustained strong momentum, often seen in powerful trends, not necessarily an immediate reversal signal but warrants monitoring for exhaustion
RSI Crossing Below Upper Band: Initial momentum weakening signal, particularly significant if accompanied by price divergence
Lower Band Interactions:
RSI Touching Lower Band: Dynamic oversold condition - momentum is extremely weak relative to recent volatility, potential reversal or continuation of downtrend
RSI Riding Lower Band: Sustained weak momentum, common in strong downtrends, monitor for potential exhaustion
RSI Crossing Above Lower Band: Initial momentum strengthening signal, early indication of potential reversal or consolidation
Basis Line Signals:
RSI Above Basis: Bullish momentum regime - upward pressure dominant
RSI Below Basis: Bearish momentum regime - downward pressure dominant
Basis Crossovers: Momentum regime shifts, more significant when accompanied by band width changes
RSI Oscillating Around Basis: Balanced momentum, often indicates ranging market conditions
Volatility-Based Signals:
Band Width Patterns:
Narrow Bands (Squeeze): Momentum volatility compression, often precedes significant directional moves, similar to price coiling patterns
Expanding Bands: Increasing momentum volatility, indicates trend acceleration or growing uncertainty
Narrowest Band in 100 Bars: Extreme compression alert, high probability of upcoming volatility expansion
Advanced Pattern Recognition:
Divergence Analysis:
Bullish Divergence: Price makes lower lows while RSI touches or stays above previous lower band touch, suggests downward momentum weakening
Bearish Divergence: Price makes higher highs while RSI touches or stays below previous upper band touch, suggests upward momentum weakening
Hidden Bullish: Price makes higher lows while RSI makes lower lows at the lower band, indicates strong underlying bullish momentum
Hidden Bearish: Price makes lower highs while RSI makes higher highs at the upper band, indicates strong underlying bearish momentum
Band Walk Patterns:
Upper Band Walk: RSI consistently touching or staying near upper band indicates exceptionally strong trend, wait for clear break below basis before considering reversal
Lower Band Walk: RSI consistently at lower band signals very weak momentum, requires break above basis for reversal confirmation
🎯 STRATEGIC APPLICATIONS
Strategy 1: Mean Reversion Trading
Setup Conditions:
Market Type: Ranging or choppy markets with no clear directional trend
Timeframe: Works best on lower timeframes (5m-1H) or during consolidation phases
Band Characteristic: Normal to narrow band width
Entry Rules:
Long Entry: RSI touches or crosses below lower band, wait for RSI to start rising back toward basis before entry
Short Entry: RSI touches or crosses above upper band, wait for RSI to start falling back toward basis before entry
Confirmation: Use price action confirmation (candlestick reversal patterns) at band touches
Exit Rules:
Target: RSI returns to basis line or opposite band
Stop Loss: Fixed percentage or below recent swing low/high
Time Stop: Exit if position not profitable within expected timeframe
Strategy 2: Trend Continuation Trading
Setup Conditions:
Market Type: Clear trending market with higher highs/lower lows
Timeframe: Medium to higher timeframes (1H-Daily)
Band Characteristic: Expanding or wide bands indicating strong momentum
Entry Rules:
Long Entry in Uptrend: Wait for RSI to pull back to basis line or slightly below, enter when RSI starts rising again
Short Entry in Downtrend: Wait for RSI to rally to basis line or slightly above, enter when RSI starts falling again
Avoid Counter-Trend: Do not fade RSI at bands during strong trends (band walk patterns)
Exit Rules:
Trailing Stop: Move stop to break-even when RSI reaches opposite band
Trend Break: Exit when RSI crosses basis against trend direction with conviction
Band Squeeze: Reduce position size when bands start narrowing significantly
Strategy 3: Breakout Preparation
Setup Conditions:
Market Type: Consolidating market after significant move or at key technical levels
Timeframe: Any timeframe, but longer timeframes provide more reliable breakouts
Band Characteristic: Narrowest band width in recent 100 bars (squeeze alert)
Preparation Phase:
Identify band squeeze condition (bands at multi-period narrowest point)
Monitor price action for consolidation patterns (triangles, rectangles, flags)
Prepare bracket orders for both directions
Wait for band expansion to begin
Entry Execution:
Breakout Confirmation: Enter in direction of RSI band breakout (RSI breaks above upper band or below lower band)
Price Confirmation: Ensure price also breaks corresponding technical level
Volume Confirmation: Look for volume expansion supporting the breakout
Risk Management:
Stop Loss: Place beyond consolidation pattern opposite extreme
Position Sizing: Use smaller size due to false breakout risk
Quick Exit: Exit immediately if RSI returns inside bands within 1-3 bars
Strategy 4: Multi-Timeframe Analysis
Timeframe Selection:
Higher Timeframe: Daily or 4H for trend context
Trading Timeframe: 1H or 15m for entry signals
Confirmation Timeframe: 5m or 1m for precise entry timing
Analysis Process:
Trend Identification: Check higher timeframe RSI position relative to bands, trade only in direction of higher timeframe momentum
Setup Formation: Wait for trading timeframe RSI to show pullback to basis in trending direction
Entry Timing: Use confirmation timeframe RSI band touch or crossover for precise entry
Alignment Confirmation: All timeframes should show RSI moving in same direction for highest probability setups
📋 DETAILED PARAMETER CONFIGURATION
RSI Source:
Close (Default): Standard price point, balances responsiveness and reliability
HL2: Reduces noise from intrabar volatility, provides smoother RSI values
HLC3 or OHLC4: Further smoothing for very choppy markets, slower to respond but more stable
Volume-Weighted: Consider using VWAP or volume-weighted prices for additional liquidity context
RSI Length Parameter:
Shorter Periods (5-10): More responsive but generates more signals, suitable for scalping or very active trading, higher noise level
Standard (14): Default and most widely used setting, proven balance between responsiveness and reliability, recommended starting point
Longer Periods (21-30): Smoother momentum measurement, fewer but potentially more reliable signals, better for swing trading or position trading
Optimization Note: Test across different market regimes, optimal length often varies by instrument volatility characteristics
RSI MA Type Parameter:
RMA (Default): Wilder's original smoothing method, provides traditional RSI behavior with balanced lag, most widely recognized and tested, recommended for standard technical analysis
EMA: Exponential smoothing gives more weight to recent values, faster response to momentum changes, suitable for active trading and trending markets, reduces lag compared to RMA
SMA: Simple average treats all periods equally, smoothest output with highest lag, best for filtering noise in choppy markets, useful for long-term position analysis
WMA: Weighted average emphasizes recent data less aggressively than EMA, middle ground between SMA and EMA characteristics, balanced responsiveness for swing trading
Advanced Options: Full access to 25+ moving average types including HMA (reduced lag), DEMA/TEMA (enhanced responsiveness), KAMA/FRAMA (adaptive behavior), T3 (smoothness), Kalman Filter (optimal estimation)
Selection Guide: RMA for traditional analysis and backtesting consistency, EMA for faster signals in trending markets, SMA for stability in ranging markets, adaptive types (KAMA/FRAMA) for varying volatility regimes
BB Length Parameter:
Short Length (10-15): Tighter bands that react quickly to RSI changes, more frequent band touches, suitable for active trading styles
Standard (20): Balanced approach providing meaningful statistical context without excessive lag
Long Length (30-50): Smoother bands that filter minor RSI fluctuations, captures only significant momentum extremes, fewer but higher quality signals
Relationship to RSI Length: Consider BB Length greater than RSI Length for cleaner signals
BB MA Type Parameter:
SMA (Default): Standard Bollinger Bands calculation using simple moving average for basis line, treats all periods equally, widely recognized and tested approach
EMA: Exponential smoothing for basis line gives more weight to recent RSI values, creates more responsive bands that adapt faster to momentum changes, suitable for trending markets
RMA: Wilder's smoothing provides consistent behavior aligned with traditional RSI when using RMA for both RSI and BB calculations
WMA: Weighted average for basis line balances recent emphasis with historical context, middle ground between SMA and EMA responsiveness
Advanced Options: Full access to 25+ moving average types for basis calculation, including HMA (reduced lag), DEMA/TEMA (enhanced responsiveness), KAMA/FRAMA (adaptive to volatility changes)
Selection Guide: SMA for standard Bollinger Bands behavior and backtesting consistency, EMA for faster band adaptation in dynamic markets, matching RSI MA type creates unified smoothing behavior
BB Multiplier Parameter:
Conservative (1.5-1.8): Tighter bands resulting in more frequent touches, useful in low volatility environments, higher signal frequency but potentially more false signals
Standard (2.0): Default setting representing approximately 95% confidence interval under normal distribution, widely accepted statistical threshold
Aggressive (2.5-3.0): Wider bands capturing only extreme momentum conditions, fewer but potentially more significant signals, reduces false signals in high volatility
Adaptive Approach: Consider adjusting multiplier based on instrument characteristics, lower multiplier for stable instruments, higher for volatile instruments
Parameter Optimization Workflow:
Start with default parameters (RSI:14, BB:20, Mult:2.0)
Test across representative sample period including different market regimes
Adjust RSI length based on desired responsiveness vs stability tradeoff
Tune BB length to match your typical holding period
Modify multiplier to achieve desired signal frequency
Validate on out-of-sample data to avoid overfitting
Document optimal parameters for different instruments and timeframes
Reference Levels Display:
Enabled (Default): Shows traditional 30/50/70 levels for comparison with dynamic bands, helps visualize the adaptive advantage
Disabled: Cleaner chart focusing purely on dynamic zones, reduces visual clutter for experienced users
Educational Value: Keeping reference levels visible helps understand how dynamic bands differ from fixed thresholds across varying market conditions
📈 PERFORMANCE ANALYSIS & COMPETITIVE ADVANTAGES
Comparison with Traditional RSI:
Fixed Threshold RSI Limitations:
In ranging low-volatility markets: RSI rarely reaches 70/30, missing tradable extremes
In trending high-volatility markets: RSI frequently breaks through 70/30, generating excessive false reversal signals
Across different instruments: Same thresholds applied to volatile crypto and stable forex pairs produce inconsistent results
Threshold Adjustment Problem: Manually changing thresholds for different conditions is subjective and lagging
RSI Bollinger Bands Advantages:
Automatic Adaptation: Bands adjust to current volatility regime without manual intervention
Consistent Logic: Same statistical approach works across different instruments and timeframes
Reduced False Signals: Band width filtering helps distinguish meaningful extremes from noise
Additional Information: Band width provides volatility context missing in standard RSI
Objective Extremes: Statistical basis (standard deviations) provides objective extreme definition
Comparison with Price-Based Bollinger Bands:
Price BB Characteristics:
Measures absolute price volatility
Affected by large price gaps and outliers
Band position relative to price not normalized
Difficult to compare across different price scales
RSI BB Advantages:
Normalized Scale: RSI's 0-100 bounds make band interpretation consistent across all instruments
Momentum Focus: Directly measures momentum extremes rather than price extremes
Reduced Gap Impact: RSI calculation smooths price gaps impact on band calculations
Comparable Analysis: Same RSI BB appearance across stocks, forex, crypto enables consistent strategy application
Performance Characteristics:
Signal Quality:
Higher Signal-to-Noise Ratio: Dynamic bands help filter RSI oscillations that don't represent meaningful extremes
Context-Aware Alerts: Band width provides volatility context helping traders adjust position sizing and stop placement
Reduced Whipsaws: During consolidations, narrower bands prevent premature signals from minor RSI movements
Responsiveness:
Adaptive Lag: Band calculation introduces some lag, but this lag is adaptive to current conditions rather than fixed
Faster Than Manual Adjustment: Automatic band adjustment is faster than trader's ability to manually modify thresholds
Balanced Approach: Combines RSI's inherent momentum lag with BB's statistical smoothing for stable yet responsive signals
Versatility:
Multi-Strategy Application: Supports both mean reversion (ranging markets) and trend continuation (trending markets) approaches
Universal Instrument Coverage: Works effectively across equities, forex, commodities, cryptocurrencies without parameter changes
Timeframe Agnostic: Same interpretation applies from 1-minute charts to monthly charts
Limitations and Considerations:
Known Limitations:
Dual Lag Effect: Combines RSI's momentum lag with BB's statistical lag, making it less suitable for very short-term scalping
Requires Volatility History: Needs sufficient bars for BB calculation, less effective immediately after major regime changes
Statistical Assumptions: Assumes RSI values are somewhat normally distributed, extreme trending conditions may violate this
Not a Standalone System: Like all indicators, should be combined with price action analysis and risk management
Optimal Use Cases:
Best for swing trading and position trading timeframes
Most effective in markets with alternating volatility regimes
Ideal for traders who use multiple instruments and timeframes
Suitable for systematic trading approaches requiring consistent logic
Suboptimal Conditions:
Very low timeframes (< 5 minutes) where lag becomes problematic
Instruments with extreme volatility spikes (gap-prone markets)
Markets in strong persistent trends where mean reversion rarely occurs
Periods immediately following major structural changes (new trading regime)
USAGE NOTES
This indicator is designed for technical analysis and educational purposes to help traders understand the interaction between momentum measurement and statistical volatility bands. The RSI Bollinger Bands has limitations and should not be used as the sole basis for trading decisions.
Important Considerations:
No Predictive Guarantee: Past band touches and patterns do not guarantee future price behavior
Market Regime Dependency: Indicator performance varies significantly between trending and ranging market conditions
Complementary Analysis Required: Should be used alongside price action, support/resistance levels, and fundamental analysis
Risk Management Essential: Always use proper position sizing, stop losses, and risk controls regardless of signal quality
Parameter Sensitivity: Different instruments and timeframes may require parameter optimization for optimal results
Continuous Monitoring: Band characteristics change with market conditions, requiring ongoing assessment
Recommended Supporting Analysis:
Price structure analysis (support/resistance, trend lines)
Volume confirmation for breakout signals
Multiple timeframe alignment
Market context awareness (news events, session times)
Correlation analysis with related instruments
The indicator aims to provide adaptive momentum analysis that adjusts to changing market volatility, but traders must apply sound judgment, proper risk management, and comprehensive market analysis in their decision-making process.
AI Bot Regime Feed (v6) — stableThis indicator generates real-time, structured JSON alerts for external trading bots or automation systems.
It combines multiple technical layers to identify market regimes and high-probability buy/sell events, and sends them to any webhook endpoint (e.g., a FastAPI or Zapier listener).
Crypto Mean Reversion System (Pullback & Bounce)Mean Reversion Theory
The indicator operates on the principle that extreme price movements in crypto markets tend to revert toward their mean over time.
Consider this a valuable aid for your dollar-cost averaging strategy, effectively identifying periods ripe for accumulating or divesting from the market.
Research shows that:
Short-term momentum often persists briefly after surges, but extreme moves trigger mean reversion
Sharp drops exhibit strong bounce patterns, especially after capitulation events
Longer timeframes (7-day) show stronger mean reversion tendencies than shorter ones (1-day)
Timeframe Analysis
1-Day Timeframe
Pullback probabilities: 45-85% depending on surge magnitude
Bounce probabilities: 55-95% depending on drop severity
Captures immediate overextension and panic selling
More volatile but faster signal generation
7-Day Timeframe
Pullback probabilities: 50-90% (higher confidence)
Bounce probabilities: 50-90% (slightly moderated)
Filters out noise and identifies sustained trends
Stronger mean reversion signals due to extended moves
Probability Tiers
Pullback Risk (After Surges)
Moderate (45-60%): 5-10% surge → Expected -3% to -12% pullback
High (55-70%): 10-15% surge → Expected -5% to -18% pullback
Very High (65-80%): 15-25% surge → Expected -10% to -25% pullback
Extreme (75-90%): 25%+ surge → Expected -15% to -40% pullback
Bounce Probability (After Drops)
Moderate (55-65%): -5% to -10% drop → Expected +3% to +10% bounce
High (65-75%): -10% to -15% drop → Expected +6% to +18% bounce
Very High (75-85%): -15% to -25% drop → Expected +10% to +30% bounce
Extreme (85-95%): -25%+ drop → Expected +18% to +45% bounce
The probability ranges are derived from:
Crypto volatility patterns: Higher volatility than traditional assets creates stronger mean reversion
Behavioral finance: Extreme moves trigger emotional trading (FOMO/panic) that reverses
Historical backtesting: Probability estimates based on typical reversion patterns in crypto markets
Timeframe correlation: Longer timeframes show increased reversion probability due to reduced noise
Key Features
Dual-direction signals: Identifies both overbought (pullback) and oversold (bounce) conditions
Multi-timeframe confirmation: 1D and 7D analysis for different trading styles
Customizable thresholds: Adjust sensitivity based on asset volatility
Visual alerts: Color-coded labels and table for quick assessment
Risk categorization: Clear severity levels for position sizing
Commodity Pulse Matrix (CPM) [WavesUnchained] [Strategy]Commodity Pulse Matrix (CPM) - Strategy Version
⚠️ Development Status
ACTIVE DEVELOPMENT - This strategy is currently under heavy development and optimization. The risk management settings, entry/exit logic, and parameter tuning are still being refined and are NOT yet satisfactory for live trading.
Current development areas:
Stop-loss and take-profit optimization
Position sizing and risk management
Entry timing and signal filtering
Backtest validation across different market conditions
⚠️ Use for testing and backtesting only - NOT recommended for live trading yet!
For detailed information about the underlying indicator logic, signals, and analysis methods, please refer to the Commodity Pulse Matrix (CPM) indicator description.
Overview
The CPM Strategy is an automated trading system based on the Commodity Pulse Matrix indicator. It converts the indicator's multi-timeframe confluence signals into executable trades with dynamic ATR-based risk management.
Strategy Core Features
Signal Sources
The strategy trades based on:
Strong Buy/Sell signals from the CPM indicator
Multi-timeframe alignment (configurable: 3/3, 2/3, or score-only)
EMA-200 trend filter (prevents counter-trend entries)
Dynamic signal cooldown (5-8 bars)
Optional reversal zone signals (triple-confirmed)
Risk Management (ATR-Based)
Stop-Loss & Take-Profit
Stop-Loss: 2.5x ATR (default) - Dynamic distance based on volatility
Take-Profit: 4.0x ATR (default) - Risk/Reward ratio of 1.6:1
ATR Length: 14 periods (adjustable)
Both SL and TP adjust to current market volatility
Trailing Stop (Optional)
Enabled by default
Trails at 2.5x ATR distance
Protects profits in trending moves
Can be disabled for fixed SL/TP only
Position Management
Trade Direction Filter
Both Directions (default) - Trade both Long and Short
Long Only - Only enter long positions
Short Only - Only enter short positions
Cooldown After Exit
Default: 3 bars minimum after closing a position
Prevents immediate re-entry (whipsaw protection)
Adjustable from 0 (disabled) to any number of bars
Signal Filtering
Signal Mode (Timeframe Consensus)
Strict (3/3 TFs): All 3 timeframes must agree - Most conservative
Majority (2/3 TFs): At least 2 of 3 timeframes agree - Balanced (default)
Flexible (Score Only): Overall score threshold only - Most signals
Optional Filters
Min ABS(overallScore): Only trade when confluence score meets minimum (default: 0 = disabled)
Confirmed Bar Only: Wait for bar close before entry (prevents repainting) - Recommended ON
Strategy Settings Guide
For Conservative Trading (Lower Risk)
Signal Mode: "Strict (3/3 TFs)"
Stop-Loss: 3.0x ATR or higher
Take-Profit: 5.0x ATR or higher
Trailing Stop: Enabled
Cooldown: 5-10 bars
Min Score: 8.0 or higher
For Aggressive Trading (More Signals)
Signal Mode: "Flexible (Score Only)"
Stop-Loss: 2.0x ATR
Take-Profit: 3.0x ATR
Trailing Stop: Optional
Cooldown: 0-3 bars
Min Score: 4.0 or disabled
For Balanced Trading (Recommended Starting Point)
Signal Mode: "Majority (2/3 TFs)"
Stop-Loss: 2.5x ATR
Take-Profit: 4.0x ATR
Trailing Stop: Enabled
Cooldown: 3 bars
Min Score: 6.0-8.0
TradingView Strategy Tester Settings
Essential Settings to Configure:
Properties Tab
Initial Capital: Set to realistic account size
Order Size: Use "% of Equity" (e.g., 10-25% per trade)
Commission: Set realistic commission (e.g., 0.05% for crypto, 0.1% for stocks)
Slippage: Add realistic slippage (1-3 ticks for liquid markets)
Verify "Recalculate: On Every Tick" is DISABLED (for realistic backtests)
Inputs Tab
Adjust ATR multipliers for your market
Set appropriate cooldown period
Choose signal mode based on desired trade frequency
Enable/disable trailing stop
Configure directional filter if needed
Backtesting Recommendations
Before Using This Strategy:
Test across multiple markets - What works for one commodity may not work for another
Test different timeframes - Strategy behavior changes significantly with TF
Test different market conditions - Trending vs ranging markets
Validate performance metrics - Win rate, profit factor, max drawdown, Sharpe ratio
Forward test on paper account - Before risking real capital
Key Metrics to Monitor:
Win Rate (aim for >40% minimum)
Profit Factor (aim for >1.5)
Max Drawdown (should be acceptable for your risk tolerance)
Sharpe Ratio (higher is better, >1.0 is good)
Average Trade (should be positive after commissions/slippage)
Known Limitations
Range-bound markets: May produce more whipsaws despite filters
Low volatility: ATR-based stops may be too tight
High volatility: ATR-based stops may be too wide
News events: Strategy cannot account for fundamental shocks
Signal timing: Entry timing is still being optimized
Indicator vs Strategy
When to use the Indicator:
- Manual trading with discretion
- Confluence analysis and timing
- Multiple signal validation
- Learning market structure
When to use the Strategy:
- Automated backtesting
- System validation
- Parameter optimization
- Performance measurement
⚠️ The indicator provides richer information and context than the strategy can execute!
Technical Details
Pine Script v6
Non-repainting: Uses confirmed bars for HTF data
Strategy type: Long/Short with dynamic stops
Risk management: ATR-based (adaptive to volatility)
Position sizing: Configured in Strategy Tester
Pyramiding: Default 1 (no adding to positions)
Important Notes
⚠️ Strategy parameters are still under optimization - Current settings may not be optimal for all markets or timeframes
⚠️ Backtest thoroughly before live trading - Test across different market conditions and timeframes
⚠️ Risk management is critical - Use appropriate position sizing (1-2% risk per trade recommended)
⚠️ Market conditions change - A strategy that works in trending markets may fail in ranging markets
⚠️ Commission and slippage matter - Always include realistic costs in backtests
✅ Start with conservative settings and optimize gradually
✅ Paper trade before going live
✅ Monitor performance and adjust as needed
✅ Never risk more than you can afford to lose
Disclaimer
Educational and testing purposes only. Not financial advice.
This strategy is provided as-is for backtesting and educational purposes. Past performance is not indicative of future results. Trading involves substantial risk of loss. The developer is not responsible for any losses incurred from using this strategy. Always do your own research, backtest thoroughly, and consult with a qualified financial advisor before making trading decisions.
NEVER use this strategy with real money until:
You have thoroughly backtested it on your specific market and timeframe
You understand all parameters and their impact
You have forward tested it on a paper account
You are comfortable with the maximum drawdown and risk profile
The strategy has been marked as production-ready by the developer
Version
v1.2 - Strategy Adapter (Active Development)
Based on: Commodity Pulse Matrix v1.2 Indicator
Last Updated: 2025-10-10
For detailed indicator documentation, see the Commodity Pulse Matrix (CPM) indicator description.
Uptrick: Volatility Adjusted TrailIntroduction
The "Uptrick: Volatility Adjusted Trail" is a dynamic trailing band indicator. It adapts in real time to changing market conditions by adjusting both to volatility and trend consistency. Inspired by Supertrend-style logic, it enhances traditional approaches by introducing adaptive mechanisms for more context-sensitive behavior in both trending and consolidating environments.
Overview
This indicator combines an exponential moving average (EMA) as its basis with an Average True Range (ATR)-derived multiplier that adjusts dynamically. Unlike fixed-multiplier tools, this indicator modifies its band distances in real time according to volatility expansion and trend persistence. The result is a trailing system that adapts to the prevailing market regime, providing traders with clearer signals for trend bias, stop placement, and potential momentum shifts.
Originality
The script’s originality lies in its multi-layered approach to trail calculation. It introduces a real-time ATR multiplier adjustment driven by two factors: a volatility expansion ratio and a trend persistence model. The expansion ratio compares the current ATR to its moving average, making the indicator more sensitive during volatile conditions and less sensitive during quieter periods. The trend persistence model assesses directional consistency to widen the bands during sustained trends. This dual adjustment method creates a system that evolves with market behavior, making it more responsive and adaptive than static-band or fixed-multiplier alternatives.
Components & Inspiration
This indicator was designed with specific components that work together:
Exponential Moving Average (EMA): Chosen as the central baseline because it responds faster to recent price changes than a simple moving average, providing a more current reference for trailing bands.
Average True Range (ATR): Used as the volatility measure because it accounts for both intraday and gap movement, making it a robust and widely accepted standard for market volatility.
Dynamic Multiplier: The multiplier is adjusted by both volatility expansion and trend persistence to produce bands that tighten during low volatility and widen during consistent trends. This combination was chosen to give the indicator the ability to self-regulate across different market regimes.
Trend Persistence Model: Integrated to assess directional consistency, ensuring the bands expand during strong trends, which can prevent premature stop-outs.
Flip Confirmation Logic: Added to filter out noise by requiring multiple bar closes beyond a band before confirming a state change, reducing false reversals.
For inspiration, the indicator draws on the core idea behind Supertrend—using a baseline and volatility-derived bands to define trailing stop levels. However, while Supertrend uses a fixed ATR multiplier, this indicator introduces a dynamic multiplier system and persistence weighting, making it more adaptive and suited for varying conditions.
Inputs and Parameters
Basis EMA Length
Defines the period for the EMA that serves as the core price reference.
ATR Length
Sets the lookback period for the Average True Range calculation used in band spacing.
Base ATR Mult
The base multiplier applied to ATR before adjustments. Forms the starting scale of the band offset.
Volatility Expansion Sensitivity
Controls how strongly the band spacing reacts to short-term volatility bursts. Higher values create more pronounced band expansions or contractions.
Trend Persistence Window
Determines how many bars are used to calculate directional trend consistency using a smoothed step function.
Persistence Impact
Scales how much influence the trend persistence has on band widening. Values range from 0 (no effect) to 1 (maximum effect).
Min Effective Mult
Sets the minimum value that the adjusted multiplier can reach. Prevents the bands from becoming too narrow.
Max Effective Mult
Sets the maximum value the adjusted multiplier can reach. Prevents the bands from over-expanding during high volatility.
Bars Above/Below to Confirm Flip
Number of consecutive bars required to close above or below the opposing trail before confirming a bullish or bearish flip. Helps reduce noise and false signals.
Show Flip Labels
Enables or disables the display of flip markers on the chart.
Label Size
Allows users to adjust the size of flip labels from Tiny to Huge.
Label ATR Offset
Adjusts the vertical placement of flip labels in relation to the trail using an ATR-based offset.
Features and Logic
EMA Basis: All calculations stem from an EMA that tracks the centerline of price action.
Dynamic ATR Multiplier: The ATR multiplier adjusts in real time based on volatility expansion and trend persistence.
Clamped Multiplier: The adjusted multiplier is limited between user-defined minimum and maximum values to keep the band scale practical.
Upper and Lower Bands: Bands are plotted above and below the EMA using the dynamic multiplier and ATR values.
Trailing Logic: The script uses Supertrend-style trailing logic, updating the active band in the current trend direction and resetting the opposite band.
Trend State Detection: A state variable tracks the current market regime (bullish, bearish, or neutral). Transitions are confirmed only after a user-specified number of bars close beyond the respective bands.
Visual Elements: Trail lines and fill zones are color-coded (bullish cyan, bearish magenta). Candlestick and bar colors match the trend state. Optional flip labels mark confirmed transitions.
Alerts: Built-in alert conditions allow users to receive real-time notifications for bullish or bearish flips.
Usage Guidelines
This indicator can be used for:
Defining context-aware dynamic stop levels that adjust with market behavior.
Identifying trend direction and reversal points based on adaptive logic.
Filtering entry or exit signals during trending vs. consolidating conditions.
Supplementing trade management strategies with responsive visual markers.
Entering long or short positions based on the appearance of flip labels and managing stop losses by following the adaptive trail.
Traders may tune the parameters to suit different trading styles or timeframes. For example, lower ATR and EMA values may suit intraday setups, while longer settings may benefit swing or positional trading.
Summary
The "Uptrick: Volatility Adjusted Trail" provides a flexible, adaptive trailing band system that accounts for both volatility and directional consistency. By combining an EMA baseline with a dynamic ATR multiplier influenced by volatility expansion and trend persistence, it creates a context-sensitive trailing system that aligns with changing market conditions. Customizable confirmation, flip labels, alerts, and dynamic visual cues make it a versatile tool for trend-following, breakout filtering, and trailing stop logic.
Disclaimer
This indicator is provided for educational and research purposes only. It does not constitute financial advice. Trading involves risk, and past performance does not guarantee future results. Always conduct your own analysis and risk management before making trading decisions.
Continuation Suite v1 — 5m/15mContinuation Suite v1 — 5m/15m (Non-Repainting, S/R + Trend Continuation)
What it does
Continuation Suite v1 is a practical intraday toolkit that combines non-repainting trend-continuation signals with auto-built Support/Resistance (S/R) from confirmed pivots. It’s designed for fast, liquid names on 5m charts with an optional 15m higher-timeframe (HTF) overlay. You get: stacked-EMA bias, disciplined pullback+reclaim entries, optional volume/volatility gates, a “Strong” signal tier, solid S/R lines or zones, and a compact dashboard for fast reads.
⸻
Why traders use it
• Clear bias using fast/mid/slow EMA stacking.
• Actionable entries that require a pullback, a reclaim, and (optionally) a minor break of prior extremes.
• Signal quality gates (volume vs SMA, ATR%, ADX/DI alignment, EMA spacing, slope).
• Non-repainting logic when “Confirm on Close” = ON. Intrabar previews show what’s forming, but confirmed signals only print on bar close.
• S/R that matters: confirmed-pivot lines or ATR-sized zones, optional HTF overlay, and auto de-dup to avoid clutter.
⸻
Signal construction (no magic, just rules)
Bullish continuation (base):
1. Trend: EMA fast > EMA mid > EMA slow
2. Pullback: price pulls into the stack (lowest low or close vs EMA fast/mid over a lookback)
3. Reclaim: close > EMA fast and close > open
4. Break filter (optional): current bar takes out the prior bar’s high
5. Filters: volume > SMA (if enabled) and ATR% ≤ max (if enabled)
6. Cooldown: a minimum bar gap between signals
Bearish continuation (base): mirror of the above.
Strong signals: base conditions plus ADX ≥ threshold, DI alignment (DI+>DI- for longs; DI->DI+ for shorts), minimum EMA-spacing %, and minimum fast-EMA slope.
Reference stops:
• Longs: lowest low over the pullback lookback
• Shorts: highest high over the pullback lookback
Alerts are included for: Bullish Continuation, Bearish Continuation, STRONG Bullish, STRONG Bearish.
⸻
S/R engine (current TF + optional HTF)
• Builds S/R from confirmed pivots only (left/right bars).
• Choose Lines (midlines) or Zones (ATR-sized).
• Zones merge when a new pivot lands near an existing zone’s mid (ATR-scaled epsilon).
• Touches counter tracks significance; you can require a minimum to draw.
• HTF overlay (default 15m) draws separate lines/zones with tiny TF tags on the right.
• De-dup option hides current-TF zones that sit too close to HTF zones (ATR-scaled), reducing overlap.
• Freeze on Close (optional) keeps arrays stable intrabar; snapshots show levels immediately as bars open.
⸻
Presets
• Auto: Detects QQQ-like tickers (QQQ, QLD, QID) or SoFi; else defaults to Custom.
• QQQ: Tighter ATR% and EMA settings geared to index-ETF behavior.
• SoFi: Wider ATR allowances and longer mid/slow for single-name behavior.
• Custom: Expose all key inputs to tune for your product.
⸻
Dashboard (top-right)
• Preset in use
• Bias (Bullish CONT / Bearish CONT / Neutral)
• Strong (Yes/No)
• Volatility (ATR% bucket)
• Trend (ADX bucket)
• HTF timeframe tag
• Volume (bucket or “off”)
• Signals mode (Close-Confirmed vs Intrabar)
⸻
Inputs you’ll actually adjust
Trend/Signals
• Fast/Mid/Slow EMA lengths
• Pullback lookback, Min bars between signals
• Volume filter (vol > SMA N)
• ATR% max filter (cap excessive volatility)
• Require break of prior bar’s high/low
• “Strong” gates: min EMA slope, min EMA spacing %, ADX length & threshold
Support/Resistance
• Lines vs Zones
• Pivot left/right bars
• Extend left/right (bars)
• Max pivots kept (current & HTF)
• Zone width (× ATR), Merge epsilon (× ATR), Min gap (× ATR)
• Min touches, Max zones per side near price
• De-dup current TF vs HTF (× ATR)
Repainting control
• Confirm on Close: when ON, signals/SR finalize on bar close (non-repainting)
• Freeze on Close: freeze S/R intrabar with snapshot updates
• Show previews: translucent intrabar labels for what’s forming
⸻
How to use it (straightforward)
1. Load on 5-minute chart (baseline). Keep Confirm on Close ON if you hate repainting.
2. Use Bias + Strong + S/R context. If a long prints into HTF resistance, you have information.
3. Manage risk off the reference stop (pullback extreme). If ATR% reads “Great,” widen expectations; if “Poor,” size down or pass.
4. Alerts: wire the four alert types to your workflow.
⸻
Notes and constraints
• Designed for liquid symbols. Thin books and synthetic “volume” will degrade the volume gate.
• S/R is pivot-based. On very choppy tape, touch counts help. Increase min touches or switch to Lines to declutter.
• If your chart timeframe isn’t 5m, behavior changes because lengths are in bars, not minutes. Tune lengths accordingly.
⸻
Disclaimers
This is a research tool. No signals are guaranteed. Markets change, outliers happen, slippage is real. Nothing here is financial advice—use your own judgment and risk management.
⸻
Author: DaddyScruff
License: MPL-2.0 (Mozilla Public License 2.0)
Trailing Stop + Profit TargetTrailing Stop + Exit Confirmation is a manual-entry tool designed to help traders visually manage trades with dynamic trailing stops and profit targets, based on ATR projections with a toggle button to reset calculations in real-time. Contains a “Short” toggle to work for short positions as well, which automatically inverses the PT and SL lines when toggled on.
Primary Calculations: Utilizes a manually adjustable entry price (default: $5 — ideal for options traders) that (when adjusted and recalculated) populates the chart with an adaptive ATR-based trailing stop line, dynamic profit target line, and optional 21-day EMA for directional context.
Below the Entry Price is a fully functional, manual reset toggle to reset all parameters mid-session to assess risk-reward based on entry price, risk tolerance, etc. followed by the “Short” toggle.
Primary Directions/Functions:
Enter your trade price in the “Manual Entry Price” field.
The script will begin plotting a dynamic trailing stop and profit target based on current market conditions.
Use the reset toggle to clear all calculations and start a new position at any time.
Customizable Settings:
ATR Length and Multiplier
Risk/Reward Profit Target Multiplier
Toggle to show/hide trailing stop, target, and EMA lines
Options Trading Use Case:
This tool is especially useful for options traders looking to manage premium-based entries (e.g., $5.00) on intraday or swing trades. The dynamic stop and target lines provide clear visual cues for scaling out or exiting based on price action, while allowing for tighter or looser risk depending on volatility (ATR).
This tool does not auto-detect entries or backtest positions. It is intended to complement your entry signals, not generate them. I've written an Options Momentum Signal indicator you can find right here which functions well in tandem with this tool.
Made for traders who execute trades manually and want typical preset guidelines for profit and stop loss signals but lets you recalculate them by simply clicking a button, especially if any major news or downturn causes a big change in market conditions so you can make adjustments in real time.
VIX Gauge Overlay (Table + Label + Alerts) by Carlos C.🚨 Official 2025 Update – Corrected VIX Ranges 🚨
This overlay shows the live VIX level with both a table and a large label, including alerts for HIGH FEAR and PANIC zones.
✅ Official ranges applied:
- LOW: 13 – 15
- LIGHT FEAR: 15 – 18
- TRANSITION: 18 – 21
- HIGH FEAR: 21 – 25
- PANIC: ≥ 25
Features:
- Table with VIX ranges and live highlight
- Large optional label with current value
- Color schemes (Normal / Inverted)
- Alerts when entering/exiting HIGH FEAR (21) and PANIC (25)
⚠️ Note: Previous version is deprecated. This v3.1 is the official and corrected release.
MTRADE ATR SL FINDERAverage True Range Stop Loss Finder (ATR)
This indicator automatically calculates dynamic stop-loss levels based on market volatility using the Average True Range (ATR) formula.
It provides both Long and Short stop levels derived from ATR values and adapts them in real time as volatility changes.
🔍 Features
Adjustable ATR Length (default: 20)
Four smoothing methods: RMA, SMA, EMA, WMA
Configurable Multiplier (default: 1.5× ATR)
Real-time High (Short Stop) and Low (Long Stop) lines on the chart
A clean on-chart table displaying:
ATR value
High stop level (H)
Low stop level (L)
— all shown with 7-decimal precision for accurate readings
⚙️ Use Cases
Volatility-based stop-loss and take-profit placement
Risk management and trailing-stop automation
Intraday and swing trading systems using ATR-driven exits
🧠 Technical Details
Built in Pine Script v5
Supports up to 7 decimal precision (precision=7)
Works as an overlay, displaying ATR bands directly on price action
Fully customizable colors and smoothing logic
by fiyatherseydir
Advanced Chandelier Exit with S/R [Alpha Extract]Advanced Chandelier Exit with S/R is a precision-crafted trailing stop and market structure detection system that fuses advanced Chandelier Exit logic with intelligent, multi-timeframe support and resistance tracking. This indicator delivers adaptive trend detection, volatility-aware exit positioning, and real-time structural mapping in a clean, responsive format. By combining directional filtering, pivot zone detection, and customizable styling, Advanced Chandelier Exit with S/R is designed to give traders reliable context, strong risk management, and visually intuitive confirmation signals across all timeframes and asset classes.
🔶 Adaptive Trailing Stop Architecture
At the core of Advanced Chandelier Exit with S/R is a refined Chandelier Exit mechanism that dynamically calculates trailing stops based on recent highs and lows, ATR volatility, and trend sensitivity. The system features directional memory, anchoring the stop to maintain position until a confirmed trend break occurs. This method prevents premature flips and keeps the trade aligned with sustained momentum.
longStop := close > longStop ? math.max(longStop, longStop ) : longStop
shortStop := close < shortStop ? math.min(shortStop, shortStop ) : shortStop
🔶 Volatility-Weighted Filtering
To reduce noise and improve reaction quality, Advanced Chandelier Exit with S/R includes an optional volatility normalization filter. This system adjusts ATR output based on how elevated it is relative to its own average, effectively down-weighting erratic price moves while maintaining responsiveness in directional phases.
volatilityFilter = enableVolatilityFilter ? ta.sma(baseATR, length) / baseATR : 1.0
atr = mult * baseATR * sensitivity * volatilityFilter
🔶 Trend Strength-Aware State Transitions
Trend flips in Advanced Chandelier Exit with S/R are not based solely on price crossing the stop level. Instead, the system includes a momentum-derived trend strength filter that validates the legitimacy of directional shifts. This guards against weak reversals and gives stronger confidence in breakout moves.
priceChange = math.abs(close - close )
avgPriceChange = ta.sma(priceChange, length)
trendStrength = math.min(priceChange / avgPriceChange * 100, 200)
🔶 Multi-Timeframe Support & Resistance Zones
Advanced Chandelier Exit with S/R embeds a sophisticated pivot-based structure mapping engine that automatically identifies significant price reaction levels and tracks their validity over time. It filters redundant zones, removes invalidated levels, and renders real-time support and resistance overlays based on market structure.
if isUniqueLevel(ph, resistanceLevels)
array.unshift(resistanceLevels, ph)
if isUniqueLevel(pl, supportLevels)
array.unshift(supportLevels, pl)
🔶 Dynamic Visual Encoding
The indicator uses strength-scaled fills, customizable colors, and line styling to convey directional bias with clarity. Color opacity intensifies as trend strength increases, offering intuitive context at a glance. Dynamic background fills mark trend states, while S/R zones are rendered with user-defined transparency for clean integration.
🔶 Signal Detection and Alerts
Directional signals are generated upon confirmed flips between long and short regimes, validated by stop crosses and strength filters. Additionally, the indicator provides S/R breakout alerts, identifying when price breaks through a key structural level.
🔶 Performance and Customization Optimizations
Advanced Chandelier Exit with S/R is built with modularity and efficiency in mind. It supports full customization of stop logic, volatility sensitivity, structural lookback, S/R zone filtering, and visual display. The use of array-based data structures for S/R levels ensures consistent performance even across high-activity assets and longer lookback periods.
Advanced Chandelier Exit with S/R represents the next evolution in trailing stop and structure-aware trading tools. By blending the proven logic of the Chandelier Exit system with intelligent trend strength filters and robust S/R detection, it becomes more than just a stop indicator—it becomes a complete trade management companion. Traders benefit from fewer false flips, clearer directional bias, and precise structural overlays that reinforce both breakout and reversal strategies. Whether used for swing entries, intraday positioning, or zone-based re-entries, Advanced Chandelier Exit with S/R empowers traders with responsive, intelligent logic that adapts to market conditions without compromise.
Parabolic Short Criteria Parabolic Short Criteria
This indicator identifies overextended stocks that may be prime candidates for parabolic short setups, based on criteria by Bracco (@Braczyy on twitter/X) in his writeup "The Parabolic Short" (unchartedterritoryy.substack.com). One of the best in the game at Parabolic Short setups.
What It Measures:
The indicator calculates and displays metrics that quantify how overextended a stock is relative to key moving averages and its recent price action:
Distance Metrics:
ATR Extension above 50 SMA: Measures how many ATRs (Average True Range) the current price is above the 50-day Simple Moving Average. Higher values indicate extreme extension.
% Above 9/20/50/200 Moving Averages: Shows the percentage distance between current price and each key moving average level.
Momentum Metrics:
Consecutive Green Days: Counts how many days in a row the stock has closed higher
Consecutive Gap Ups: Tracks sequential gap-up openings (today's low > yesterday's high)
Range Expansion: Analyzes how many of the last 4 days showed larger percentage moves than the prior day
Volume Expansion: Counts consecutive days of increasing volume
Color Coding System:
Each metric uses a 4-tier color system for quick visual assessment:
Dark Green: Extremely overextended (highest alert level)
Light Green: Significantly overextended
Yellow: Moderately overextended
Red: Not overextended
Use Case:
This indicator is designed for traders looking to identify parabolic moves that have reached unsustainable levels. When multiple metrics show dark green or green, the stock may be due for a pullback or reversal. Not all criteria are often met at once, but the more the better.
Commodity Pulse Matrix (CPM) [WavesUnchained]Commodity Pulse Matrix (CPM) is a professional multi-timeframe analysis suite built for commodity trading. It compresses dozens of signals into one color-coded matrix to show directional bias and quality across three user-set timeframes, plus optional chart TF. Non-repainting design: HTF values use confirmed bars; rendering is optimized.
Categories:
Flow = MFI, OBV, volume trend, smart-money bias. Momentum = RSI (dynamic zones), MACD histo, CCI, WaveCycle Momentum (adaptive, ATR-normalized). Trend = EMA stack (20/50/100/200), ADX+DI, VWAP positioning. Volatility = ATR%, Williams Vix Fix spikes, squeeze (Bollinger inside Keltner). Structure = price vs key EMAs, pivot S/R alignment. Divergence = regular/hidden on RSI via RDZ, optional MACD, cluster strength; zone-gated and bar-confirmed.
Oscillators:
WCM detects momentum swings with dead-zone filtering and dynamic OB/OS. RDZ finds divergences only in RSI 70/30 zones with optional volume/MFI gate. WVF highlights volatility-shock exhaustion (bottom/top mode) and can feed the exhaustion filter.
Exhaustion module:
Strict 5-point check (RSI extreme, ATR range expansion, volume spike, wick ratio, compressed body) with Watch → Confirmed logic and optional reversal-zone boxes from pivots. Squeeze detector flags contraction and first expansion.
Matrix and visuals:
Compact or detailed grid; 4-layer heat gradient; ▲/▼/• symbols; action badges (Setup/Neutral); optional VWAP cross markers (session, anchored high/low, clusters). Overlay options: EMA gradient fill, AVWAP (session/week/month), S/R lines, divergence diamonds (teal/amber), exhaustion triangles, squeeze dots. Performance friendly (updates on last bar).
Scoring:
Each category scores −3…+3, weighted by importance (default: Flow 1.2, Momentum 1.0, Trend 1.0, Volatility 0.6, Structure 1.0, Divergence 1.4). Confluence bands: ≥ +8 strong bull, ≥ +4 moderate bull, ≤ −4 moderate bear, ≤ −8 strong bear; otherwise neutral. Heat score (0–1) blends magnitude, TF alignment, divergence strength, and volume confirmation.
Configuration:
Presets Intraday/Swing/Carry or full Custom. Adjustable weights, thresholds, oscillator params (WCM, RDZ, WVF), HTF-confirmed mode, matrix layout, alert conditions. Works on commodities, FX, indices; 1m to Monthly.
How to use:
Wait for TF alignment and high confluence; use reversal zones and divergence/exhaustion for timing. Trend follow: all TFs green, pullback to EMA20, stop below EMA50. Divergence: diamond appears, matrix flips, enter with confirmation. Squeeze: contraction then expansion in matrix direction.
Notes:
Pine v6. Non-repainting by design. Optimized security calls and UI throttling. Alert-ready. Backtest before live trading; manage risk; news context matters.
Disclaimer:
Educational only. Not financial advice. Past performance is not indicative of future results.
1m Scalping ATR (with SL & Zones)A universal ATR indicator that anchors volatility to your stop-loss.
Read any market (FX, JPY pairs, Gold/Silver, indices, crypto) consistently—regardless of pip/point conventions and timeframe.
Why this indicator?
Classic ATR is absolute (pips/points) and feels different across markets/TFs. ATR Takeoff normalizes ATR to your stop-loss in pips and highlights clear zones for “quiet / ideal / too volatile,” so you instantly know if a 10-pip SL fits current conditions.
Key features
Auto pip detection (FX, JPY, XAU/XAG, indices, BTC/ETH).
Selectable ATR source: chart timeframe or fixed ATR TF (e.g., “15”, “30”, “60”).
Display modes:
Percent of SL – ATR relative to SL in %, great for M1 (typical 10–30%).
Multiple of SL – ATR as a multiple of SL (e.g., 0.6× / 1.0× / 1.2×).
Panel zones:
Green = “Ready for takeoff” (≤ Low), Yellow = reference (Mid), Red = too volatile (≥ High).
Status badge (top-right): Quiet / ATR ok / Wild, current ATR/SL value, ATR TF used.
Direction-agnostic: Works the same for longs and shorts.
Inputs (at a glance)
Length / Smoothing (RMA/SMA/EMA/WMA): ATR base settings.
Your Stop-Loss (Pips): Reference SL (e.g., 10).
ATR Timeframe (empty = chart): Use chart TF or a fixed TF.
Display Mode: “Percent of SL” or “Multiple of SL.”
Low/Mid/High (Percent Mode): Zone thresholds in % of SL.
Low/Mid/High (Multiple Mode): Zone thresholds in ×SL.
Recommended defaults
Length 14, Smoothing RMA, SL 10 pips
Display Mode: Percent of SL
Low/Mid/High (%): 15 / 20 / 25
ATR Timeframe: empty (= chart) for reactive, or “30” for smoother M30 context with M1 entries.
How to use
Set SL (pips). 2) Choose display mode. 3) Optionally pick ATR TF.
Interpretation:
≤ Low (green): setups allowed.
≈ Mid (yellow): neutral reference.
≥ High (red): too volatile → adjust SL/size or wait.
Note: Auto-pip relies on common ticker naming; verify on exotic symbols.
Disclaimer: For research/education. Not financial advice.
Daily trend flip system📈 System 1 — Daily Trend Flip Screener
System 1 (Daily) is a trend-following screener indicator designed to help traders quickly identify assets showing strong bullish momentum, meaningful volatility, and solid liquidity.
By combining an EMA crossover with ATR filtering, this tool filters out weak or noisy signals and focuses on clean daily breakouts.
🧭 How it works
EMA Trend Flip — Signals when the fast EMA crosses above the slow EMA with an ATR-based buffer, reducing false triggers in chop.
ATR% Filter — Shows the 20-day average true range as a percentage of price to highlight assets with real movement.
$ Volume Filter — Displays average daily dollar volume over the past 20 days to ensure liquidity.
Days Since Long Trigger — Tracks how many trading days have passed since the last bullish flip, making it easy to find fresh momentum.
📊 Screener Columns
✅ LongSignal_1or0 — 1 if currently in a long signal
📈 ATR20_pct — 20-day ATR as a % of price
💰 ADDV20 — 20-day average daily dollar volume
⏳ DaysSinceLong — days since the last long trigger
💡 Use Cases
Quickly scan for daily breakout setups
Combine volatility and liquidity filters to narrow down quality tickers
Catch new momentum trades early in their trend
Build cleaner watchlists without manually scanning dozens of charts
RMBS Smart Detector - Multi-Factor Momentum System
# RMBS Smart Detector - Multi-Factor Momentum System
## Overview
RMBS (Smart Detector - Multi-Factor Momentum System) is a proprietary scoring method developed by Ario, combining normalized RSI and Bollinger band positioning into a single composite metric.
---
## Core Methodology
### Buy/Sell Logic
Marker (green or red )appear when **all four filters** pass:
**1. RMBS Score (Momentum Strength)**
From the formula Bellow
Combined Range: -10 (extreme bearish) to +10 (extreme bullish)
Signal Thresholds:
• BUY: Score > +3.0
• SELL: Score < -3.0
2. EMA Trend Filter
BUY: EMA(21) > EMA(55) → Uptrend confirmed
SELL: EMA(21) < EMA(55) → Downtrend confirmed
3. ADX Strength Filter
Minimum ADX: 25 (adjustable 20-30)
ADX > 25: Trending market → Signal allowed
ADX < 25: Range-bound → Signal blocked
4. Alternating Logic
Prevents signal spam by requiring alternation:
✓ BUY → SELL → BUY (allowed)
✗ BUY → BUY → BUY (blocked)
________________________________________
Mathematical Foundation
RMBS Formula: scoring method developed by Ario
RMBS = (RSI – 50) / 10 + ((BB_pos – 50) / 10)
where:
• RSI = Relative Strength Index (close, L)
• BB_pos = (Close – (SMA – 2 σ)) / ((SMA + 2 σ) – (SMA – 2 σ)) × 100
• σ = standard deviation of close over lookback L
• SMA = simple moving average of close over lookback L
• L = rmbs_length (period setting)
This produces a normalized composite score around zero:
• Positive → bullish momentum and upper band dominance
• Negative → bearish momentum and lower band pressure
• Near 0 → neutral or transitional zone
Input Parameters
ADX Threshold (default: 25)
• Lower (20-23): More signals, less filtering
• Higher (28-30): Fewer signals, stronger trends
• Recommended: 25 for balanced filtering
Signal Thresholds
• BUY: +3.0 (adjustable)
• SELL: -3.0 (adjustable)
Visual Options
• Marker colors
• Background highlights
• Alert settings
________________________________________
Usage Guidelines
How to Interpret
• 🟢 Green Marker: All conditions met for Bull condition
• 🔴 Red Marker: All conditions met for Bear condition
• No Marker: Waiting for confirmation
________________________________________
Important Disclaimers
⚠️ Educational Purpose Only
• This tool demonstrates multi-factor technical analysis concepts
• Not financial advice or trade recommendations
• No guarantee of profitability
⚠️ Known Limitations
• Less effective in ranging/choppy markets
• Requires proper risk management (stop-loss, position sizing)
• Should be combined with fundamental analysis
⚠️ Risk Warning
Trading involves substantial risk of loss. Past performance does not indicate future results. Always conduct your own research and consult professionals before trading.
________________________________________
Open Source
Full Pine Script code available for educational study and modification. Feedback and improvement suggestions welcome.
“All logic is presented for research and educational visualization.”
---
**Attribution & Fair Use Notice**
The RMBS scoring framework (Multi-Factor Momentum System) was originally designed and formulated by *Ahmadrezarahmati( Ario or Ario_ Pine Lab)*.
If you build upon, modify, or republish this logic—please include proper attribution to the original author. This request is made under a spirit of open collaboration and educational fairness.
TF weekly System 1 — Weekly Trend Flip Indicator
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
Final trend following weeklySystem 1 — Weekly Trend Flip Indicator
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
Trend following system WeeklySystem 1 — Weekly Trend Flip Strategy
System 1 (Weekly) is a trend-following strategy designed to trigger only on weekly timeframe signals.
It aims to catch clean trend shifts and avoid lower-timeframe noise.
Uses fast and slow EMAs with ATR filtering to detect strong weekly momentum
Enters long on a bullish flip of the EMAs
Exits on a bearish flip or neutral zone (optional)
Ideal for position traders, swing traders, and investors who want fewer, higher-quality signals
Signals are generated only on weekly candle closes
📊 Tip: This strategy works best on assets with clear medium-term trends. You can use it alongside daily or intraday systems for additional confirmation.
Oscillator CandlesticksI've always wondered why we don't use candlesticks for oscillators...then I stopped wondering and made an oscillator with candlesticks.
The following oscillators are available as a proof of concept:
* Consumer Channel Index (CCI)
* Rate of Change (ROC)
* Relative Strength Index (RSI)
* Trend Strength Index (TSI)
You can add a moving average to the ohlc4 value of the oscillator and choose the type of the moving average and whether it should be influenced by volume.
Trend following system with ADR and volumeSystem 1 — Trend Flip Strategy
System 1 is a simple trend-following strategy that enters on a bullish EMA flip and exits when the trend weakens or reverses. It’s built to catch clean moves and avoid chop.
Uses fast and slow EMAs with ATR filtering to detect real momentum
Enters long on a bullish flip
Exits on a bearish flip or neutral zone (optional)
Clear signals with easy-to-read entry and exit markers
Great for trending markets and momentum setups
Tip: Test across multiple timeframes and pair with volume or higher-timeframe confluence for stronger signals.
Trend system🧭 System 1 – Trend Flip Strategy
System 1 is a simple yet powerful EMA-based strategy designed to capture early trend flips using volatility-adjusted signals. It works best on trending markets and aims to get you positioned early in the move while avoiding chop when the market is neutral.
📊 Core Logic
Uses a fast EMA and slow EMA to define market structure.
Applies an ATR-based margin to filter out noise and identify true bullish or bearish momentum shifts.
Generates a one-shot long entry when the market flips bullish.
Closes the position either on a bearish flip or optionally on neutral signals for a cleaner exit.
⚙️ Key Features
🟢 Trend confirmation with EMA + ATR margin
🪄 One-shot entries – only enters when flat and a clean flip occurs
🚪 Configurable exits – choose to exit on trend reversal or neutrality
🧭 Clear visual cues – color-coded EMA bands and entry/exit markers
📬 Custom alert messages – ready for webhook automation or bot integration
🧠 Why It May Be Useful
Great for momentum traders looking to enter early on trend shifts.
ATR filtering helps avoid false signals during choppy conditions.
Minimal parameters make it easy to optimize across multiple markets and timeframes.
Useful for systematic strategy builders as a core trend-following module.
Compatible with automation and alerts, making it suitable for both discretionary and systematic approaches.
📌 Tip:
For best results, test across multiple timeframes and assets. Consider pairing with volume or higher-timeframe confluence to improve selectivity.
Session-Conditioned Regime ATRWhy this exists
Classic ATR is great—until the open. The first few bars often inherit overnight gaps and 24-hour noise that have nothing to do with the intraday regime you actually trade. That inflates early ATR, scrambles thresholds, and invites hyper-recency bias (“today is crazy!”) when it’s just the open being the open.
This tool was built to:
Separate session reality from 24h noise. Measure volatility only inside your defined session (e.g., NYSE 09:30–16:00 ET).
Judge candles against the current regime, not the last 2–3 bars. A rolling statistic from the last N completed sessions defines what “typical” means right now.
Label “large” and “small” objectively. Bars are colored only when True Range meaningfully departs from the session regime—no gut feel, no open-bar distortion (gap inclusion optional).
Overview
Purpose: objectively identify unusually big or small candles within the active trading session, compared to the recent session regime.
Use cases: volatility filters, entry/exit confirmation, session bias detection, adaptive sizing.
This indicator replaces generic ATR with a session-conditioned, regime-aware measure. It colors candles only when their True Range (TR) is abnormally large/small versus the last N completed sessions of the same session window.
How it works
Session gating: Only bars inside the selected session are evaluated (presets for NYSE, CME RTH, FX NY; custom supported).
Per-bar TR: TR = max(high, prevRef) − min(low, prevRef).
prevRef is the prior close for in-session bars.
First bar of the session can include the overnight gap (optional; default off).
Regime statistic: For any bar in session k, aggregate all in-session TRs from the previous N completed sessions (k−N … k−1), then compute Median (default) or Mean.
Today’s anchor: Running statistic from today’s session start → current bar (for context and the on-chart ratio).
Color logic:
Big if TR ≥ bigMult × RegimeStat
Small if TR ≤ smallMult × RegimeStat
Colored states: big bull, big bear, small bull, small bear.
Non-triggering bars retain the chart’s native colors.
Panel (top-right by default)
Regime ATR (Nd): session-conditioned statistic over the past N completed sessions.
Today ATR (anchored): running statistic for the current session.
Ratio (Today/Regime): intraday volatility vs regime.
Sample size n: number of bars used in the regime calculation.
Inputs
Session Preset: NYSE (09:30–16:00 ET), CME RTH (08:30–15:00 CT), FX NY (08:00–17:00 ET), Custom (session + IANA timezone).
Regime Window: number of completed sessions (default 5).
Statistic: Median (robust) or Mean.
Include Open Gap: include overnight gap in the first in-session bar’s TR (default off).
Big/Small thresholds: multipliers relative to RegimeStat (defaults: Big=1.5×, Small=0.67×).
Colors: four independent colors for big/small × bull/bear.
Panel position & text size.
Hidden outputs: expose RegimeStat, TodayStat, Ratio, and Z-score to other scripts.
Alerts
RegimeATR: BIG bar — triggers when a bar meets the “Big” condition.
RegimeATR: SMALL bar — triggers when a bar meets the “Small” condition.
Hidden outputs (for strategies/screeners)
RegimeATR_stat, TodayATR_stat, Today_vs_Regime_Ratio, BarTR_Zscore.
Notes & limitations
No look-ahead: calculations only use information available up to that bar. Historical colors reflect what would have been known then.
Warm-up: colors begin once there are at least N completed sessions; before that, regime is undefined by design.
Changing inputs (session window, multipliers, median/mean, gap toggle) recomputes the full series using the same rolling regime logic per bar.
Designed for standard candles. Styling respects existing chart colors when no condition triggers.
Practical tips
For a broader or tighter notion of “unusual,” adjust Big/Small multipliers.
Prefer Median in markets prone to outliers; use Mean if you want Z-score alignment with the panel’s regime mean/std.
Use the Ratio readout to spot compression/expansion days quickly (e.g., <0.7× = compressed session, >1.3× = expanded).
Roadmap
More session presets:
24h continuous (crypto, index CFDs).
23h/Globex futures (CME ETH with a 60-minute maintenance break).
Regional equities (LSE, Xetra, TSE), Asia/Europe/NY overlaps for FX.
Half-day/holiday templates and dynamic calendars.
Multi-regime comparison: track multiple overlapping regimes (e.g., RTH vs ETH for futures) and show separate stats/ratios.
Robust stats options: trimmed mean, MAD/Huber alternatives; optional percentile thresholds instead of fixed multipliers.
Subpanel visuals: rolling TodayATR and Ratio plots; optional Z-score ribbon.
Screener/strategy hooks: export boolean series for BIG/SMALL, plus a lightweight strategy template for backtesting entries/exits conditioned on regime volatility.
Performance/QOL: per-symbol presets, smarter warm-up, and finer control over sample caps for ultra-low TF charts.
Changelog
v0.9b (Beta)
Session presets (NYSE/CME RTH/FX NY/Custom) with timezone handling.
Panel enhancements: ratio + sample size n.
Four-state bar coloring (big/small × bull/bear).
Alerts for BIG/SMALL bars.
Hidden Z-score stream for downstream use.
Gap-in-TR toggle for the first in-session bar.
Disclaimer
For educational purposes only. Not investment advice. Validate thresholds and session settings across symbols/timeframes before live use.