LBR 3/10 'Sardine' Oscillator (ATR-Normalized)LBR 3/10 Oscillator - Short-Term Momentum Indicator
The LBR 3/10 "Sardine" Oscillator is a short-term momentum indicator developed by Linda Bradford Raschke. This ATR-normalized version provides cross-market comparability and consistent extreme levels across all timeframes and asset classes.
What is the LBR 3/10 Oscillator?
The LBR 3/10 is designed to capture very short-term momentum shifts by measuring the difference between a 3-period and 10-period moving average. Named after Linda Bradford Raschke's "Trading Sardines" book, this oscillator excels at identifying rapid momentum changes and potential reversal points.
Formula: / ATR(10) × 100
Where MA can be either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
Why ATR Normalization?
Problem with Traditional Oscillators:
Traditional momentum oscillators produce values that vary dramatically across different markets and time periods. A reading of 5 might be extreme for one asset but insignificant for another.
Solution:
ATR normalization divides the raw momentum value by the Average True Range, creating standardized readings that are:
Comparable Across Markets: Same interpretation whether analyzing stocks, forex, commodities, or crypto
Comparable Across Time: Readings maintain consistent meaning regardless of price levels
Universal Extreme Levels: The ±125 levels work consistently across all assets and timeframes
Statistical Research
Extensive statistical analysis across multiple markets identified the ±125 extreme levels:
+125 Level: Reached approximately 4% of the time (extreme bullish momentum)
-125 Level: Reached approximately 2% of the time (extreme bearish momentum)
These statistically-validated levels provide objective definitions for overbought and oversold conditions, eliminating subjective interpretation.
Key Features
Core Components
LBR 3/10 Line: Main oscillator showing normalized short-term momentum
Signal Line: Smoothed moving average of the oscillator (default: 9-period)
Extreme Levels: Horizontal lines at ±125 marking statistical extremes
Zero Line: Separates bullish and bearish momentum regimes
Visual Elements
Blue Line: LBR 3/10 oscillator (main momentum line)
Red Line: Signal line (smoothed moving average of oscillator)
Fill Area: Light blue shaded region between oscillator and signal line
Background Zones: Light red (overbought above +125) or light green (oversold below -125)
Horizontal Lines: Gray dashed lines at +125, -125, and 0 (zero line solid)
Divergence Markers: Green/red circles marking price/oscillator divergences
Signal Crosses: Small green/red triangles marking oscillator/signal line crossovers
Pullback Markers: Yellow diamond shapes with white "↑PB" or "↓PB" text for first pullback signals
Std Dev Bands: Orange circles marking statistical extreme levels (optional, disabled by default)
Advanced Features
MA Type Selection: Choose between SMA or EMA for both oscillator and signal line
Standard Deviation Bands: Optional adaptive extreme levels based on statistical volatility
Pullback Detection: Identifies high-probability counter-trend entries during established trends
First Pullback Filter: Noise reduction system that highlights initial pullback after trend change
Trading Applications
1. Extreme Level Reversals
When the oscillator reaches ±125, it indicates stretched momentum conditions:
Above +125: Overbought - watch for bearish reversal signals
Below -125: Oversold - watch for bullish reversal signals
2. Signal Line Crossovers
Bullish Cross: Oscillator crosses above signal line (momentum shift up)
Bearish Cross: Oscillator crosses below signal line (momentum shift down)
3. Zero Line Crosses
Signal line crossing zero indicates trend regime changes:
Cross Above 0: Transition to bullish trend
Cross Below 0: Transition to bearish trend
4. Divergence Trading
Bullish Divergence: Price makes lower low, oscillator makes higher low
Bearish Divergence: Price makes higher high, oscillator makes lower high
Best used in combination with other momentum indicators for confirmation
5. Pullback Strategy (High-Probability Setup)
Uptrend Pullback: Signal line positive + oscillator crosses below (buy opportunity)
Downtrend Pullback: Signal line negative + oscillator crosses above (sell opportunity)
First Pullback: Initial counter-trend signal after trend change (highest probability)
6. "Anti" Setup
Linda Bradford Raschke's classic setup:
Wait for extreme reading (±125)
Enter on first pullback signal in opposite direction
Captures momentum exhaustion reversals
Comprehensive Alert System
Extreme Level Alerts
Crossed above +125 (overbought)
Crossed below -125 (oversold)
Divergence Alerts
Bullish divergence detected
Bearish divergence detected
Signal Cross Alerts
Bullish cross (oscillator above signal)
Bearish cross (oscillator below signal)
Trend Change Alerts
Signal line crossed above zero (trend change to bullish)
Signal line crossed below zero (trend change to bearish)
Pullback Alerts
Pullback in uptrend (potential buy)
Pullback in downtrend (potential sell)
FIRST pullback in uptrend (high-probability buy)
FIRST pullback in downtrend (high-probability sell)
Settings & Parameters
LBR 3/10 Settings
Fast MA Length: Short-term period (default: 3)
Slow MA Length: Baseline period (default: 10)
ATR Length: Volatility normalization period (default: 10)
MA Type: SMA or EMA selection
Extreme High Level: Overbought threshold (default: 125)
Extreme Low Level: Oversold threshold (default: -125)
Signal Line
Show Signal Line: Enable/disable display (default: true)
Signal Line Length: Smoothing period (default: 9)
Divergence Detection
Show Divergences: Enable/disable detection (default: true)
Divergence Lookback: Pivot detection period (default: 5)
Standard Deviation Bands
Show Std Dev Bands: Enable/disable adaptive levels (default: false)
Std Dev Multiplier: Band width adjustment (default: 1.5)
Std Dev Length: Calculation period (default: 100)
Best Practices
Trending Markets
Focus on pullback signals in direction of trend
Use first pullback filter for highest-probability entries
Watch for extreme levels as profit-taking zones
Ranging Markets
Trade reversals at extreme levels (±125)
Use divergences with additional momentum indicator confirmation
Avoid signal line crosses near zero (low-quality signals)
Multi-Timeframe Analysis
Higher timeframe: Identify trend direction (signal line above/below zero)
Lower timeframe: Time precise entries using pullback signals
Confirmation: Use additional momentum indicators for signal validation
Risk Management
Reduce position size at extreme levels (increased reversal risk)
Use ATR-based stops (e.g., 2× ATR from entry)
Exit on opposite extreme level or signal line zero cross
Chart Legend - Visual Signal Guide
Lines and Fills
🔵 Blue Line: LBR 3/10 oscillator value
🔴 Red Line: Signal line (9-period MA of oscillator)
💠 Light Blue Fill: Area between oscillator and signal line (visual momentum gauge)
Background Colors
🟥 Light Red Background: Extreme overbought zone (LBR > +125)
🟩 Light Green Background: Extreme oversold zone (LBR < -125)
Horizontal Reference Lines
➖ +125 (Gray Dashed): Overbought extreme level
➖ 0 (Gray Solid): Zero line - trend separator
➖ -125 (Gray Dashed): Oversold extreme level
Signal Markers
🟢 Green Circle: Bullish divergence detected (price lower low, oscillator higher low)
🔴 Red Circle: Bearish divergence detected (price higher high, oscillator lower high)
▲ Green Triangle Up: Bullish signal cross (oscillator crosses above signal line)
▼ Red Triangle Down: Bearish signal cross (oscillator crosses below signal line)
Yellow Diamond "↑PB": First pullback in uptrend (high-probability buy setup)
Yellow Diamond "↓PB": First pullback in downtrend (high-probability sell setup)
Combining with MACD-V+ Indicator
LBR 3/10 and MACD-V+ work together as a powerful two-timeframe momentum system:
Indicator Roles
MACD-V+: Strategic direction (12-26 period) - identifies market regime and lifecycle state
LBR 3/10: Tactical timing (3-10 period) - pinpoints precise entry and exit moments
Key Principles
Strategic Filter: MACD-V+ determines IF you should trade (market regime)
Tactical Timing: LBR 3/10 determines WHEN to enter (precise timing)
Confirmation Reduces Risk: Trade only when both indicators agree
Respect Lifecycle Changes: Exit when MACD-V+ state changes against your position
Methodology
The LBR 3/10 indicator implements statistical analysis and volatility normalization techniques to create a universal short-term momentum tool. This approach enables consistent interpretation across all markets and timeframes.
The indicator implements:
ATR-based normalization for cross-market comparability
Statistical extreme level validation (±125 levels)
Noise reduction through first pullback filtering
Dual MA type support (SMA/EMA) for flexibility
Standard deviation bands for adaptive threshold levels
LBR 3/10 provides traders with a precise tool for short-term momentum analysis and tactical entry timing. Combined with proper risk management and multi-timeframe analysis, it offers objective signals for both trend-following and reversal trading strategies.
This indicator is designed for educational and analytical purposes. Past performance does not guarantee future results. Always conduct thorough research and consider consulting with financial professionals before making investment decisions.
Oscillateurs
Aggregated Scores Oscillator [Alpha Extract]A sophisticated risk-adjusted performance measurement system that combines Omega Ratio and Sortino Ratio methodologies to create a comprehensive market assessment oscillator. Utilizing advanced statistical band calculations with expanding and rolling window analysis, this indicator delivers institutional-grade overbought/oversold detection based on risk-adjusted returns rather than traditional price movements. The system's dual-ratio aggregation approach provides superior signal accuracy by incorporating both upside potential and downside risk metrics with dynamic threshold adaptation for varying market conditions.
🔶 Advanced Statistical Framework
Implements dual statistical methodologies using expanding and rolling window calculations to create adaptive threshold bands that evolve with market conditions. The system calculates cumulative statistics alongside rolling averages to provide both historical context and current market regime sensitivity with configurable window parameters for optimal performance across timeframes.
🔶 Dual Ratio Integration System
Combines Omega Ratio analysis measuring excess returns versus deficit returns with Sortino Ratio calculations focusing on downside deviation for comprehensive risk-adjusted performance assessment. The system applies configurable smoothing to both ratios before aggregation, ensuring stable signal generation while maintaining sensitivity to regime changes.
// Omega Ratio Calculation
Excess_Return = sum((Daily_Return > Target_Return ? Daily_Return - Target_Return : 0), Period)
Deficit_Return = sum((Daily_Return < Target_Return ? Target_Return - Daily_Return : 0), Period)
Omega_Ratio = Deficit_Return ≠ 0 ? (Excess_Return / Deficit_Return) : na
// Sortino Ratio Framework
Downside_Deviation = sqrt(sum((Daily_Return < Target_Return ? (Daily_Return - Target_Return)² : 0), Period) / Period)
Sortino_Ratio = (Mean_Return / Downside_Deviation) * sqrt(Annualization_Factor)
// Aggregated Score
Aggregated_Score = SMA(Omega_Ratio, Omega_SMA) + SMA(Sortino_Ratio, Sortino_SMA)
🔶 Dynamic Band Calculation Engine
Features sophisticated threshold determination using both expanding historical statistics and rolling window analysis to create adaptive overbought/oversold levels. The system incorporates configurable multipliers and sensitivity adjustments to optimize signal timing across varying market volatility conditions with automatic band convergence logic.
🔶 Signal Generation Framework
Generates overbought conditions when aggregated score exceeds adjusted upper threshold and oversold conditions below lower threshold, with neutral zone identification for range-bound markets. The system provides clear binary signal states with background zone highlighting and dynamic oscillator coloring for intuitive market condition assessment.
🔶 Enhanced Visual Architecture
Provides modern dark theme visualization with neon color scheme, dynamic oscillator line coloring based on signal states, and gradient band fills for comprehensive market condition visualization. The system includes zero-line reference, statistical band plots, and background zone highlighting with configurable transparency levels.
snapshot
🔶 Risk-Adjusted Performance Analysis
Utilizes target return parameters for customizable risk assessment baselines, enabling traders to evaluate performance relative to specific return objectives. The system's focus on downside deviation through Sortino analysis provides superior risk-adjusted signals compared to traditional volatility-based oscillators that treat upside and downside movements equally.
🔶 Multi-Timeframe Adaptability
Features configurable calculation periods and rolling windows to optimize performance across various timeframes from intraday to long-term analysis. The system's statistical foundation ensures consistent signal quality regardless of timeframe selection while maintaining sensitivity to market regime changes through adaptive band calculations.
🔶 Performance Optimization Framework
Implements efficient statistical calculations with optimized variable management and configurable smoothing parameters to balance responsiveness with signal stability. The system includes automatic band adjustment mechanisms and rolling window management for consistent performance across extended analysis periods.
This indicator delivers sophisticated risk-adjusted market analysis by combining proven statistical ratios in a unified oscillator framework. Unlike traditional overbought/oversold indicators that rely solely on price movements, the ASO incorporates risk-adjusted performance metrics to identify genuine market extremes based on return quality rather than price volatility alone. The system's adaptive statistical bands and dual-ratio methodology provide institutional-grade signal accuracy suitable for systematic trading approaches across cryptocurrency, forex, and equity markets with comprehensive visual feedback and configurable risk parameters for optimal strategy integration.
MACD-V+MACD-V+ Indicator - Advanced Momentum Analysis
The MACD-V+ indicator is an enhanced version of the volatility-normalized MACD methodology developed by Alex Spiroglou. This approach addresses critical limitations of traditional MACD through ATR-based volatility normalization, providing comparable values across time and markets.
What is MACD-V?
MACD-V applies Average True Range (ATR) normalization to traditional MACD, creating a universal momentum indicator that works consistently across all markets and timeframes. The methodology was developed through extensive statistical research analyzing multiple markets and timeframes.
Formula: × 100
This normalization transforms MACD from price-dependent values into standardized momentum readings.
Traditional MACD Limitations
Limitation 1: Non-Comparable Values Across Time
Traditional MACD values cannot be compared across different time periods due to varying price levels. S&P 500 maximum MACD was 1.56 in 1957-1971, but reached 86.31 in 2019-2021 - not indicating 55x stronger momentum, but simply different price scales.
Solution: MACD-V provides comparable historical values where a reading of 100 today has the same mathematical meaning as 100 in any previous period.
Limitation 2: Non-Comparable Across Markets
Traditional MACD cannot compare momentum between different assets. S&P 500 MACD of 65 versus EUR/USD MACD of -0.5 reflects price differences, not relative strength.
Solution: MACD-V creates universal levels that work across all markets. The ±150 extreme levels apply consistently whether analyzing stocks, bonds, commodities, or currencies.
Limitation 3: No Objective Momentum System
Traditional MACD lacks universal overbought or oversold level definitions, making systematic analysis difficult.
Solution: MACD-V provides an objective 7-stage momentum lifecycle system with clearly defined zones and state transitions.
Limitation 4: Signal Line False Signals
In low momentum environments, traditional MACD generates multiple false signals as the line oscillates near zero.
Solution: MACD-V filters signal quality by identifying neutral zones (-50 to +50) where signal reliability is lower.
Limitation 5: Signal Line Timing Lag
During extreme momentum, traditional MACD signal line lags significantly due to large separation from the MACD line.
Solution: MACD-V anticipates timing issues in extreme momentum environments (±150) through zone-based analysis and lifecycle states.
Universal Application
MACD-V+ works across:
Individual Stocks
Forex Pairs
Commodity Futures
Cryptocurrencies
All Timeframes
Key Features
Zone System
Overbought Zone: Above +150 (extreme bullish momentum)
Rally Zone: +50 to +150 (strong bullish momentum)
Ranging Zone: -50 to +50 (neutral/low momentum)
Rebound Zone: -50 to -150 (strong bearish momentum)
Oversold Zone: Below -150 (extreme bearish momentum)
7-Stage Lifecycle States
Ranging: Neutral momentum in -50 to +50 zone
Rallying: Rally zone + MACD above Signal + rising momentum
Overbought: Extreme zone above +150
Retracing: Rally zone + MACD below Signal (pullback from overbought)
Reversing: Rebound zone + MACD below Signal + falling momentum
Oversold: Extreme zone below -150
Rebounding: Rebound zone + MACD above Signal (recovery from oversold)
Visual Status Display
Real-Time State Table: Shows current lifecycle state name
Color-Coded States: Blue (Rallying/Rebounding), Red (Overbought/Oversold), Orange (Retracing/Reversing), Gray (Ranging)
Strength Multiplier: Live histogram strength indicator (e.g., "x 1.45")
Enhanced Features (Plus)
Absolute Histogram MA: ATR-length moving average of absolute histogram values for strength measurement
Direction-Aware Display: MA line follows histogram sign (positive above 0, negative below 0)
Strength Multiplier: Current momentum vs. average strength ratio (always positive value)
Histogram Extreme Levels: Short-term overbought/oversold (±40) for pullback detection
Chart Legend - Visual Signal Guide
Lines and Histogram
🔵 Blue Line: MACD-V value (ATR-normalized momentum)
🟠 Orange Line: Signal line (9-period EMA of MACD-V)
📊 Histogram Bars: MACD-V minus Signal line (momentum differential)
Histogram Colors: Green shades (positive momentum), Red shades (negative momentum)
🟡 Yellow Line: Dynamic MA of absolute histogram values (follows histogram sign)
Background Colors
🟥 Light Red Background: Extreme overbought zone (MACD-V > +150)
🟩 Light Green Background: Extreme oversold zone (MACD-V < -150)
Horizontal Reference Lines
➖ +150 (Gray Dashed): Overbought extreme level
➖ +50 (Gray Dashed): Rally zone entry level
➖ 0 (Gray Solid): Zero line - trend separator
➖ -50 (Gray Dashed): Rebound zone entry level
➖ -150 (Gray Dashed): Oversold extreme level
Optional Histogram Levels
➖ +40 (Yellow Dashed): Histogram short-term overbought
➖ -40 (Yellow Dashed): Histogram short-term oversold
Status Table
📋 Top-Center Table: Current lifecycle state display
State Name: RANGING / RALLYING / OVERBOUGHT / RETRACING / REVERSING / OVERSOLD / REBOUNDING
Histogram Warning: Short-term overbought/oversold alerts (±40 levels)
State Label
📊 Label at MACD/Signal Midpoint: Current lifecycle state with strength analysis
State Name: RANGING / RALLYING / OVERBOUGHT / RETRACING / REVERSING / OVERSOLD / REBOUNDING
Strength Multiplier Interpretation:
- Strong acceleration (>1.75): Powerful momentum, trend continuation likely
- Moderate progression (1.25-1.75): Normal trend strength
- Trend continuation (0.75-1.25): Stable momentum near average
- Watch for reversal (0.25-0.75): Weakening momentum
- Trend exhaustion (<0.25): Very weak momentum, reversal possible
Trading Applications
1. Lifecycle State Trading
Enter Long: When state changes to "RALLYING" (strong bullish momentum established)
Enter Short: When state changes to "REVERSING" (strong bearish momentum established)
Exit/Reduce: When state reaches "OVERBOUGHT" or "OVERSOLD" (extreme levels)
Avoid Trading: When state is "RANGING" (low momentum, unreliable signals)
2. Zone-Based Trading
Rally Zone (+50 to +150): Look for pullback entries (histogram dips)
Rebound Zone (-50 to -150): Look for bounce entries (histogram rises)
Extreme Zones (±150+): Prepare for reversal or take profits
Ranging Zone (-50 to +50): Wait for breakout confirmation
3. Signal Line Crossovers
Bullish Cross: MACD-V crosses above Signal line (momentum shift up)
Bearish Cross: MACD-V crosses below Signal line (momentum shift down)
Quality Filter: Trust crossovers in Rally/Rebound zones, ignore in Ranging zone
4. Zero Line Crosses
Cross Above 0: Transition to bullish regime
Cross Below 0: Transition to bearish regime
Trend Confirmation: Strong trends keep MACD-V on same side of zero
5. Histogram Extreme Strategy
Above +40: Short-term overbought - potential pullback
Below -40: Short-term oversold - potential bounce
Use with Trend: Buy dips to -40 in uptrend, sell rallies to +40 in downtrend
6. Strength Multiplier Analysis
> 1.75: Strong acceleration - powerful momentum, trend continuation highly likely
1.25 to 1.75: Moderate progression - normal healthy trend strength
0.75 to 1.25: Trend continuation - stable momentum near average strength
0.25 to 0.75: Watch for reversal - momentum weakening significantly
< 0.25: Trend exhaustion - very weak momentum, reversal possible
Comprehensive Alert System
Lifecycle State Change Alerts
Range Entered (low momentum warning)
Rally Started (bullish momentum established)
Overbought Reached (extreme bullish level)
Overbought Exit (leaving extreme zone)
Retracing Started (pullback from overbought)
Reversal Started (bearish momentum established)
Oversold Reached (extreme bearish level)
Oversold Exit (leaving extreme zone)
Rebounding Started (recovery from oversold)
Alert Builder Integration
Binary outputs (1/0) for external alert systems:
Individual state flags for each of 7 lifecycle states
Strength multiplier value for programmatic trend assessment
Settings & Parameters
MACD Configuration
MACD Fast: Fast EMA period (default: 12)
MACD Slow: Slow EMA period (default: 26)
Signal Line: Signal smoothing period (default: 9)
Source: Price source (default: Close)
Zone Boundaries
Overbought: Extreme bullish level (default: 150)
Oversold: Extreme bearish level (default: -150)
Rally: Strong bullish zone entry (default: 50)
Rebound: Strong bearish zone entry (default: -50)
Histogram Bounds
Histogram OB: Short-term overbought (default: 40)
Histogram OS: Short-term oversold (default: -40)
Trend Filters
MA Type: Histogram strength MA calculation method (None / SMA / EMA)
Show Elder Impulse Plus: Bar color system based on EMA(13) + histogram direction
200 EMA trend: Trend Filter v1 - Bull/Bear classification (adaptive MACD-V levels)
50/200 EMA 6-stage: Trend Filter v2 - Chuck Dukas Diamond 6-stage market classification
Best Practices
Trending Markets
Focus on "RALLYING" or "REVERSING" states for entries
Use histogram pullbacks (±40) for position additions
Monitor strength multiplier - exit if drops below 0.25
Take profits in extreme zones (±150+)
Yellow MA crossing histogram warns of momentum shift
Ranging Markets
Avoid trading when state is "RANGING"
Wait for clear zone entry (Rally/Rebound zone)
Use shorter timeframes for precision
Reduce position sizes due to lower reliability
Multi-Timeframe Analysis
Higher timeframe: Identify market regime (lifecycle state)
Lower timeframe: Time precise entries (histogram pullbacks)
Alignment: Trade only when both timeframes agree on direction
Risk Management
Reduce position size in extreme zones (±150+)
Use lifecycle state changes for stop-loss placement
Scale out of positions when strength multiplier < 0.25
Avoid counter-trend trades in strong states (RALLYING/REVERSING)
Watch yellow MA - when it crosses below histogram absolute value, momentum weakening
Combining with LBR 3/10-V Indicator
MACD-V+ and LBR 3/10-V create a powerful two-timeframe momentum system for strategic direction and tactical timing.
Strategic Filter: MACD-V+ determines WHETHER to trade (market regime)
Tactical Precision: LBR 3/10-V determines WHEN to enter (timing)
Double Confirmation: Both indicators must agree on direction
Lifecycle Management: Exit when MACD-V+ state changes
Strength Validation: Use MACD-V+ multiplier for position sizing
Extreme Respect: Both hitting extremes = high reversal probability
Methodology
MACD-V methodology is based on volatility normalization using Average True Range (ATR). This approach transforms traditional MACD into a universal momentum indicator with statistically-validated zones and objectively-defined states.
The indicator implements:
ATR-based normalization for cross-market comparability
Statistical analysis for universal zone definitions (±150, ±50)
Lifecycle state system for objective trend identification
Absolute histogram MA with direction-aware visualization (ATR-length period)
Strength multiplier: ratio of current to average absolute momentum (always positive)
Dynamic status table adapting to active trend filters
MACD-V+ transforms momentum analysis from subjective interpretation into objective, quantifiable measurements. Combined with LBR 3/10-V for tactical timing, it provides a complete framework for systematic trading across all financial markets and timeframes.
This indicator is designed for educational and analytical purposes. Past performance does not guarantee future results. Always conduct thorough research and consider consulting with financial professionals before making investment decisions.
Trend/Range Composite (Single-Line) v1.4🔹 Step 1: Add it to your chart
Copy the whole script.
In TradingView → Pine Editor → paste it.
Click Add to chart.
It will show a white line in a subwindow, plus thresholds at 40 and 60, and a colored background.
Optional: You’ll see a status box (top-right of chart) with details like ADX, ATR, slope, etc.
🔹 Step 2: Understand the Score
The indicator compresses all signals into a 0–100 “Trend Strength Score”:
≥ 60 = TREND (teal background)
→ Market is trending, consider trend strategies like vertical spreads, runners, breakouts.
≤ 40 = RANGE (orange background)
→ Market is choppy/sideways, consider range strategies like butterflies, condors, mean-reversion fades.
40–60 = MIXED (gray background)
→ Indecision / chop. Best to reduce size or wait for clarity.
🔹 Step 3: Use with Your Trading Plan
Intraday (5m, 15m, 30m)
Score < 40 → play support/resistance bounces, fade extremes.
Score > 60 → play momentum breakouts or pullback continuations.
Daily chart
Good for swing context (is this month trending or just chopping?).
🔹 Step 4: Alerts
You can set TradingView alerts:
Cross above 60 → market entering trend mode.
Cross below 40 → market entering range mode.
Useful if you don’t want to watch constantly.
🔹 Step 5: Confirm with Price Levels
The score tells you “trend vs range”, but you still need levels:
If score < 40 → mark PDH / PDL (previous day high/low), VAH/VAL, VWAP. Expect rejections/fades.
If score > 60 → watch for breakouts beyond PDH/PDL or supply/demand zones.
Market Sentiment OscillatorMarket Sentiment Oscillator
Overview
The Market Sentiment Oscillator is a Pine Script v6 indicator for TradingView that assesses market context with a composite oscillator. It blends MACD, RSI, and Volume Price Trend (VPT) into a normalized score, with optional multi-timeframe (MTF) averaging and optional trail lines to visualize recent extremes. Weighting and normalization are used to keep the scale consistent across symbols and timeframes. A compact status table summarizes sentiment, trend, and turning-point markers.
How It Works
• Composite score: finalScore = 0.4 · MACD_hist + 0.4 · ((RSI − 50)/50) + 0.2 · VPT_norm. MACD/RSI emphasize momentum; VPT_norm (z-score of a cumulative VPT) adds volume context.
• MTF (optional): The same score is computed on a higher timeframe (default: 1H) and averaged with the chart-TF score for broader context. MTF requests use lookahead_off.
• Neutral buffer: Readings within ±0.2 (default) are treated as neutral to reduce noise.
• Markers: Early turning points are labeled Hypothetical; labels switch to Verified after a fixed bar count.
• Trails (visual only): Lines connect recent extreme highs/lows of the oscillator, with optional dashed previews and short forward extensions for illustration.
Key Features
• Composite Sentiment Score: Structured blend of MACD, RSI, and normalized VPT.
• Multi-Timeframe Context : Optional averaging with a higher timeframe score.
• Visual Trails: Extreme-to-extreme lines and optional previews for context (charting aid).
• Adaptive Coloring: Gradient or solid coloring based on direction and magnitude.
• Turning-Point Markers: Hypothetical and Verified labels for tops/bottoms.
• Status Table: Summarizes sentiment state, trend, and recent turning-point info.
• Customizable: MACD/RSI/VPT inputs, neutral zone, colors, visibility.
What It Displays
A composite, normalized view of momentum and volume context, with optional higher-timeframe blending and visual trails to help interpret shifts between bearish, neutral, and bullish conditions.
Originality
Original Pine v6 implementation using TradingView built-ins: ta.macd, ta.rsi, ta.cum, ta.sma, ta.stdev, ta.pivothigh, ta.pivotlow, and request.security.
Common Uses
• Reviewing momentum context alongside volume influence.
• Illustrating shifts between bearish/neutral/bullish conditions.
• Adding higher-timeframe context to a lower-timeframe view.
Configuration Notes
Set MACD (default 12/26/9), RSI (default 14), and VPT options. Choose a higher timeframe (default 1H) if using MTF. Adjust the neutral zone (default ±0.2), coloring mode, and visibility of trails and table.
Repainting & Limitations
• MTF: Uses lookahead_off to avoid higher-timeframe repainting.
• Pivots/labels: Turning-point pivots are verified only after the required right bars close; “Hypothetical” labels are early and may update intra-bar.
• Trails/previews: Visual aids only; previews and short forward extensions can update while a bar is forming.
Legal Disclaimer
This indicator is for informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves risk of loss. Provided “as is” without warranties. Consult a qualified professional before making decisions.
Hummingbird Probability Mapping IndicatorHummingbird Probability Mapping Indicator - A nature inspired indicator that utilizes combinations of the following trend patterns and projects a probability mapping with greater than 70% accuracy based on real-time analysis.
EMA Trend
MACD
RSI
VWAP Spread
Burst
Squeeze
Volatility (ATRp)
Qi Dass
MFx Radar (Money Flow x-Radar)Description:
MFx Radar is a precision-built multi-timeframe analysis tool designed to identify high-probability trend shifts and accumulation/distribution events using a combination of WaveTrend dynamics, normalized money flow, RSI, BBWP, and OBV-based trend biasing.
Multi-Timeframe Trend Scanner
Analyze trend direction across 5 customizable timeframes using WaveTrend logic to produce a clear trend consensus.
Smart Money Flow Detection
Adaptive hybrid money flow combines CMF and MFI, normalized across lookback periods, to pinpoint shifts in accumulation or distribution with high sensitivity.
Event-Based Labels & Alerts
Minimalist "Accum" and "Distr" text labels appear at key inflection points, based on hybrid flow flips — designed to highlight smart money moves without clutter.
Trigger & Pattern Recognition
Built-in logic detects anchor points, trigger confirmations, and rare "Snake Eye" formations directly on WaveTrend, enhancing trade timing accuracy.
Visual Dashboard Table
A real-time table provides score-based insight into signal quality, trend direction, and volume behavior, giving you a full picture at a glance.
MFx Radar helps streamline discretionary and system-based trading decisions by surfacing key confluences across price, volume, and momentum all while staying out of your way visually.
How to Use MFx Radar
MFx Radar is a multi-timeframe market intelligence tool designed to help you spot trend direction, momentum shifts, volume strength, and high-probability trade setups using confluence across price, flow, and timeframes.
Where to find settings To see the full visual setup:
After adding the script, open the Settings gear. Go to the Inputs tab and enable:
Show Trigger Diamonds
Show WT Cross Circles
Show Anchor/Trigger/Snake Eye Labels
Show Table
Show OBV Divergence
Show Multi-TF Confluence
Show Signal Score
Then, go to the Style tab to adjust colors and fills for the wave plots and hybrid money flow. (Use published chart as a reference.)
What the Waves and Colors Mean
Blue WaveTrend (WT1 / WT2). These are the main momentum waves.
WT1 > WT2 = bullish momentum
WT1 < WT2 = bearish momentum
Above zero = bullish bias
Below zero = bearish bias
When WT1 crosses above WT2, it often marks the beginning of a move — these are shown as green trigger diamonds.
VWAP-MACD Line
The yellow fill helps spot volume-based momentum.
Rising = trend acceleration
Use together with BBWP (bollinger band width percentile) and hybrid money flow for confirmation.
Hybrid Money Flow
Combines CMF and MFI, normalized and smoothed.
Green = accumulation
Red = distribution
Transitions are key — especially when price moves up, but money flow stays red (a divergence warning).
This is useful for spotting fakeouts or confirming smart money shifts.
Orange Vertical Highlights
Shows when price is rising, but money flow is still red.
Often a sign of hidden distribution or "exit pump" behavior.
Table Dashboard (Bottom-Right)
BBWP (Volatility Pulse)
When BBWP is low (<20), it signals consolidation — a breakout is likely to follow.
Use this with ADX and WaveTrend position to anticipate directional breakouts.
Trend by ADX
Shows whether the market is trending and in which direction.
Combined with money flow and RSI, this gives strong confirmation on breakouts.
OBV HTF Bias
Gives higher timeframe pressure (bullish/bearish/neutral).
Helps avoid taking counter-trend trades.
Pattern Labels (WT-Based)
A = Anchor Wave — WT hitting oversold
T = Trigger Wave — WT turning back up after anchor
👀 = Snake Eyes — Rare pattern, usually signaling strong reversal potential
These help in timing entries, especially when they align with other signals like BBWP breakouts, confluence, or smart money flow flips.
Multi-Timeframe (MTF) Consensus
The system checks WaveTrend on 5 different timeframes and gives:
Color-coded signals on each TF
A final score: “Mostly Up,” “Mostly Down,” or “Mixed”
When MTFs align with wave crosses, BBWP expansion, and hybrid money flow shifts, the probability of sustained move is higher.
Divergence Spotting (Advanced Tip)
Watch for:Price rising while money flow is red → Possible trap / early exit
Price dropping while money flow is green → Early accumulation
Combine this with anchor-trigger patterns and MTF trend support for spotting bottoms or tops early.
Final Tips
Use WT trigger crosses as initial signal. Confirm with money flow direction + color flip
Look at BBWP for breakout timing. Use table as your decision dashboard
Favor trades that align with MTF consensus
Sentiment Navigator|SuperFundedSentiment Navigator — Momentum × Volatility Heatmap
What it is
Sentiment Navigator blends momentum (RSI) with volatility (ATR normalized by price) to visualize market psychology using a background heatmap and a lower oscillator.
・Background: quick read of the market’s “temperature” → Extreme Greed / Greed / Neutral / Fear / Extreme Fear.
・Oscillator: a bounded sentiment score from -100 to +100 showing bias strength and potential extremes.
Why this is not a simple mashup
Instead of showing RSI and ATR separately, this tool integrates them into a single, weighted score and a state machine:
・Context-aware weighting: When volatility is high (ATR vs its SMA baseline), the score is amplified, reflecting that momentum matters more in turbulent regimes.
・Unified states: RSI thresholds classify regimes (Greed/Fear) and are conditioned by volatility to promote Extreme states only when justified.
・Actionable cues: Reversal labels appear at the extreme levels with candle confirmation to reduce noise.
How it works (concise)
1. Momentum: RSI(len) (default 21).
2. Volatility: ATR(len)/close*100 (default ATR=14), smoothed by SMA(volSmaLen) and compared using volMultiplier.
3. Sentiment score: transform RSI to (-100..+100) via (RSI-50)*2, then amplify ×1.5 when high volatility. Finally clamp to .
4. States:
・RSI > greedLevel → Greed (upgraded to Extreme Greed if high vol)
・RSI < fearLevel → Fear (upgraded to Extreme Fear if high vol)
・else Neutral
5. Plotting:
・Oscillator (area) with 0-line and dotted extreme bands.
・Background color by state (greens for Greed, reds for Fear, gray for Neutral).
6. Signals (optional):
・Buy: crossover(score, -extremeGreedLevel) and close > open → prints ▲ at -extremeGreedLevel
・Sell: crossunder(score, extremeGreedLevel) and close < open → prints ▼ at +extremeGreedLevel
Parameters (UI mapping)
Core
・RSI Length (rsiLen)
・ATR Length (atrLen)
・Volatility SMA Length (volSmaLen)
・High-Vol Multiplier (volMultiplier)
State thresholds
・Extreme Greed (extremeGreedLevel)
・Greed (greedLevel)
・Fear (fearLevel)
・Extreme Fear (extremeFearLevel)
Display
・Show Background (showBgColor)
・Show Reversal Signals (showSignals)
Practical usage
・Regime read: Treat greens as risk-on bias, reds as risk-off, gray as indecision.
・Entries: Use ▲/▼ as triggers, not commands—wait for price action (wicks/engulfings) at structure.
・Extreme management: At Extreme states, favor mean-reversion tactics; in plain Greed/Fear with low vol, trends may persist longer.
・Tuning:
・Raise greedLevel/fearLevel to reduce signals.
・Increase volMultiplier to demand stronger vol for “Extreme” states.
Repainting & confirmation
Signals rely on cross events of the oscillator; judge on bar close for stricter rules. Background/state can change intrabar as RSI/ATR evolve.
Disclaimer
No indicator guarantees outcomes. News/liquidity can override signals. Trade responsibly with proper risk controls.
SuperFunded invite-only
To obtain access, please DM me on TradingView or use the link in my profile.
Sentiment Navigator — クイックガイド(日本語)
概要
本インジは RSI(モメンタム) と ATR/価格(ボラティリティ) を統合し、背景のヒートマップと下部オシレーターで市場心理を可視化します。
・背景色:極度の強欲 / 強欲 / 中立 / 恐怖 / 極度の恐怖 を直感表示。
・オシレーター:-100〜+100 のスコアでバイアスの強さと過熱を示します。
独自性・新規性
・高ボラ状態ではスコアを増幅し、同じRSIでも環境次第で体感インパクトを反映。
・RSIしきい値×ボラで極端ゾーンの発生を制御し、意義のあるExtremeのみ点灯。
・反転ラベルは極端レベルのクロス+ローソク条件で点灯し、ノイズを抑制。
仕組み(要点)
1. RSI を算出。
2. ATR/close*100 を SMA と比較し、しきい値倍率で高ボラを判定。
3. score = (RSI-50)*2 を 高ボラで×1.5、 にクランプ。
4. 状態:RSI>Greed → Greed/Extreme Greed、RSI
SEVENX|SuperFundedSEVENX — Modular Multi-Signal Scanner (SuperFunded)
What it is
SEVENX combines seven classic signals—MACD, OBV, RSI, Stochastics, CCI, Momentum, and an optional ATR volatility filter—into a modular gate. You can toggle each condition on/off, and a BUY/SELL arrow prints only when all enabled conditions agree. Text labels are optional.
Why this is not a simple mashup
・Most “combo” scripts just overlay indicators. SEVENX is a strict consensus engine:
・Each condition is binary and user-switchable.
・The final signal is the logical AND of all enabled checks (no hidden weights).
・Signals fire only on confirmed events (e.g., RSI crossing a level, Stoch K/D cross), which makes entries rule-driven and reproducible.
This yields a transparent, vendor-grade workflow where traders can start simple (2–3 gates) and tighten selectivity by enabling more gates.
How it works (concise)
・MACD: macd_line > signal_line (buy) / < (sell).
・OBV trend: OBV > OBV_MA (buy) / < (sell).
・RSI bounce/drop: crossover(RSI, Oversold) (buy) / crossunder(RSI, Overbought) (sell).
・Stoch cross: %K crosses above %D (buy) / below (sell).
・CCI rebound/pullback: crossover(CCI, -Level) (buy) / crossunder(CCI, +Level) (sell).
・Momentum: Momentum > 0 (buy) / < 0 (sell).
・ATR filter (optional): ATR > ATR_MA must also be true (both sides).
・Final signal: AND of all enabled conditions. If you enable none on a side, that side will not print.
Parameters (UI mapping)
Buy Signal (group: “— Buy Signal —”)
・MACD Golden Cross / OBV Uptrend / RSI Bounce from Oversold / Stochastic Golden Cross / CCI Rebound from Oversold / Momentum > 0 / ATR Volatility Filter (on/off)
Sell Signal (group: “— Sell Signal —”)
・MACD Dead Cross / OBV Downtrend / RSI Drop from Overbought / Stochastic Dead Cross / CCI Pullback from Overbought / Momentum < 0 / ATR Volatility Filter (on/off)
Indicator Settings
・MACD: Fast/Slow/Signal lengths.
・RSI: Length, Overbought/Oversold levels.
・Stochastics: %K length, %D smoothing, overall smoothing.
・CCI: Length, Level (±Level used).
・Momentum: Length.
・OBV: MA length for trend baseline.
・ATR: ATR length, ATR MA length (for the filter).
Display
・Show Text (BUY/SELL text on the markers), Buy/Sell Text Colors.
Practical usage
・Start simple: Enable 2 conditions (e.g., MACD + RSI). If signals are too frequent, add OBV or Momentum; if still frequent, enable ATR filter.
・Mean-reversion vs trend:
・For trend-following, prefer MACD/OBV/Momentum gates.
・For reversal bounces, add RSI/CCI gates and keep Stoch for timing.
・Tuning sensitivity:
・Raise RSI Oversold/Overbought thresholds to make bounces rarer.
・Increase ATR_MA length to smooth the volatility baseline.
・Risk first: Plan SL/TP independently (e.g., structure levels or R-multiples). SEVENX focuses on entry qualification, not exits.
Repainting & confirmation
Signals depend on cross events and are best treated on bar close. Intrabar flips can occur before a bar closes; for strict rules, confirm on closed bars in your strategy.
Disclaimer
No indicator can guarantee outcomes. News, liquidity, and spread conditions can invalidate signals. Trade responsibly and manage risk.
SuperFunded invite-only
To obtain access, please DM me on TradingView or use the link in my profile.
SEVENX — モジュラー型マルチシグナル・スキャナー(日本語)
概要
SEVENXは、MACD / OBV / RSI / ストキャス / CCI / モメンタム / ATRフィルターの7条件を個別オン・オフで制御し、有効化した条件がすべて満たされたときだけBUY/SELL矢印を表示する、合意(AND)型シグナルインジです。テキスト表示も任意。
独自性・新規性
・各条件はブラックボックスではなく明示的なブール判定で、最終シグナルは有効化した条件のAND。
・RSIのレベルクロスやStochのK/Dクロスなど、確定イベントで判定するため、再現性の高いルール運用が可能。少数条件から始めて、必要に応じて段階的に厳格化できます。
動作要点
・MACD:線がシグナル上/下。
・OBV:OBVがOBVのMAより上/下。
・RSI:RSIがOSを上抜け(買い)/OBを下抜け(売り)。
・Stoch:%Kが%Dを上抜け/下抜け。
・CCI:CCIが**−Levelを上抜け**(買い)/+Levelを下抜け(売り)。
・Momentum:0より上/下。
・ATRフィルター(任意):ATR > ATR_MA を満たすこと(買い/売り共通)。
・最終サイン:有効化した条件のAND。そのサイドで1つも有効化していなければサインは出ません。
実践ヒント
・まずは2条件(例:MACD+RSI)でテスト → 多すぎるならOBV/MomentumやATRフィルターを追加。
・トレンド重視:MACD/OBV/Momentumを主軸に。
・押し目・戻り目狙い:RSI/CCIを追加、Stochでタイミング調整。
・感度調整:RSIのOB/OSを広げる、ATR_MAを長くする等で厳しめに。
・出口は別設計:SL/TPは価格帯やR倍数などで管理を。
再描画と確定
確定足基準で判断すると安定します。足確定前はクロスが行き来することがあります。
免責
シグナルの機能は保証されません。イベントや流動性で無効化する場合があります。資金管理のうえ自己責任でご利用ください。
SuperFunded 招待専用スクリプト
このスクリプトはSuperFundedの参加者専用です。アクセスをご希望の方は、SuperFundedにご登録のメールアドレスから partner@superfunded.com 宛に、TradingViewの登録名をご送信ください。
Rsi TrendLines with Breakouts [KoTa]### RSI TrendLines with Breakouts Indicator: Detailed User Guide
The "RSI TrendLines with Breakouts " indicator is a custom Pine Script tool designed for TradingView. It builds on the standard Relative Strength Index (RSI) by adding dynamic trendlines based on RSI pivots (highs and lows) across multiple user-defined periods. These trendlines act as support and resistance levels on the RSI chart, and the indicator detects breakouts when the RSI crosses these lines, generating potential buy (long) or sell (short) signals. It also includes overbought/oversold thresholds and optional breakout labels. Below, I'll provide a detailed explanation in English, covering how to use it, its purpose, advantages and disadvantages, example strategies, and ways to enhance strategies with other indicators.
How to Use the Indicator
- The indicator uses `max_lines_count=500` to handle a large number of lines without performance issues, but on very long charts, you may need to zoom in for clarity.
1. **Customizing Settings**:
The indicator has several input groups for flexibility. Access them via the gear icon next to the indicator's name on the chart.
- **RSI Settings**:
- RSI Length: Default 14. This is the period for calculating the RSI. Shorter lengths (e.g., 7-10) make it more sensitive to recent price changes; longer (e.g., 20+) smooth it out for trends.
- RSI Source: Default is close price. You can change to open, high, low, or other sources like volume-weighted for different assets.
- Overbought Level: Default 70. RSI above this suggests potential overbuying.
- Oversold Level: Default 30. RSI below this suggests potential overselling.
- **Trend Periods**:
- You can enable/disable up to 5 periods (defaults: Period 1=3, Period 2=5, Period 3=10, Period 4=20, Period 5=50). Only enabled periods will draw trendlines.
- Each period detects pivots (highs/lows) in RSI using `ta.pivothigh` and `ta.pivotlow`. Shorter periods (e.g., 3-10) capture short-term trends; longer ones (20-50) show medium-to-long-term momentum.
- Inline checkboxes allow you to toggle display for each (e.g., display_p3=true by default).
- **Color Settings**:
- Resistance/Support Color: Defaults to red for resistance (up-trendlines from RSI highs) and green for support (down-trendlines from RSI lows).
- Labels for breakouts use green for "B" (buy/long) and red for "S" (sell/short).
- **Breakout Settings**:
- Show Prev. Breakouts: If true, displays previous breakout labels (up to "Max Prev. Breakouts Label" +1, default 2+1=3).
- Show Breakouts: Separate toggles for each period (e.g., show_breakouts3). When enabled, dotted extension lines project the trendline forward, and crossovers/crossunders trigger labels like "B3" (breakout above resistance for Period 3) or "S3" (break below support).
- Note: Divergence detection is commented out in the code. If you want to enable it, uncomment the relevant sections (e.g., show_divergence input) and adjust the lookback (default 5 bars) for spotting bullish/bearish divergences between price and RSI.
2. **Interpreting the Visuals**:
- **RSI Plot**: A blue line showing the RSI value (0-100). Horizontal dashed lines at 70 (red, overbought), 30 (green, oversold), and 50 (gray, midline).
- **Trendlines**: Solid lines connecting recent RSI pivots. Green lines (support) connect lows; red lines (resistance) connect highs. Only the most recent line per direction is shown per period to avoid clutter.
- **Breakout Projections**: Dotted lines extend the current trendline forward. When RSI crosses above a red dotted resistance, a "B" label (e.g., "B1") appears above, indicating a potential bullish breakout. Crossing below a green dotted support shows an "S" label below, indicating bearish.
- **Labels**: Current breakouts are bright (green/red); previous ones fade to gray. Use these as signal alerts.
- **Alerts**: The code includes commented-out alert conditions (e.g., for breakouts or RSI crossing levels). Uncomment and set them up in TradingView's alert menu for notifications.
3. **Best Practices**:
- Use on RSI-compatible timeframes (e.g., 1H, 4H, daily) for stocks, forex, or crypto.
- Combine with price chart: Trendlines are on RSI, so check if RSI breakouts align with price action (e.g., breaking a price resistance).
- Test on historical data: Backtest signals using TradingView's replay feature.
- Avoid over-customization initially—start with defaults (Periods 3 and 5 enabled) to understand behavior.
What It Is Used For
This indicator is primarily used for **momentum-based trend analysis and breakout trading on the RSI oscillator**. Traditional RSI identifies overbought/oversold conditions, but this enhances it by drawing dynamic trendlines on RSI itself, treating RSI as a "price-like" chart for trend detection.
- **Key Purposes**:
- **Identifying Momentum Trends**: RSI trendlines show if momentum is strengthening (upward-sloping support) or weakening (downward-sloping resistance), even if price is ranging.
- **Spotting Breakouts**: Detects when RSI breaks its own support/resistance, signaling potential price reversals or continuations. For example, an RSI breakout above resistance in an oversold zone might indicate a bullish price reversal.
- **Multi-Period Analysis**: By using multiple pivot periods, it acts like a multi-timeframe tool within RSI, helping confirm short-term signals with longer-term trends.
- **Signal Generation**: Breakout labels provide entry/exit points, especially in trending markets. It's useful for swing trading, scalping, or confirming trends in larger strategies.
- **Divergence (Optional)**: If enabled, it highlights mismatches between price highs/lows and RSI, which can predict reversals (e.g., bullish divergence: price lower low, RSI higher low).
Overall, it's ideal for traders who rely on oscillators but want more visual structure, like trendline traders applying price concepts to RSI.
Advantages and Disadvantages
**Advantages**:
- **Visual Clarity**: Trendlines make RSI easier to interpret than raw numbers, helping spot support/resistance in momentum without manual drawing.
- **Multi-Period Flexibility**: Multiple periods allow analyzing short- and long-term momentum simultaneously, reducing noise from single-period RSI.
- **Breakout Signals**: Automated detection of breakouts provides timely alerts, with labels and projections for proactive trading. This can improve entry timing in volatile markets.
- **Customization**: Extensive inputs (periods, colors, breakouts) make it adaptable to different assets/timeframes. The stateful management of lines/labels prevents chart clutter.
- **Complementary to Price Action**: Enhances standard RSI by adding trend context, useful for confirming divergences or overbought/oversold trades.
- **Efficiency**: Uses efficient arrays and line management, supporting up to 500 lines for long charts without lagging TradingView.
**Disadvantages**:
- **Lagging Nature**: Based on historical pivots, signals may lag in fast-moving markets, leading to late entries. Shorter periods help but increase whipsaws.
- **False Signals**: In ranging or sideways markets, RSI trendlines can produce frequent false breakouts. It performs better in trending conditions but may underperform without filters.
- **Over-Reliance on RSI**: Ignores volume, fundamentals, or price structure—breakouts might not translate to price moves if momentum decouples from price.
- **Complexity for Beginners**: Multiple periods and settings can overwhelm new users; misconfiguration (e.g., too many periods) leads to noisy charts.
- **No Built-in Risk Management**: Signals lack stop-loss/take-profit logic; users must add these manually.
- **Divergence Limitations**: The basic (commented) divergence detection is simplistic and may miss hidden divergences or require tuning.
In summary, it's powerful for momentum traders but should be used with confirmation tools to mitigate false positives.
Example Strategies
Here are one LONG (buy) and one SHORT (sell) strategy example using the indicator. These are basic; always backtest and use risk management (e.g., 1-2% risk per trade, stop-loss at recent lows/highs).
**LONG Strategy Example: Oversold RSI Support Breakout**
- **Setup**: Use on a daily chart for stocks or crypto. Enable Periods 3 and 5 (short- and medium-term). Set oversold level to 30.
- **Entry**: Wait for RSI to be in oversold (<30). Look for a "B" breakout label (e.g., "B3" or "B5") when RSI crosses above a red resistance trendline projection. Confirm with price forming a higher low or candlestick reversal (e.g., hammer).
- **Stop-Loss**: Place below the recent price low or the RSI support level equivalent in price terms (e.g., 5-10% below entry).
- **Take-Profit**: Target RSI reaching overbought (70) or a 2:1 risk-reward ratio. Exit on a bearish RSI crossunder midline (50).
- **Example Scenario**: In a downtrending stock, RSI hits 25 and forms a support trendline. On a "B5" breakout, enter long. This captures momentum reversals after overselling.
- **Rationale**: Breakout above RSI resistance in oversold signals fading selling pressure, potential for price uptrend.
**SHORT Strategy Example: Overbought RSI Resistance Breakout**
- **Setup**: Use on a 4H chart for forex pairs. Enable Periods 10 and 20. Set overbought level to 70.
- **Entry**: Wait for RSI in overbought (>70). Enter on an "S" breakout label (e.g., "S3" or "S4") when RSI crosses below a green support trendline projection. Confirm with price showing a lower high or bearish candlestick (e.g., shooting star).
- **Stop-Loss**: Above the recent price high or RSI resistance level (e.g., 5-10% above entry).
- **Take-Profit**: Target RSI hitting oversold (30) or a 2:1 risk-reward. Exit on bullish RSI crossover midline (50).
- **Example Scenario**: In an uptrending pair, RSI peaks at 75 with a resistance trendline. On "S4" breakout, enter short. This targets momentum exhaustion after overbuying.
- **Rationale**: Break below RSI support in overbought indicates weakening buying momentum, likely price downturn.
Enhancing Strategy Validity with Other Indicators
To increase the reliability of strategies based on this indicator, combine it with complementary tools for confirmation, filtering false signals, and adding context. This creates multi-indicator strategies that reduce whipsaws and improve win rates. Focus on indicators that address RSI's weaknesses (e.g., lagging, momentum-only). Below are examples of different indicators, how to integrate them, and sample strategies.
1. **Moving Averages (e.g., SMA/EMA)**:
- **How to Use**: Overlay 50/200-period EMAs on the price chart. Use RSI breakouts only in the direction of the trend (e.g., long only if price > 200 EMA).
- **Strategy Example**: Trend-Following Long – Enter on "B" RSI breakout if price is above 200 EMA and RSI > 50. This filters reversals in uptrends. Add MACD crossover for entry timing. Advantage: Aligns momentum with price trend, reducing counter-trend trades.
2. **Volume Indicators (e.g., Volume Oscillator or OBV)**:
- **How to Use**: Require increasing volume on RSI breakouts (e.g., OBV making higher highs on bullish breakouts).
- **Strategy Example**: Volume-Confirmed Short – On "S" breakout, check if volume is rising and OBV breaks its own trendline downward. Enter short only if confirmed. This validates breakouts with real market participation, avoiding low-volume traps.
3. **Other Oscillators (e.g., MACD or Stochastic)**:
- **How to Use**: Use for divergence confirmation or overbought/oversold alignment. For instance, require Stochastic (14,3,3) to also breakout from its levels.
- **Strategy Example**: Dual-Oscillator Reversal Long – Enable divergence in the indicator. Enter on bullish RSI divergence + "B" breakout if MACD histogram flips positive. Exit on MACD bearish crossover. This strengthens reversal signals by cross-verifying momentum.
4. **Price Action Tools (e.g., Support/Resistance or Candlestick Patterns)**:
- **How to Use**: Map RSI trendlines to price levels (e.g., if RSI resistance breaks, check if price breaks a key resistance).
- **Strategy Example**: Price-Aligned Breakout Short – On "S" RSI breakout in overbought, confirm with price breaking below a drawn support line or forming a bearish engulfing candle. Use Fibonacci retracements for targets. This ensures momentum translates to price movement.
5. **Volatility Indicators (e.g., Bollinger Bands or ATR)**:
- **How to Use**: Avoid trades during low volatility (e.g., Bollinger Band squeeze) to filter ranging markets. Use ATR for dynamic stops.
- **Strategy Example**: Volatility-Filtered Long – Enter "B" breakout only if Bollinger Bands are expanding (increasing volatility) and RSI is oversold. Set stop-loss at 1.5x ATR below entry. This targets high-momentum breakouts while skipping choppy periods.
**General Tips for Building Enhanced Strategies**:
- **Layering**: Start with RSI breakout as the primary signal, add 1-2 confirmations (e.g., EMA trend + volume).
- **Backtesting**: Use TradingView's strategy tester to quantify win rates with/without additions.
- **Risk Filters**: Incorporate overall market sentiment (e.g., via VIX) or avoid trading near news events.
- **Timeframe Alignment**: Use higher timeframes for trend (e.g., daily EMA) and lower for entries (e.g., 1H RSI breakout).
- **Avoid Overloading**: Too many indicators cause paralysis; aim for synergy (e.g., trend + momentum + volume).
This indicator is a versatile tool, but success depends on context and discipline. If you need code modifications or specific backtests, provide more details!
Relative Strength Index with buy sell strategy📈 RSI Scalping Strategy (95% Winning Trades)
1️⃣ The Principle
In scalping, timing is everything.
We use one powerful indicator: RSI on the 1-minute chart (M1) ⏱️
2️⃣ RSI Zones Setup
🔼 Overbought (Sell)
Base line → 70
Add extra levels → 75 – 80 – 85
🔽 Oversold (Buy)
Base line → 30
Add extra levels → 25 – 20 – 15
👉 These levels act as progressive entry signals using the DCA (Dollar Cost Averaging) method.
3️⃣ Concrete Example (on XAUUSD / Gold 🌟)
Price hits RSI 25 → Enter with 0.1 lot
RSI drops to 20 → Add 0.2 lot
RSI falls to 15 → Add 0.5 lot
⚡️ Why does this work?
Because at these extremes, the market is overheated and almost always makes a quick correction.
4️⃣ Exiting the Trade (Take Profit)
🎯 Target: Close between RSI 40 – 45
❌ Never wait beyond RSI 50
✅ Summary:
Only enter at RSI extreme zones 🔫
Use progressive entries (DCA) ✔️
Exit when RSI reverts to the middle zone 💰
RSI Cloud v1.0 [PriceBlance] RSI Cloud v1.0 — Ichimoku-style Cloud on RSI(14), not on price.
Recalibrated baselines: EMA9 (Tenkan) for speed, WMA45 (Kijun) for stability.
Plus ADX-on-RSI to grade strength so you know when momentum persists or fades.
1. Introduction
RSI Cloud v1.0 applies an Ichimoku Cloud directly on RSI(14) to reveal momentum regimes earlier and cleaner than price-based views. We replaced Tenkan with EMA9 (faster, more responsive) and Kijun with WMA45 (slower, more stable) to fit a bounded oscillator (0–100). Forward spans (+26) and a lagging line (−26) provide a clear framework for trend bias and transitions.
To qualify signals, the indicator adds ADX computed on RSI—highlighting whether strength is weak, strong, or very strong, so you can decide when to follow, fade, or stand aside.
2. Core Mapping (Hook + Bullets)
At a glance: Ichimoku on RSI(14) with recalibrated baselines for a bounded oscillator.
Source: RSI(14)
Tenkan → EMA9(RSI) (fast, responsive)
Kijun → WMA45(RSI) (slow, stable)
Span A: classic Ichimoku midline, displaced +26
Span B: classic Ichimoku baseline, displaced +26
Lagging line: RSI shifted −26
3. Key Benefits (Why traders care)
Momentum regimes on RSI: position vs. Cloud = bull / bear / transition at a glance.
Cleaner confirmations: EMA9/WMA45 pairing cuts noise vs. raw 30/70 flips.
Earlier warnings: Cloud breaks on RSI often lead price-based confirmations.
4. ADX on RSI (Enhanced Strength Normalization)
Grade strength inside the RSI domain using ADX from ΔRSI:
ADX ≤ 20 → Weak (transparency = 60)
ADX ≤ 40 → Strong (transparency = 15)
ADX > 40 → Very strong (transparency = 0)
Use these tiers to decide when to trust, fade, or ignore a signal.
5. How to Read (Quick rules)
Bias / Regime
Bullish: RSI above Cloud and RSI > WMA45
Bearish: RSI below Cloud and RSI < WMA45
Neutral / Transition: all other cases
6. Settings (Copy & use)
RSI Length: 14 (default)
Tenkan: EMA9 on RSI · Kijun: WMA45 on RSI
Displacement: +26 (Span A/B) · −26 (Lagging)
Theme: PriceBlance Dark/Light
Visibility toggles: Cloud, Baselines, Lagging, labels/panel, Overbought/Oversold, Divergence, ADX-on-RSI (via transparency coloring)
7. Credits & License
Author/Brand: PriceBlance
Version: v1.0 (Free)
Watermark: PriceBlance • RSI Cloud v1.0
Disclaimer: Educational content; not financial advice.
8. CTA
If this helps, please ⭐ Star and Follow for updates & new tools.
Feedback is welcome—comment what you’d like added next (alerts, presets, visuals).
CM Visual – Two-Pole Normalized Osc + RSI + CHOPThis script is being tested for a two-pole oscillator with RSI and CHOP filters. If you're interested in Beta testing, please email austinlowens@gmail.com
RSI Prior DayLagged RSI indicator showing the prior day's RSI(14) value for easy divergence detection. Plot it alongside current RSI to spot bullish/bearish signals. Ideal for swing traders scanning for momentum shifts.
RSI Trendlines and Divergences█OVERVIEW
The "RSI Trendlines and Divergences" indicator is an advanced technical analysis tool that leverages the Relative Strength Index (RSI) to draw trendlines and detect divergences. Designed for traders seeking precise market signals, the indicator identifies key pivot points on the RSI chart, draws trendlines between pivots, and detects bullish and bearish divergences. It offers flexible settings, background coloring for breakout signals, and divergence labels, supported by alerts for key events. The indicator is universal and works across all markets (stocks, forex, cryptocurrencies) and timeframes.
█CONCEPTS
The indicator was developed to provide an alternative signal source for the RSI oscillator. Trendline breakouts and bounces off trendlines offer a broader perspective on potential price behavior. Combining these with traditional RSI signal interpretation can serve as a foundation for creating various trading strategies.
█FEATURES
- RSI and Pivot Calculation: Calculates RSI based on the selected source price (default: close) with a customizable period (default: 14). Identifies pivot points on RSI and price for trendlines and divergences.
- RSI Trendlines: Draws trendlines connecting RSI pivots (upper for downtrends, lower for uptrends) with optional extension (default: 30 bars). The trendline appears and generates a signal only after the first RSI crossover. Lines are colored (red for upper, green for lower).
- Trendline Fill: Widens the trendline with a tolerance margin expressed in RSI points, reducing signal noise and visually highlighting trend zones. Breaking this zone is a condition for generating signals, minimizing false signals. The tolerance margin can be increased or decreased.
- Divergence Detection: Identifies bullish and bearish divergences based on RSI and price pivots, displaying labels (“Bull” for bullish, “Bear” for bearish) with adjustable transparency. Divergence labels appear with a delay equal to the specified pivot length (default: 5). Higher values yield stronger signals but with greater delay.
- Breakout Signals: Generates signals when RSI crosses the trendline (bullish for upper lines, bearish for lower lines), with background coloring for signal confirmation.
- Alerts: Built-in alerts for:
Detection of bullish and bearish divergences.
Upper trendline crossover (bullish signal).
Lower trendline crossover (bearish signal).
- Customization: Allows adjustment of RSI length, pivot settings, line colors, fills, labels, and transparency of signals and background.
█HOW TO USE
Add the indicator to your TradingView chart via the Pine Editor or Indicators menu.
Configuring Settings.
RSI Settings
- RSI Length: Period for RSI calculation (default: 14).
- SMA Length: Period for RSI moving average (default: 9).
- Source: Source price for RSI (default: close).
Pivot Settings for Trend
- Left Bars for Pivot: Number of bars back for detecting pivots (default: 10).
- Right Bars for Pivot: Number of bars forward for confirming pivots (default: 10).
- Extension after Second Pivot: Number of bars to extend the trendline (default: 30, 0 = none). Extension increases the number of signals, while shortening reduces them.
- Tolerance: Deviation in RSI points to widen the breakout margin, reducing signal noise (default: 3.0).
Divergence Settings
- Enable Divergence Detection: Enables/disables divergence detection (default: enabled).
- Pivot Length for Divergence: Pivot period for divergences (default: 5).
Style Settings
- Upper Trendline Color: Color for downtrend lines (default: red).
- Upper Fill Color: Fill color for upper lines (default: red, transparency 70).
- Lower Trendline Color: Color for uptrend lines (default: green).
- Lower Fill Color: Fill color for lower lines (default: green, transparency 70).
- SMA Color: Color for RSI moving average (default: yellow).
- Bullish Divergence Color: Color for bullish labels (default: green).
- Bearish Divergence Color: Color for bearish labels (default: red).
- Text Color: Color for label text (default: white).
- Divergence Label Transparency: Transparency of labels (0-100, default: 40).
- Signal Background Transparency: Transparency of breakout signal background (0-100, default: 80).
Interpreting Signals
- Trendlines: Upper lines (red) indicate RSI downtrends, lower lines (green) indicate uptrends. The trendline appears and generates a signal only after the first RSI crossover. Trendline breakouts suggest potential trend reversals.
- Divergences: “Bull” labels indicate bullish divergence (potential rise), “Bear” labels indicate bearish divergence (potential decline), with a delay based on pivot length (default: 5). Divergences serve as confirmation or warning of trend reversal, not as standalone signals.
- Signal Background: Green background signals bullish breakouts, red background signals bearish breakouts.
- RSI Levels: Horizontal lines at 70 (overbought), 50 (midline), and 30 (oversold) help assess market zones.
- Alerts: Set up alerts in TradingView for divergences or trendline breakouts.
Combining with Other Tools: Use with support/resistance levels, Fibonacci levels, or other indicators for signal confirmation.
█APPLICATIONS
The "RSI Trendlines and Divergence" indicator is designed to identify trends and potential reversal points, supporting both trend-following and reversal strategies:
- Trend Confirmation: Trendlines indicate the RSI trend direction, with breakouts signaling potential reversals. The indicator is functional in traditional RSI usage, allowing classic RSI interpretation (e.g., returning from overbought/oversold zones). Combining trendline breakouts with RSI signal levels, such as a return from overbought or oversold zones paired with a trendline breakout, strengthens the signal.
- Divergence Detection: Divergences serve as confirmation or warning of trend reversal, not as standalone signals.
█NOTES
- Adjust settings (e.g., RSI length, pivots, tolerance) to suit your trading style and timeframe.
- Combine with other technical analysis tools to enhance signal accuracy.
Extreme Pressure Zones Indicator (EPZ) [BullByte]Extreme Pressure Zones Indicator(EPZ)
The Extreme Pressure Zones (EPZ) Indicator is a proprietary market analysis tool designed to highlight potential overbought and oversold "pressure zones" in any financial chart. It does this by combining several unique measurements of price action and volume into a single, bounded oscillator (0–100). Unlike simple momentum or volatility indicators, EPZ captures multiple facets of market pressure: price rejection, trend momentum, supply/demand imbalance, and institutional (smart money) flow. This is not a random mashup of generic indicators; each component was chosen and weighted to reveal extreme market conditions that often precede reversals or strong continuations.
What it is?
EPZ estimates buying/selling pressure and highlights potential extreme zones with a single, bounded 0–100 oscillator built from four normalized components. Context-aware weighting adapts to volatility, trendiness, and relative volume. Visual tools include adaptive thresholds, confirmed-on-close extremes, divergence, an MTF dashboard, and optional gradient candles.
Purpose and originality (not a mashup)
Purpose: Identify when pressure is building or reaching potential extremes while filtering noise across regimes and symbols.
Originality: EPZ integrates price rejection, momentum cascade, pressure distribution, and smart money flow into one bounded scale with context-aware weighting. It is not a cosmetic mashup of public indicators.
Why a trader might use EPZ
EPZ provides a multi-dimensional gauge of market extremes that standalone indicators may miss. Traders might use it to:
Spot Reversals: When EPZ enters an "Extreme High" zone (high red), it implies selling pressure might soon dominate. This can hint at a topside reversal or at least a pause in rallies. Conversely, "Extreme Low" (green) can highlight bottom-fish opportunities. The indicator's divergence module (optional) also finds hidden bullish/bearish divergences between price and EPZ, a clue that price momentum is weakening.
Measure Momentum Shifts: Because EPZ blends momentum and volume, it reacts faster than many single metrics. A rising MPO indicates building bullish pressure, while a falling MPO shows increasing bearish pressure. Traders can use this like a refined RSI: above 50 means bullish bias, below 50 means bearish bias, but with context provided by the thresholds.
Filter Trades: In trend-following systems, one could require EPZ to be in the bullish (green) zone before taking longs, or avoid new trades when EPZ is extreme. In mean-reversion systems, one might specifically look to fade extremes flagged by EPZ.
Multi-Timeframe Confirmation: The dashboard can fetch a higher timeframe EPZ value. For example, you might trade a 15-minute chart only when the 60-minute EPZ agrees on pressure direction.
Components and how they're combined
Rejection (PRV) – Captures price rejection based on candle wicks and volume (see Price Rejection Volume).
Momentum Cascade (MCD) – Blends multiple momentum periods (3,5,8,13) into a normalized momentum score.
Pressure Distribution (PDI) – Measures net buy/sell pressure by comparing volume on up vs down candles.
Smart Money Flow (SMF) – An adaptation of money flow index that emphasizes unusual volume spikes.
Each of these components produces a 0–100 value (higher means more bullish pressure). They are then weighted and averaged into the final Market Pressure Oscillator (MPO), which is smoothed and scaled. By combining these four views, EPZ stands out as a comprehensive pressure gauge – the whole is greater than the sum of parts
Context-aware weighting:
Higher volatility → more PRV weight
Trendiness up (RSI of ATR > 25) → more MCD weight
Relative volume > 1.2x → more PDI weight
SMF holds a stable weight
The weighted average is smoothed and scaled into MPO ∈ with 50 as the neutral midline.
What makes EPZ stand out
Four orthogonal inputs (price action, momentum, pressure, flow) unified in a single bounded oscillator with consistent thresholds.
Adaptive thresholds (optional) plus robust extreme detection that also triggers on crossovers, so static thresholds work reliably too.
Confirm Extremes on Bar Close (default ON): dots/arrows/labels/alerts print on closed bars to avoid repaint confusion.
Clean dashboard, divergence tools, pre-alerts, and optional on-price gradients. Visual 3D layering uses offsets for depth only,no lookahead.
Recommended markets and timeframes
Best: liquid symbols (index futures, large-cap equities, major FX, BTC/ETH).
Timeframes: 5–15m (more signals; consider higher thresholds), 1H–4H (balanced), 1D (clear regimes).
Use caution on illiquid or very low TFs where wick/volume geometry is erratic.
Logic and thresholds
MPO ∈ ; 50 = neutral. Above 50 = bullish pressure; below 50 = bearish.
Static thresholds (defaults): thrHigh = 70, thrLow = 30; warning bands 5 pts inside extremes (65/35).
Adaptive thresholds (optional):
thrHigh = min(BaseHigh + 5, mean(MPO,100) + stdev(MPO,100) × ExtremeSensitivity)
thrLow = max(BaseLow − 5, mean(MPO,100) − stdev(MPO,100) × ExtremeSensitivity)
Extreme detection
High: MPO ≥ thrHigh with peak/slope or crossover filter.
Low: MPO ≤ thrLow with trough/slope or crossover filter.
Cooldown: 5 bars (default). A new extreme will not print until the cooldown elapses, even if MPO re-enters the zone.
Confirmation
"Confirm Extremes on Bar Close" (default ON) gates extreme markers, pre-alerts, and alerts to closed bars (non-repainting).
Divergences
Pivot-based bullish/bearish divergence; tags appear only after left/right bars elapse (lookbackPivot).
MTF
HTF MPO retrieved with lookahead_off; values can update intrabar and finalize at HTF close. This is disclosed and expected.
Inputs and defaults (key ones)
Core: Sensitivity=1.0; Analysis Period=14; Smoothing=3; Adaptive Thresholds=OFF.
Extremes: Base High=70, Base Low=30; Extreme Sensitivity=1.5; Confirm Extremes on Bar Close=ON; Cooldown=5; Dot size Small/Tiny.
Visuals: Heatmap ON; 3D depth optional; Strength bars ON; Pre-alerts OFF; Divergences ON with tags ON; Gradient candles OFF; Glow ON.
Dashboard: ON; Position=Top Right; Size=Normal; MTF ON; HTF=60m; compact overlay table on price chart.
Advanced caps: Max Oscillator Labels=80; Max Extreme Guide Lines=80; Divergence objects=60.
Dashboard: what each element means
Header: EPZ ANALYSIS.
Large readout: Current MPO; color reflects state (extreme, approaching, or neutral).
Status badge: "Extreme High/Low", "Approaching High/Low", "Bullish/Neutral/Bearish".
HTF cell (when MTF ON): Higher-timeframe MPO, color-coded vs extremes; updates intrabar, settles at HTF close.
Predicted (when MTF OFF): Simple MPO extrapolation using momentum/acceleration—illustrative only.
Thresholds: Current thrHigh/thrLow (static or adaptive).
Components: ASCII bars + values for PRV, MCD, PDI, SMF.
Market metrics: Volume Ratio (x) and ATR% of price.
Strength: Bar indicator of |MPO − 50| × 2.
Confidence: Heuristic gauge (100 in extremes, 70 in warnings, 50 with divergence, else |MPO − 50|). Convenience only, not probability.
How to read the oscillator
MPO Value (0–100): A reading of 50 is neutral. Values above ~55 are increasingly bullish (green), while below ~45 are increasingly bearish (red). Think of these as "market pressure".
Extreme Zones: When MPO climbs into the bright orange/red area (above the base-high line, default 70), the chart will display a dot and downward arrow marking that extreme. Traders often treat this as a sign to tighten stops or look for shorts. Similarly, a bright green dot/up-arrow appears when MPO falls below the base-low (30), hinting at a bullish setup.
Heatmap/Candles: If "Pressure Heatmap" is enabled, the background of the oscillator pane will fade green or red depending on MPO. Users can optionally color the price candles by MPO value (gradient candles) to see these extremes on the main chart.
Prediction Zone(optional): A dashed projection line extends the MPO forward by a small number of bars (prediction_bars) using current MPO momentum and acceleration. This is a heuristic extrapolation best used for short horizons (1–5 bars) to anticipate whether MPO may touch a warning or extreme zone. It is provisional and becomes less reliable with longer projection lengths — always confirm predicted moves with bar-close MPO and HTF context before acting.
Divergences: When price makes a higher high but EPZ makes a lower high (bearish divergence), the indicator can draw dotted lines and a "Bear Div" tag. The opposite (lower low price, higher EPZ) gives "Bull Div". These signals confirm waning momentum at extremes.
Zones: Warning bands near extremes; Extreme zones beyond thresholds.
Crossovers: MPO rising through 35 suggests easing downside pressure; falling through 65 suggests waning upside pressure.
Dots/arrows: Extreme markers appear on closed bars when confirmation is ON and respect the 5-bar cooldown.
Pre-alert dots (optional): Proximity cues in warning zones; also gated to bar close when confirmation is ON.
Histogram: Distance from neutral (50); highlights strengthening or weakening pressure.
Divergence tags: "Bear Div" = higher price high with lower MPO high; "Bull Div" = lower price low with higher MPO low.
Pressure Heatmap : Layered gradient background that visually highlights pressure strength across the MPO scale; adjustable intensity and optional zone overlays (warning / extreme) for quick visual scanning.
A typical reading: If the oscillator is rising from neutral towards the high zone (green→orange→red), the chart may see strong buying culminating in a stall. If it then turns down from the extreme, that peak EPZ dot signals sell pressure.
Alerts
EPZ: Extreme Context — fires on confirmed extremes (respects cooldown).
EPZ: Approaching Threshold — fires in warning zones if no extreme.
EPZ: Divergence — fires on confirmed pivot divergences.
Tip: Set alerts to "Once per bar close" to align with confirmation and avoid intrabar repaint.
Practical usage ideas
Trend continuation: In positive regimes (MPO > 50 and rising), pullbacks holding above 50 often precede continuation; mirror for bearish regimes.
Exhaustion caution: E High/E Low can mark exhaustion risk; many wait for MPO rollover or divergence to time fades or partial exits.
Adaptive thresholds: Useful on assets with shifting volatility regimes to maintain meaningful "extreme" levels.
MTF alignment: Prefer setups that agree with the HTF MPO to reduce countertrend noise.
Examples
Screenshots captured in TradingView Replay to freeze the bar at close so values don't fluctuate intrabar. These examples use default settings and are reproducible on the same bars; they are for illustration, not cherry-picking or performance claims.
Example 1 — BTCUSDT, 1h — E Low
MPO closed at 26.6 (below the 30 extreme), printing a confirmed E Low. HTF MPO is 26.6, so higher-timeframe pressure remains bearish. Components are subdued (Momentum/Pressure/Smart$ ≈ 29–37), with Vol Ratio ≈ 1.19x and ATR% ≈ 0.37%. A prior Bear Div flagged weakening impulse into the drop. With cooldown set to 5 bars, new extremes are rate-limited. Many traders wait for MPO to curl up and reclaim 35 or for a fresh Bull Div before considering countertrend ideas; if MPO cannot reclaim 35 and HTF stays weak, treat bounces cautiously. Educational illustration only.
Example 2 — ETHUSD, 30m — E High
A strong impulse pushed MPO into the extreme zone (≥ 70), printing a confirmed E High on close. Shortly after, MPO cooled to ~61.5 while a Bear Div appeared, showing momentum lag as price pushed a higher high. Volume and volatility were elevated (≈ 1.79x / 1.25%). With a 5-bar cooldown, additional extremes won't print immediately. Some treat E High as exhaustion risk—either waiting for MPO rollover under 65/50 to fade, or for a pullback that holds above 50 to re-join the trend if higher-timeframe pressure remains constructive. Educational illustration only.
Known limitations and caveats
The MPO line itself can change intrabar; extreme markers/alerts do not repaint when "Confirm Extremes on Bar Close" is ON.
HTF values settle at the close of the HTF bar.
Illiquid symbols or very low TFs can be noisy; consider higher thresholds or longer smoothing.
Prediction line (when enabled) is a visual extrapolation only.
For coders
Pine v6. MTF via request.security with lookahead_off.
Extremes include crossover triggers so static thresholds also yield E High/E Low.
Extreme markers and pre-alerts are gated by barstate.isconfirmed when confirmation is ON.
Arrays prune oldest objects to respect resource limits; defaults (80/80/60) are conservative for low TFs.
3D layering uses negative offsets purely for drawing depth (no lookahead).
Screenshot methodology:
To make labels legible and to demonstrate non-repainting behavior, the examples were captured in TradingView Replay with "Confirm Extremes on Bar Close" enabled. Replay is used only to freeze the bar at close so plots don't change intrabar. The examples use default settings, include both Extreme Low and Extreme High cases, and can be reproduced by scrolling to the same bars outside Replay. This is an educational illustration, not a performance claim.
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Markets involve risk; past behavior does not guarantee future results. You are responsible for your own testing, risk management, and decisions.
Enhanced Std Dev Oscillator (Z-Score)Enhanced Std Dev Oscillator (Z-Score)
Overview
The Enhanced Std Dev Oscillator (ESDO) is a refined Z-Score indicator that normalizes price deviations from a moving mean using standard deviation, smoothed for clarity and equipped with divergence detection. This oscillator shines in identifying extreme overbought/oversold conditions and potential reversals, making it ideal for mean-reversion strategies in stocks, forex, or crypto. By highlighting when prices stray too far from the norm, it helps traders avoid chasing trends and focus on high-probability pullbacks.
Key Features
Customisable Mean & Deviation: Choose SMA or EMA for the mean (default: SMA, length 14); opt for Population or Sample standard deviation for precise statistical accuracy.
Smoothing for Clarity: Apply a simple moving average (default: 3) to the raw Z-Score, reducing noise without lagging signals excessively.
Zone Highlighting: Background colours flag extreme zones—red tint above +2 (overbought), green below -2 (oversold)—for quick visual scans.
Divergence Alerts: Automatically detects bullish (price lows lower, Z-Score higher) and bearish (price highs higher, Z-Score lower) divergences using pivot points (default length: 5), with labeled shapes for easy spotting.
Built-in Alerts: Notifications for Z-Score crossovers into OB/OS zones and divergence events to keep you informed without constant monitoring.
How It Works
Core Calculation: Computes the mean (SMA/EMA) over the specified length, then standard deviation (Population or adjusted Sample formula for N>1). Z-Score = (Source - Mean) / Std Dev, handling edge cases like zero deviation.
Smoothing: Averages the Z-Score with an SMA to create a cleaner plot oscillating around zero.
Levels & Zones: Plots horizontal lines at ±1 (orange dotted) and ±2 (red dashed) for reference; backgrounds activate in extreme zones.
Divergence Logic: Scans for pivot highs/lows in price and Z-Score; flags divergences when price extremes diverge from oscillator extremes (looking back 2 pivots for confirmation).
Visualisation: Blue line for the smoothed Z-Score; green/red labels for bull/bear divergences.
Usage Tips
Buy Signal: Z-Score crosses below -2 (oversold) or bullish divergence forms—pair with volume spike for confirmation.
Sell Signal: Z-Score crosses above +2 (overbought) or bearish divergence—watch for resistance alignment.
Customisation: Use EMA mean for trendier assets; enable Sample std dev for smaller datasets. Increase pivot length (7-10) in volatile markets to filter false signals.
Timeframes: Excels on daily/4H for swing trades; test smoothing on lower frames to avoid over-smoothing. Always combine with trend filters like a 200-period MA.
This open-source script is licensed under Mozilla Public License 2.0. Backtest thoroughly—past performance isn't indicative of future results. Trade with discipline! 📈
© HighlanderOne
Advanced Directional Stoch RSIAdvanced Directional Stochastic RSI
Overview
The Advanced Directional Stochastic RSI (Adv Stoch RSI Dir) is a powerful oscillator that combines the classic Stochastic RSI with John Ehlers' SuperSmoother filter for ultra-smooth signals and reduced noise. Unlike traditional Stoch RSI, this indicator incorporates directional coloring based on price action relative to a smoothed trend line, helping traders quickly spot bullish or bearish momentum. It's designed for swing traders and scalpers looking for clearer overbought/oversold conditions in volatile markets.
Key Features
Directional Coloring: %K line turns green when price is above the trend MA (bullish) and red when below (bearish), providing instant visual bias.
Multi-Pass SuperSmoothing: Apply Ehlers' SuperSmoother filter up to 5 times for customizable noise reduction—dial in passes (default: 2) to balance responsiveness and smoothness.
Trend-Aware Baseline: Uses a cascaded smoothed moving average (default length: 20) to gauge overall direction, making the oscillator more context-aware.
Classic Stoch RSI Core: Built on RSI (default: 14) and Stochastic (default: 14), with SMA smoothing for %K (3) and %D (3).
Visual Aids: Includes overbought (80), oversold (20), and midline (50) levels, plus a subtle blue fill between OB/OS zones for easy reference.
How It Works
Source Smoothing: The input source (default: close) is passed through the SuperSmoother filter multiple times to create a trend MA.
Stoch RSI Calculation: Computes RSI on the source, then applies Stochastic to the RSI values, followed by SMA smoothing for base %K and %D.
Advanced Smoothing: Extra SuperSmoother layers are applied to %K and %D based on your chosen passes, minimizing whipsaws.
Directional Logic: Compares current close to the trend MA to color %K dynamically.
Plotting: %K (thick line, colored) and %D (thin orange) oscillate between 0-100, highlighting crossovers and divergences.
Usage Tips
Buy Signal: Green %K crosses above %D below 50, or bounces off oversold (20) in uptrends.
Sell Signal: Red %K crosses below %D above 50, or rejects overbought (80) in downtrends.
Customization: Increase smoothing passes (3-5) for choppy markets; reduce for faster signals. Pair with volume or support/resistance for confirmation.
Timeframes: Best on 1H-4H charts for stocks/crypto; adjust lengths for forex.
This open-source script is licensed under Mozilla Public License 2.0. Backtest thoroughly—past performance isn't indicative of future results. Enjoy trading smarter with less noise! 🚀
© HighlanderOne
Actually Engulfing CandlesticksThis thing attempts to find price reversals with actually engulfing candlesticks with volume spikes and RSI values as confirmation. It works well on mean reverting assets I guess.
Green dots below bars = bullish reversal
Fuchsia dots above bars = bearish reversal
Have fun!
Stoch + RSI DashboardIndicator Description
MTF Stochastic + RSI Dashboard FLEX with STRONG Alerts
A compact, multi-timeframe dashboard that shows Stochastic %K/%D, RSI and signal states across user-defined timeframes. Columns can be toggled on/off to keep the panel as small as you need. Signal texts and colors are fully customizable. The table can be placed in any chart corner, and the background color & opacity are adjustable for perfect readability.
What it shows
• For each selected timeframe: %K, %D, a signal cell (Bullish/Bearish/Strong), RSI value, and RSI state (Overbought/Oversold/Neutral).
• Timeframes are displayed as friendly labels (e.g., 60 → 1h, W → 1w, 3D → 3d).
Signals & logic
• Bullish/Bearish when %K and %D show a sufficient gap (or an optional confirmed cross).
• Strong Bullish when both %K and %D are below the “Strong Bullish max” threshold.
• Strong Bearish when both %K and %D are above the “Strong Bearish min” threshold.
• Optional confirmation: RSI < 30 for Strong Bullish, RSI > 70 for Strong Bearish.
Alerts
• Global alerts for any selected timeframes when a STRONG BULLISH or STRONG BEARISH event occurs.
Key options
• Column visibility toggles (TF, %K, %D, Signal, RSI, RSI Status).
• Custom signal texts & colors.
• Dashboard position: top-left / top-right / bottom-left / bottom-right.
• Table background color + opacity (0 = opaque, 100 = fully transparent).
• Sensitivity (minimum %K–%D gap) and optional “cross-only” mode.
• Customizable timeframes for display and for alerts.
Default settings
• Stochastic: K=5, D=3, SmoothK=3
• RSI length: 14
• Decimals: 1
• Strong Bullish max: 20
• Strong Bearish min: 80
• Default TFs & alerts: 3m, 15m, 1h, 3h, 6h, 12h, 1d, 3d, 1w
Synthetic Implied APROverview
The Synthetic Implied APR is an artificial implied APR, designed to imitate the implied APR seen when trading cryptocurrency funding rates. It combines real-time funding rates with premium data to calculate an artificial market expectation of the annualized funding rate.
The (actual) implied APR is the market's expectation of the annualized funding rate. This is dependent on bid/ask impacts of the implied APR, something which is currently unavailable to fetch with TradingView. In essence, an implied APR of X% means traders believe that asset's funding fees to average X% when annualized.
What's important to understand, is that the actual value of the synthetic implied APR is not relevant. We only simply use its relative changes when we trade (i.e if it crosses above/below its MA for a given weight). Even for the same asset, the implied APRs will change depending on days to maturity.
How it calculates
The synthetic implied APR is calculated with these steps:
Collects premium data from perpetual futures markets using optimized lower timeframe requests (check my 'Predicted Funding Rates' indicator)
Calculates the funding rate by adding the premium to an interest rate component (clamped within exchange limits)
Derives the underlying APR from the 8-hour funding rate (funding rate × 3 × 365)
Apply a weighed formula that imitates both the direction (underlying APR) with the volatility of prices (from the premium index and funding)
premium_component = (prem_avg / 50 ) * 365
weighedprem = (weight * fr) + ((1 - weight) * apr) + (premium_component * 0.3)
impliedAPR = math.avg(weighedprem, ta.sma(apr, maLength))
How to use it: Generally
Preface: Funding rates are an indication of market sentiment
If funding is positive, generally the market is bullish as longs are willing to pay shorts funding
If funding is negative, generally the market is bearish as shorts are willing to pay longs funding
So, this script can be used like a typical oscillator:
Bullish: If implied APR > MA OR if implied APR MA is green
Bearish: If implied APR < MA OR if implied APR MA is red
The components:
Synthetic Implied APR: The main metric. At current setting of 0.7, it imitates volatility
Weight: The higher the value, the smoother the synthetic implied APR is (and MA too). This value is very important to the imitation. At 0.7, it imitates the actual volatility of the implied APR. At weight = 1, it becomes very smooth. Perfect for trading
Synthetic Implied APR Moving Average: A moving average of the Synthetic implied APR. Can choose from multiple selections, (SMA, EMA, WMA, HMA, VWMA, RMA)
How to use it: Trading Funding
When trading funding there're multiple ways to use it with different settings
Trade funding rates with trend changes
Settings: Weight = 1
Method 1: When the implied APR MA turns green, long funding rates (or short if red)
Method 2: When the implied APR crosses above the MA, long funding rates (or short when crosses below)
Trade funding rates with MA pullbacks
Settings: Weight = 0.7, timeframe 15m
In an uptrend: When implied APR crosses below then above the script, long funding opportunity
In an downtrend: When implied APR crosses above then below the script, shortfunding opportunity
You can determine the trend with the method before, using a weight of 1
To trade funding rates, it's best to have these 3 scripts at these settings:
Predicted Funding Rates: This allows you to see the predicted funding rates and see if they've maxxed out for added confluence too (+/-0.01% usually for Binance BTC futures)
Synthetic implied APR: At weight 1, the MA provides a good trend (whether close above/below or colour change)
Synthetic implied APR: At weight 0.7, it provides a good imitation of volatility
How to use it: Trading Futures
When trading futures:
You can determine roughly what the trend is, if the assumption is made that funding rates can help identify trends if used as a sentiment indicator. It should be supplemented with traditional trend trading methods
To prevent whipsaws, weight should remain high
Long trend: When the implied APR MA turns green OR when it crosses above its MA
Short trend: When the implied APR MA turns red OR when it below above its MA
Why it's original
This indicator introduces a unique synthetic weighting system that combines funding rates, underlying APR, and premium components in a way not found in existing TradingView scripts. Trading funding rates is a niche area, there aren't that many scripts currently available. And to my knowledge, there's no synthetic implied APR scripts available on TradingView either. So I believe this script to be original in that sense.
Notes
Because it depends on my triangular weighting algos, optimal accuracy is found on timeframes that are 4H or less. On higher timeframes, the accuracy drops off. Best timeframes for intraday trading using this are 15m or 1 hour
The higher the timeframe, the lower the MA one should use. At 1 hour, 200 or higher is best. At say, 4h, length of 50 is best
Only works for coins that have a Binance premium index
Inputs
Funding Period - Select between "1 Hour" or "8 Hour" funding cycles. 8 hours is standard for Binance
Table - Toggle the information dashboard on/off to show or hide real-time metrics including funding rate, premium, and APR value
Weight - Controls the balance between funding rate (higher values = smoother) and APR (lower values = more responsive) in the calculation, ranging from 0.0 to 1.0. Default is 0.7, this imitates the volatility
Auto Timeframe Implied Length - Automatically calculates optimal smoothing length based on your chart timeframe for consistent behavior across different time periods
Manual Implied Length - Sets a fixed smoothing length (in bars) when auto mode is disabled, with lower values being more responsive and higher values being smoother
Show Implied APR MA - Displays an additional moving average line of the Synthetic Implied APR to help identify trend direction and crossover signals
MA Type for Implied APR - Selects the calculation method (SMA, EMA, WMA, HMA, VWMA, or RMA) for the moving average, each offering different responsiveness and lag characteristics
MA Length for Implied APR - Sets the lookback period (1-500 bars) for the moving average, with shorter lengths providing more signals and longer lengths filtering noise
Show Underlying APR - Displays the raw APR calculation (without synthetic weighting) as a reference line to compare against the main indicator
Bullish Color - Sets the color for positive values in the table and rising MA line
Bearish Color - Sets the color for negative values in the table and falling MA line
Table Background - Customizes the background color and transparency of the information dashboard
Table Text Color - Sets the color for label text in the left column of the information table
Table Text Size - Controls the font size of table text with options from Tiny to Huge