RSI.TrendContext
The Relative Strength Index (RSI) is one of the most widely used classical indicators in technical analysis, typically employed to identify overbought or oversold market conditions. It reflects the degree of upside or downside dominance within a specified period. However, in its standard form, RSI is not particularly effective as a standalone entry trigger.
The RSI.Trend indicator enhances the RSI to provide a more reliable method for distinguishing between bullish and bearish market regimes and offers specific entry triggers. It adds supplementary value to the pure RSI read.________________________________________
Concept
In trending markets, an Exponential Moving Average (EMA) of the price is often smoother and more stable than raw price data. As a result, the RSI calculated on this smoothed price (i.e., the EMA) tends to react earlier and more consistently than the standard RSI. Specifically:
• In uptrends, the RSI of the EMA tends to exceed the RSI of the original price.
• In downtrends, it tends to lag behind.
The difference between these two RSI readings provides a stable and less noisy measure of market bias—positive in uptrends, negative in downtrends. The crossing points can serve as entry triggers. This is, what the RSI.Trend is trying to capture.
________________________________________
The RSI.Trend indicator operates as follows:
• It first computes the 5-period EMA of the price series of the underlying ("EMA5").
• It calculates the 14-period RSI of the original price series ("RSI") as well as the 14-period RSI of EMA5 ("RSIEMA").
• It then determines the 14-period EMA of RSI ("RSI.MA") and RSIEMA ("RSIEMA.MA").
These values are used to define a Baseline and a Trigger Line:
• Baseline: The average of RSI and RSI.MA.
• Trigger Line: The average of RSIEMA and RSIEMA.MA.
Essentially, the baseline represents a smoother version of the RSI of the original price series, while the trigger line is a smoother version of the RSI on the EMA5 of the original price series.
Additionally, the RSI.Trend Background Value is calculated as the difference between the Trigger Line and the Baseline, slightly accelerated by incorporating the current bias of this difference. This acceleration causes the Background Value to react somewhat faster than the pure difference between the two lines.
How to use the RSI.Trend:
• As mentioned in the introductory context, during uptrends, the trigger line remains above the baseline; in downtrends, it stays below the baseline.
• A crossover of the baseline by the trigger line indicates a regime shift from bearish to bullish and can signal avoiding adding short positions, closing short positions, or adding long positions.
• A crossunder of the baseline by the trigger line indicates a regime shift from bullish to bearish and can signal avoiding adding long positions, closing long positions, or adding short positions.
• The level of the Trigger Line can serve as a confidence indicator; for instance, if the trigger line crosses under the baseline coming from very high values, it implies high confidence.
• The Background Value indicates the accelerated difference between the two lines:
o > 0 (Green background): Indicates a Bullish regime.
o < 0 (Red background): Indicates a Bearish regime.
The Background Value reacts slightly faster than line crossings due to its acceleration relative to the difference of the two lines.
Including these lines in the script besides the Background Value, provides insight into their levels and their origins, aiding in formulating confidence in an entry trigger, which the background value alone cannot provide. The change in slope of the trigger Line can also be used as an early and fast position-trigger.
Finally, the Background Value can be utilized in continuous trading scenarios (i.e., no entry points, always engaged) as a multiplier on a predefined max-exposure value, representing the current exposure as a fraction of that max-exposure.
The usage of RSI.Trend is also exemplified in the introductory chart.________________________________________
Final Notes
As with all indicators, the RSI.Trend is most effective when used in conjunction with other technical tools and market context. It does not predict future price movements; rather, it reflects current market dynamics and recent directional tendencies. Use it with discretion and as part of a broader trading strategy.
Indicators and strategies
Enhanced Stock Ticker with 50MA vs 200MADescription
The Enhanced Stock Ticker with 50MA vs 200MA is a versatile Pine Script indicator designed to visualize the relative position of a stock's price within its short-term and long-term price ranges, providing actionable bullish and bearish signals. By calculating normalized indices based on user-defined lookback periods (defaulting to 50 and 200 bars), this indicator helps traders identify potential reversals or trend continuations. It offers the flexibility to plot signals either on the main price chart or in a separate lower pane, leveraging Pine Script v6's force_overlay functionality for seamless integration. The indicator also includes a customizable ticker table, visual fills, and alert conditions for automated trading setups.
Key Features
Dual Lookback Indices: Computes short-term (default: 50 bars) and long-term (default: 200 bars) indices, normalizing the closing price relative to the high/low range over the specified periods.
Flexible Signal Plotting: Users can toggle between plotting crossover signals (triangles) on the main price chart (location.abovebar/belowbar) or in the lower pane (location.top/bottom) using the Plot Signals on Main Chart option.
Crossover Signals: Generates bullish (Golden Cross) and bearish (Death Cross) signals when the short or long index crosses above 5 or below 95, respectively.
Visual Enhancements:
Plots short-term (blue) and long-term (white) indices in a separate pane with customizable lookback periods.
Includes horizontal reference lines at 0, 20, 50, 80, and 100, with green and red fills to highlight overbought/oversold zones.
Dynamic fill between indices (green when short > long, red when long > short) for quick trend visualization.
Displays a ticker and legend table in the top-right corner, showing the symbol and lookback periods.
Alert Conditions: Supports alerts for bullish and bearish crossovers on both short and long indices, enabling integration with TradingView's alert system.
Technical Innovation: Utilizes Pine Script v6's force_overlay parameter to plot signals on the main chart from a non-overlay indicator, combining the benefits of a separate pane and chart-based signals in a single script.
Technical Details
Calculation Logic:
Uses confirmed bars (barstate.isconfirmed) to calculate indices, ensuring reliability by avoiding real-time bar fluctuations.
Short-term index: (close - lowest(low, lookback_short)) / (highest(high, lookback_short) - lowest(low, lookback_short)) * 100
Long-term index: (close - lowest(low, lookback_long)) / (highest(high, lookback_long) - lowest(low, lookback_long)) * 100
Signals are triggered using ta.crossover() and ta.crossunder() for indices crossing 5 (bullish) and 95 (bearish).
Signal Plotting:
Main chart signals use force_overlay=true with location.abovebar/belowbar for precise alignment with price bars.
Lower pane signals use location.top/bottom for visibility within the indicator pane.
Plotting is controlled by boolean conditions (e.g., bullishLong and plot_on_chart) to ensure compliance with Pine Script's global scope requirements.
Performance Considerations: Optimized for efficiency by calculating indices only on confirmed bars and using lightweight plotting functions.
How to Use
Add to Chart:
Copy the script into TradingView's Pine Editor and add it to your chart.
Configure Settings:
Short Lookback Period: Adjust the short-term lookback (default: 50 bars) to match your trading style (e.g., 20 for shorter-term analysis).
Long Lookback Period: Adjust the long-term lookback (default: 200 bars) for broader market context.
Plot Signals on Main Chart: Check this box to display signals on the price chart; uncheck to show signals in the lower pane.
Interpret Signals:
Golden Cross (Bullish): Green (long) or blue (short) triangles indicate the index crossing above 5, suggesting a potential buying opportunity.
Death Cross (Bearish): Red (long) or white (short) triangles indicate the index crossing below 95, signaling a potential selling opportunity.
Set Alerts:
Use TradingView's alert system to create notifications for the four alert conditions: Long Index Valley, Long Index Peak, Short Index Valley, and Short Index Peak.
Customize Visuals:
The ticker table displays the symbol and lookback periods in the top-right corner.
Adjust colors and styles via TradingView's settings if desired.
Example Use Cases
Swing Trading: Use the short-term index (e.g., 50 bars) to identify short-term reversals within a broader trend defined by the long-term index.
Trend Confirmation: Monitor the fill between indices to confirm whether the short-term trend aligns with the long-term trend.
Automated Trading: Leverage alert conditions to integrate with bots or manual trading strategies.
Notes
Testing: Always backtest the indicator on your chosen market and timeframe to validate its effectiveness.
Optional Histogram: The script includes a commented-out histogram for the index difference (index_short - index_long). Uncomment the plot(index_diff, ...) line to enable it.
Compatibility: Built for Pine Script v6 and tested on TradingView as of May 27, 2025.
Acknowledgments
This indicator was inspired by the need for a flexible tool that combines lower-pane analysis with main chart signals, made possible by Pine Script's force_overlay feature. Share your feedback or suggestions in the comments below, and happy trading!
Sadi's Pocket Pivot (Color-Coded)Enabling you to manage risk more efficiently. Helps you pyramid into a position rather than chasing at standard base breakouts.
Momentum FVG Giriş Sinyali v2indicator("Momentum FVG Giriş Sinyali v2", overlay=true)
// Hacim ortalaması (daha esnek)
volumeLength = input.int(10, "Hacim Ortalaması")
useVolume = input.bool(true, "Hacim Filtresi Kullanılsın mı?")
avgVolume = ta.sma(volume, volumeLength)
volumeCondition = volume > avgVolume * 0.9 // %90 yeterli
// Basit Engulf Mantığı
bullishEngulf = close > open and close > close and open <= close
bearishEngulf = close < open and close < close and open >= close
// Sinyaller
longSignal = bullishEngulf and (useVolume ? volumeCondition : true)
shortSignal = bearishEngulf and (useVolume ? volumeCondition : true)
// Gösterim
plotshape(longSignal, title="BUY", location=location.belowbar, color=color.lime, style=shape.labelup, text="BUY")
plotshape(shortSignal, title="SELL", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Alarmlar
alertcondition(longSignal, title="BUY Alarm", message="Momentum BUY sinyali geldi!")
alertcondition(shortSignal, title="SELL Alarm", message="Momentum SELL sinyali geldi!")
RSI Crossover Signal Companion - Alerts + Visuals🔷 RSI Crossover Signal Companion — Alerts + Visuals
The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of recent price movements. It helps traders identify overbought or oversold conditions, possible trend reversals, and momentum strength.
This utility builds on TradingView’s classic Relative Strength Index (RSI) by adding real-time alerts and triangle markers when the RSI crosses its own moving average — a common technique for early momentum detection.
It is designed as a lightweight, visual companion tool for traders using RSI/MA crossover logic in manual or semi-automated strategies.
🔍 Features
✅ Preserves the full original RSI layout, including:
• Gradient fill and overbought/oversold zones
• Standard RSI input settings (length, source, etc.)
• MA smoothing options with user-defined type and length
🔺 Adds visual triangle markers:
🔼 Up triangle when RSI crosses above its MA
🔽 Down triangle when RSI crosses below its MA
📢 Built-in alerts for RSI/MA crosses:
“RSI Crossed Above MA”
“RSI Crossed Below MA”
📈 How to Use
This script is ideal for:
• Spotting early momentum shifts
• Confirming entries or exits in other systems (price action, trendlines, breakouts)
• Building alert-based automation (webhooks, bots, etc.)
Popular use cases:
• Combine with trend indicators like MA200 or MA12
• Use in confluence with price structure and divergence
• Validate breakout moves with momentum confirmation
⚙️ Customization
RSI length, MA length, MA type, and source are fully adjustable
Triangle marker size, shape, and color can be edited under Style
Alerts are pre-built and ready for use
AVWAP with Auto DetectionThis is a comprehensive **AVWAP (Anchored Volume Weighted Average Price) indicator** for TradingView that provides multiple VWAP calculations with automatic detection and customizable anchor points.
## Key Features
**Automatic AVWAP Calculations:**
- **Year-to-Date (YTD) AVWAP** - Automatically calculates from January 1st of the current year
- **Month-to-Date (MTD) AVWAP** - Automatically calculates from the 1st of the current month
**Custom AVWAP Anchors:**
- Up to **6 custom AVWAP lines** with user-defined start dates
- Each custom AVWAP can be individually enabled/disabled
- Customizable colors for each AVWAP line
- Date format display (YYYY-MM-DD) for easy identification
**Visual Elements:**
- **AVWAP lines** plotted directly on the chart with customizable colors
- **Anchor point markers** showing where each AVWAP calculation begins
- **Price labels** on the latest bar showing current AVWAP values
- **Comprehensive data table** displaying all AVWAP values and price distances
**Interactive Table:**
- Shows AVWAP values, current prices, and percentage distance from each AVWAP
- Color-coded distance indicators (green for above AVWAP, red for below)
- Adjustable table position (4 corner options)
- Toggle table visibility on/off
**User Controls:**
- Enable/disable individual AVWAP calculations
- Customize colors for each AVWAP line
- Set custom anchor dates for historical analysis
- Adjust table display preferences
This indicator is particularly useful for traders who want to track multiple AVWAP levels simultaneously, analyze price behavior relative to volume-weighted averages from specific dates, and monitor both automatic (YTD/MTD) and custom time period VWAPs in a single, organized display.
Cap's Major Round NumbersTries to only show major round numbers regardless of whether you're looking at something priced in the thousands or under a dollar.
Detailed Description:
This indicator plots horizontal lines at significant round number price levels, helping traders identify potential support and resistance zones. It offers up to six customizable price steps (e.g., 10000, 1000, 100, 10, 1, 0.1) to draw lines above and below the current price, with options to enable/disable each step based on the asset's price range.
Features:
Steps: Configure up to six price intervals (default: 10000, 1000, 100, 10, 1, 0.1) for plotting round number levels.
Maximum Lines: Set the number of lines drawn above and below the current price for each step.
Style Customization: Choose line color, style (solid, dotted, dashed), and width for lines above and below the price.
Conditional Display: Automatically disables steps for higher price levels on assets with lower prices to avoid clutter.
Overlay: Lines are drawn directly on the chart with full extension for clear visibility.
Usage: Apply to any chart to highlight key psychological price levels. Adjust step sizes, line styles, and maximum lines to match your trading strategy. Best used as a visual aid for identifying potential price barriers.
Note: This is a technical analysis tool and does not provide trading signals or financial advice. Always conduct your own research.
Sadi's Pocket Pivot (Color-Coded)Helping you manage risk more efficiently by buying within a base before the standard base breakout.
Cap's Dual Auto Fib RetracementThis will draw both a bullish retracement and a bearish retracement. It's defaulted to just show the 0.618 level as I feel like this is the "make or break" level.
- A close below the bullish 0.618 retracement would be considered very bearish.
- A close above the bearish 0.618 would be considered very bullish.
(You can still configure whichever levels you want, however.)
This script was removed by TradingView last time it was published. I couldn't find another script that would provide both bearish/bullish retracements, so I'm assuming this is "original" enough. Maybe it was removed because the description wasn't long enough, so...
Detailed Description:
This indicator automatically plots Fibonacci retracement levels based on zigzag pivot points for both bullish (low-to-high) and bearish (high-to-low) price movements. It identifies key pivot points using a customizable deviation multiplier and depth setting, then draws Fibonacci levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) with user-defined visibility and colors for each level.
Features:
Deviation: Adjusts sensitivity for detecting pivots (default: 2).
Depth: Sets minimum bars for pivot calculation (default: 10).
Extend Lines: Option to extend lines left, right, or both.
Show Prices/Levels: Toggle price and level labels, with options for value or percentage display.
Labels Position: Choose left or right label placement.
Background Transparency: Customize fill transparency between levels.
Alerts: Triggers when price crosses any Fibonacci level.
Usage: Apply to any chart to visualize potential support/resistance zones. Adjust settings to suit your trading style. Requires sufficient data; use lower timeframes or reduce depth if pivots are not detected.
Note: This is a technical analysis tool and does not provide trading signals or financial advice. Always conduct your own research.
SGR - Pivot Points High Low & Missed Reversal LevelsPivot Point High and Pivot Point Low are technical analysis concepts used to identify potential reversal points or turning points in price action. They are commonly used in price action trading, swing trading, and breakout strategies.
SMA50 ATR%SMA50 ATR% Zones Indicator
Overview:
The "SMA50 ATR%" indicator is designed to provide dynamic zones above and below a Simple Moving Average (SMA) based on multiples of the Average True Range (ATR). These zones can help traders identify potential areas of interest for entries, profit-taking, and stop-loss placement by visualizing how far the price has deviated from its medium-term mean (SMA) relative to its recent volatility (ATR).
Key Features:
Central SMA: Plots a customizable Simple Moving Average (default 50-period) as the baseline.
ATR-Based Zones: Calculates and displays distinct zones by adding or subtracting multiples of the ATR (default 10-period) from the SMA.
Color-Coded Visuals: Each zone type is clearly differentiated by color and shading intensity, providing an intuitive visual guide.
Current Zone Label: Displays the specific ATR multiple zone the current price is trading in, offering quick insight into the market's current position relative to the zones.
Zone Breakdown:
The indicator plots the following zones:
Entry Zones (Green Shades):
+1x ATR to +2x ATR above SMA
+2x ATR to +3x ATR above SMA
+3x ATR to +4x ATR above SMA
The green shades become progressively lighter as they move further from the SMA, with the zone closest to the SMA being the darkest green.
Hold Zones (Yellow Shades):
+4x ATR to +5x ATR above SMA (Darker Yellow)
+5x ATR to +6x ATR above SMA (Lighter Yellow)
Sell Zones (Red Shades):
+6x ATR to +7x ATR above SMA
+7x ATR to +8x ATR above SMA
+8x ATR to +9x ATR above SMA
+9x ATR to +10x ATR above SMA
+10x ATR to +11x ATR above SMA
The red shades become progressively darker as they move further from the +6x ATR level, with the +10x to +11x ATR zone being the darkest red.
Stop Loss Zones (Red Shades):
-1x ATR below SMA (Lighter Red)
-1x ATR to -2x ATR below SMA (Darker Red)
How to Use:
Potential Entry Areas: The green "Entry Zones" might indicate areas where the price has pulled back towards the SMA but is still showing strength, or areas where a breakout above the SMA is gaining momentum relative to volatility.
Potential Overbought/Hold Areas: The yellow "Hold Zones" could suggest that the price is becoming extended from its mean, warranting caution or a "hold" approach for existing positions.
Potential Profit-Taking/Sell Areas: The red "Sell Zones" might highlight significantly overbought conditions where the price has moved multiple ATRs above the SMA, potentially signaling areas for profit-taking or considering short entries.
Potential Stop-Loss Areas: The red "Stop Loss Zones" below the SMA can help define areas where a breakdown below the moving average, considering volatility, might invalidate a bullish bias.
Customization:
SMA Length: Adjust the period for the Simple Moving Average (Default: 50).
ATR Length: Adjust the period for the Average True Range calculation (Default: 10).
Show Current Zone Label: Toggle the visibility of the on-screen label that displays the current price's ATR zone.
SMA Line Width: Customize the thickness of the SMA line.
Label Position & Size: Control the placement and text size of the current zone label for optimal chart readability.
Disclaimer:
This indicator is a tool for technical analysis and should not be considered as financial advice. Always use risk management and combine with other analysis methods before making trading decisions.
EMA Confluence Alert v6 - Manual & CleanTrying to write a script to make sure that I get alerts with every EMA touch or confluence
Ergodic Market Divergence (EMD)Ergodic Market Divergence (EMD)
Bridging Statistical Physics and Market Dynamics Through Ensemble Analysis
The Revolutionary Concept: When Physics Meets Trading
After months of research into ergodic theory—a fundamental principle in statistical mechanics—I've developed a trading system that identifies when markets transition between predictable and unpredictable states. This indicator doesn't just follow price; it analyzes whether current market behavior will persist or revert, giving traders a scientific edge in timing entries and exits.
The Core Innovation: Ergodic Theory Applied to Markets
What Makes Markets Ergodic or Non-Ergodic?
In statistical physics, ergodicity determines whether a system's future resembles its past. Applied to trading:
Ergodic Markets (Mean-Reverting)
- Time averages equal ensemble averages
- Historical patterns repeat reliably
- Price oscillates around equilibrium
- Traditional indicators work well
Non-Ergodic Markets (Trending)
- Path dependency dominates
- History doesn't predict future
- Price creates new equilibrium levels
- Momentum strategies excel
The Mathematical Framework
The Ergodic Score combines three critical divergences:
Ergodic Score = (Price Divergence × Market Stress + Return Divergence × 1000 + Volatility Divergence × 50) / 3
Where:
Price Divergence: How far current price deviates from market consensus
Return Divergence: Momentum differential between instrument and market
Volatility Divergence: Volatility regime misalignment
Market Stress: Adaptive multiplier based on current conditions
The Ensemble Analysis Revolution
Beyond Single-Instrument Analysis
Traditional indicators analyze one chart in isolation. EMD monitors multiple correlated markets simultaneously (SPY, QQQ, IWM, DIA) to detect systemic regime changes. This ensemble approach:
Reveals Hidden Divergences: Individual stocks may diverge from market consensus before major moves
Filters False Signals: Requires broader market confirmation
Identifies Regime Shifts: Detects when entire market structure changes
Provides Context: Shows if moves are isolated or systemic
Dynamic Threshold Adaptation
Unlike fixed-threshold systems, EMD's boundaries evolve with market conditions:
Base Threshold = SMA(Ergodic Score, Lookback × 3)
Adaptive Component = StDev(Ergodic Score, Lookback × 2) × Sensitivity
Final Threshold = Smoothed(Base + Adaptive)
This creates context-aware signals that remain effective across different market environments.
The Confidence Engine: Know Your Signal Quality
Multi-Factor Confidence Scoring
Every signal receives a confidence score based on:
Signal Clarity (0-35%): How decisively the ergodic threshold is crossed
Momentum Strength (0-25%): Rate of ergodic change
Volatility Alignment (0-20%): Whether volatility supports the signal
Market Quality (0-20%): Price convergence and path dependency factors
Real-Time Confidence Updates
The Live Confidence metric continuously updates, showing:
- Current opportunity quality
- Market state clarity
- Historical performance influence
- Signal recency boost
- Visual Intelligence System
Adaptive Ergodic Field Bands
Dynamic bands that expand and contract based on market state:
Primary Color: Ergodic state (mean-reverting)
Danger Color: Non-ergodic state (trending)
Band Width: Expected price movement range
Squeeze Indicators: Volatility compression warnings
Quantum Wave Ribbons
Triple EMA system (8, 21, 55) revealing market flow:
Compressed Ribbons: Consolidation imminent
Expanding Ribbons: Directional move developing
Color Coding: Matches current ergodic state
Phase Transition Signals
Clear entry/exit markers at regime changes:
Bull Signals: Ergodic restoration (mean reversion opportunity)
Bear Signals: Ergodic break (trend following opportunity)
Confidence Labels: Percentage showing signal quality
Visual Intensity: Stronger signals = deeper colors
Professional Dashboard Suite
Main Analytics Panel (Top Right)
Market State Monitor
- Current regime (Ergodic/Non-Ergodic)
- Ergodic score with threshold
- Path dependency strength
- Quantum coherence percentage
Divergence Metrics
- Price divergence with severity
- Volatility regime classification
- Strategy mode recommendation
- Signal strength indicator
Live Intelligence
- Real-time confidence score
- Color-coded risk levels
- Dynamic strategy suggestions
Performance Tracking (Left Panel)
Signal Analytics
- Total historical signals
- Win rate with W/L breakdown
- Current streak tracking
- Closed trade counter
Regime Analysis
- Current market behavior
- Bars since last signal
- Recommended actions
- Average confidence trends
Strategy Command Center (Bottom Right)
Adaptive Recommendations
- Active strategy mode
- Primary approach (mean reversion/momentum)
- Suggested indicators ("weapons")
- Entry/exit methodology
- Risk management guidance
- Comprehensive Input Guide
Core Algorithm Parameters
Analysis Period (10-100 bars)
Scalping (10-15): Ultra-responsive, more signals, higher noise
Day Trading (20-30): Balanced sensitivity and stability
Swing Trading (40-100): Smooth signals, major moves only Default: 20 - optimal for most timeframes
Divergence Threshold (0.5-5.0)
Hair Trigger (0.5-1.0): Catches every wiggle, many false signals
Balanced (1.5-2.5): Good signal-to-noise ratio
Conservative (3.0-5.0): Only extreme divergences Default: 1.5 - best risk/reward balance
Path Memory (20-200 bars)
Short Memory (20-50): Recent behavior focus, quick adaptation
Medium Memory (50-100): Balanced historical context
Long Memory (100-200): Emphasizes established patterns Default: 50 - captures sufficient history without lag
Signal Spacing (5-50 bars)
Aggressive (5-10): Allows rapid-fire signals
Normal (15-25): Prevents clustering, maintains flow
Conservative (30-50): Major setups only Default: 15 - optimal trade frequency
Ensemble Configuration
Select markets for consensus analysis:
SPY: Broad market sentiment
QQQ: Technology leadership
IWM: Small-cap risk appetite
DIA: Blue-chip stability
More instruments = stronger consensus but potentially diluted signals
Visual Customization
Color Themes (6 professional options):
Quantum: Cyan/Pink - Modern trading aesthetic
Matrix: Green/Red - Classic terminal look
Heat: Blue/Red - Temperature metaphor
Neon: Cyan/Magenta - High contrast
Ocean: Turquoise/Coral - Calming palette
Sunset: Red-orange/Teal - Warm gradients
Display Controls:
- Toggle each visual component
- Adjust transparency levels
- Scale dashboard text
- Show/hide confidence scores
- Trading Strategies by Market State
- Ergodic State Strategy (Primary Color Bands)
Market Characteristics
- Price oscillates predictably
- Support/resistance hold
- Volume patterns repeat
- Mean reversion dominates
Optimal Approach
Entry: Fade moves at band extremes
Target: Middle band (equilibrium)
Stop: Just beyond outer bands
Size: Full confidence-based position
Recommended Tools
- RSI for oversold/overbought
- Bollinger Bands for extremes
- Volume profile for levels
- Non-Ergodic State Strategy (Danger Color Bands)
Market Characteristics
- Price trends persistently
- Levels break decisively
- Volume confirms direction
- Momentum accelerates
Optimal Approach
Entry: Breakout from bands
Target: Trail with expanding bands
Stop: Inside opposite band
Size: Scale in with trend
Recommended Tools
- Moving average alignment
- ADX for trend strength
- MACD for momentum
- Advanced Features Explained
Quantum Coherence Metric
Measures phase alignment between individual and ensemble behavior:
80-100%: Perfect sync - strong mean reversion setup
50-80%: Moderate alignment - mixed signals
0-50%: Decoherence - trending behavior likely
Path Dependency Analysis
Quantifies how much history influences current price:
Low (<30%): Technical patterns reliable
Medium (30-50%): Mixed influences
High (>50%): Fundamental shift occurring
Volatility Regime Classification
Contextualizes current volatility:
Normal: Standard strategies apply
Elevated: Widen stops, reduce size
Extreme: Defensive mode required
Signal Strength Indicator
Real-time opportunity quality:
- Distance from threshold
- Momentum acceleration
- Cross-validation factors
Risk Management Framework
Position Sizing by Confidence
90%+ confidence = 100% position size
70-90% confidence = 75% position size
50-70% confidence = 50% position size
<50% confidence = 25% or skip
Dynamic Stop Placement
Ergodic State: ATR × 1.0 from entry
Non-Ergodic State: ATR × 2.0 from entry
Volatility Adjustment: Multiply by current regime
Multi-Timeframe Alignment
- Check higher timeframe regime
- Confirm ensemble consensus
- Verify volume participation
- Align with major levels
What Makes EMD Unique
Original Contributions
First Ergodic Theory Trading Application: Transforms abstract physics into practical signals
Ensemble Market Analysis: Revolutionary multi-market divergence system
Adaptive Confidence Engine: Institutional-grade signal quality metrics
Quantum Coherence: Novel market alignment measurement
Smart Signal Management: Prevents clustering while maintaining responsiveness
Technical Innovations
Dynamic Threshold Adaptation: Self-adjusting sensitivity
Path Memory Integration: Historical dependency weighting
Stress-Adjusted Scoring: Market condition normalization
Real-Time Performance Tracking: Built-in strategy analytics
Optimization Guidelines
By Timeframe
Scalping (1-5 min)
Period: 10-15
Threshold: 0.5-1.0
Memory: 20-30
Spacing: 5-10
Day Trading (5-60 min)
Period: 20-30
Threshold: 1.5-2.5
Memory: 40-60
Spacing: 15-20
Swing Trading (1H-1D)
Period: 40-60
Threshold: 2.0-3.0
Memory: 80-120
Spacing: 25-35
Position Trading (1D-1W)
Period: 60-100
Threshold: 3.0-5.0
Memory: 100-200
Spacing: 40-50
By Market Condition
Trending Markets
- Increase threshold
- Extend memory
- Focus on breaks
Ranging Markets
- Decrease threshold
- Shorten memory
- Focus on restores
Volatile Markets
- Increase spacing
- Raise confidence requirement
- Reduce position size
- Integration with Other Analysis
- Complementary Indicators
For Ergodic States
- RSI divergences
- Bollinger Band squeezes
- Volume profile nodes
- Support/resistance levels
For Non-Ergodic States
- Moving average ribbons
- Trend strength indicators
- Momentum oscillators
- Breakout patterns
- Fundamental Alignment
- Check economic calendar
- Monitor sector rotation
- Consider market themes
- Evaluate risk sentiment
Troubleshooting Guide
Too Many Signals:
- Increase threshold
- Extend signal spacing
- Raise confidence minimum
Missing Opportunities
- Decrease threshold
- Reduce signal spacing
- Check ensemble settings
Poor Win Rate
- Verify timeframe alignment
- Confirm volume participation
- Review risk management
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results.
The ergodic framework provides unique market insights but cannot predict future price movements with certainty. Always use proper risk management, conduct your own analysis, and never risk more than you can afford to lose.
This tool should complement, not replace, comprehensive trading strategies and sound judgment. Markets remain inherently unpredictable despite advanced analysis techniques.
Transform market chaos into trading clarity with Ergodic Market Divergence.
Created with passion for the TradingView community
Trade with insight. Trade with anticipation.
— Dskyz , for DAFE Trading Systems
Relative Strength IndexExact Copy of TV Indicator, with colour changes to Upper and Lower Overbought/Sold lines..
All-in-One S/R Zones + Anchored VWAPWeekly and daily support and resistance zones - use for swing trading
Normalized True vs Standard MomentumThe indicator plots standard momentum as well as a statistic called "True Momentum." True Momentum takes either the closing price if it is rising, or the inverse of that price if falling. This creates an indicator trend reversals, similar to Aroon.
Hull MA Channel with Filtered CrossoversI've created an indicator that let's you create a HMA channel with 2 displaced HMA (A/B). As well as a HMA crossover set (C/D).
Here's how it works:
The HMA crossovers from C and D will not signal unless they are outside of the channel of A and B. As a matter of fact, NO buy signal whatsoever will occur above the channel and NO sell signal will occur below the channel.
The crossover HMA pair (C/D) can have their lengths adjusted to the 0.00 decimal point for VERY fine tuning of the crossovers.
(edit-it doesn't fine tune to the .00. This must not be a feature that is able to be utilized. I tried) The length adjustment still works to the nearest whole number. The .00 are mute :(
In keeping with that same logic, you can adjust the displacement of the channel independently to the 0.00 decimal, again for VERY fine tuning.
This is great for reversals while eliminating noise from false signals, keeping the chart nice and clean. Should be used in combination with other indicators for the best confirmations.
Multi-Timeframe Opening Dots with PlotcharPlot clean, smart dots that mark where the real action starts — the opening levels of the three higher timeframes above your current chart.
How it works:
Automatically grabs the next 3 higher timeframes.
Drops a slick dot right at each opening price — but only while that bar is still active.
Color-coded at a glance: Price above open? → green dot. Price below open? → red dot.
Why it’s useful: Get instant visual cues on higher timeframe opens — powerful markers for support, resistance, and directional bias.
Perfect for intraday traders and swing strategists who want to stay synced with the big picture.
EMA5/21 + VWAP + MACD HistogramScript Summary: EMA + VWAP + MACD + RSI Strategy
Objective: Combine multiple technical indicators to identify market entry and exit opportunities, aiming to increase signal accuracy.
Indicators Used:
EMAs (Exponential Moving Averages): Periods of 5 (short-term) and 21 (long-term) to identify trend crossovers.
VWAP (Volume Weighted Average Price): Serves as a reference to determine if the price is in a fair value zone.
MACD (Moving Average Convergence Divergence): Standard settings of 12, 26, and 9 to detect momentum changes.
RSI (Relative Strength Index): Period of 14 to identify overbought or oversold conditions.
Entry Rules:
Buy (Long): 5-period EMA crosses above the 21-period EMA, price is above VWAP, MACD crosses above the signal line, and RSI is above 40.
Sell (Short): 5-period EMA crosses below the 21-period EMA, price is below VWAP, MACD crosses below the signal line, and RSI is below 60.
Exit Rules:
For long positions: When the 5-period EMA crosses below the 21-period EMA or MACD crosses below the signal line.
For short positions: When the 5-period EMA crosses above the 21-period EMA or MACD crosses above the signal line.
Visual Alerts:
Buy and sell signals are highlighted on the chart with green (buy) and red (sell) arrows below or above the corresponding candles.
Indicator Plotting:
The 5 and 21-period EMAs, as well as the VWAP, are plotted on the chart to facilitate the visualization of market conditions.
This script is a versatile tool for traders seeking to combine multiple technical indicators into a single strategy. It can be used across various timeframes and assets, allowing adjustments according to the trader's profile and market characteristics.
Juliano Einhardt Ulguim, Brazil, 05/27/2025.
RSI MTF Table V6
RSI MTF Table V6 displays MTF RSI Values.
Can customize colors and transparency.
Can customize the Panel position as per need.
PVSRA Candele e VolumeThis indicator changes the colors of the candlesticks in your chart highlighting Market Makers' activity
Auto AI Trendlines [TradingFinder] Clustering & Filtering Trends🔵 Introduction
Auto AI trendlines Clustering & Filtering Trends Indicator, draws a variety of trendlines. This auto plotting trendline indicator plots precise trendlines and regression lines, capturing trend dynamics.
Trendline trading is the strongest strategy in the financial market.
Regression lines, unlike trendlines, use statistical fitting to smooth price data, revealing trend slopes. Trendlines connect confirmed pivots, ensuring structural accuracy. Regression lines adapt dynamically.
The indicator’s ascending trendlines mark bullish pivots, while descending ones signal bearish trends. Regression lines extend in steps, reflecting momentum shifts. As the trend is your friend, this tool aligns traders with market flow.
Pivot-based trendlines remain fixed once confirmed, offering reliable support and resistance zones. Regression lines, adjusting to price changes, highlight short-term trend paths. Both are vital for traders across asset classes.
🔵 How to Use
There are four line types that are seen in the image below; Precise uptrend (green) and downtrend (red) lines connect exact price extremes, while Pivot-based uptrend and downtrend lines use significant swing points, both remaining static once formed.
🟣 Precise Trendlines
Trendlines only form after pivot points are confirmed, ensuring reliability. This reduces false signals in choppy markets. Regression lines complement with real-time updates.
The indicator always draws two precise trendlines on confirmed pivot points, one ascending and one descending. These are colored distinctly to mark bullish and bearish trends. They remain fixed, serving as structural anchors.
🟣 Dynamic Regression Lines
Regression lines, adjusting dynamically with price, reflect the latest trend slope for real-time analysis. Use these to identify trend direction and potential reversals.
Regression lines, updated dynamically, reflect real-time price trends and extend in steps. Ascending lines are green, descending ones orange, with shades differing from trendlines. This aids visual distinction.
🟣 Bearish Chart
A Bullish State emerges when uptrend lines outweigh or match downtrend lines, with recent upward momentum signaling a potential rise. Check the trend count in the state table to confirm, using it to plan long positions.
🟣 Bullish Chart
A Bearish State is indicated when downtrend lines dominate or equal uptrend lines, with recent downward moves suggesting a potential drop. Review the state table’s trend count to verify, guiding short position entries. The indicator reflects this shift for strategic planning.
🟣 Alarm
Set alerts for state changes to stay informed of Bullish or Bearish shifts without constant monitoring. For example, a transition to Bullish State may signal a buying opportunity. Toggle alerts On or Off in the settings.
🟣 Market Status
A table summarizes the chart’s status, showing counts of ascending and descending lines. This real-time overview simplifies trend monitoring. Check it to assess market bias instantly.
Monitor the table to track line counts and trend dominance.
A higher count of ascending lines suggests bullish bias. This helps traders align with the prevailing trend.
🔵 Settings
Number of Trendlines : Sets total lines (max 10, min 3), balancing chart clarity and trend coverage.
Max Look Back : Defines historical bars (min 50) for pivot detection, ensuring robust trendlines.
Pivot Range : Sets pivot sensitivity (min 2), adjusting trendline precision to market volatility.
Show Table Checkbox : Toggles display of a table showing ascending/descending line counts.
Alarm : Enable or Disable the alert.
🔵 Conclusion
The multi slopes indicator, blending pivot-based trendlines and dynamic regression lines, maps market trends with precision. Its dual approach captures both structural and short-term momentum.
Customizable settings, like trendline count and pivot range, adapt to diverse trading styles. The real-time table simplifies trend monitoring, enhancing efficiency. It suits forex, stocks, and crypto markets.
While trendlines anchor long-term trends, regression lines track intraday shifts, offering versatility. Contextual analysis, like price action, boosts signal reliability. This indicator empowers data-driven trading decisions.