TriTrend Nexus[BullByte]TriTrend Nexus is a comprehensive market analysis tool that consolidates three well-established signals into a single, easy-to-read interface. It is designed to help traders quickly assess the market’s current condition and make more informed decisions about potential trend shifts.
Key Features and Functionality
Composite Signal System
Multi-Faceted Approach :
The indicator combines insights from three distinct market signals into one composite score. This approach provides a more holistic view of market conditions compared to relying on a single indicator.
Clear Classification :
Based on the composite score, TriTrend Nexus categorizes the market into:
Strong Signals : When all three underlying conditions are met, indicating a robust and established trend.
Early Signals : When two out of the three conditions are met, offering an early hint of a potential trend.
Neutral/Choppy : When conditions are ambiguous or conflicting, suggesting a lack of clear market direction.
Trend Qualifiers :
In addition to the composite score, the indicator subtly refines its signal by noting whether a trend is “Rising” or “Fading.” This further aids traders in understanding the momentum behind the signal.
Dynamic Signal Identification
Timely Alerts :
By analyzing the composite data in real time, the indicator quickly identifies when market conditions shift, offering early warning signals that help traders stay ahead of the market.
Adaptive Analysis :
The built-in signal assessment continuously monitors market changes. Whether the market is in the early stages of a move or firmly committed to a trend, TriTrend Nexus adapts its messaging to reflect the evolving conditions.
User-Friendly Dashboard
Integrated Display :
A customizable dashboard provides an at-a-glance summary of key metrics. Users can choose between a detailed view for comprehensive insights or a compact version for a streamlined experience.
Key Metrics Displayed :
Primary Signal : The overall market status, such as “Bullish Strong” or “Bearish Early.”
Composite Nexus Score : A numerical value representing the strength of the current market conditions.
Supporting Data : Essential values that help explain the current signal without overwhelming the trader.
Easy Interpretation :
The dashboard is designed with clarity in mind. Clear labeling and a consistent layout ensure that even traders new to composite indicators can quickly interpret the displayed information.
Visual Clarity and Aesthetic
Color-Coded Signals :
The indicator uses a vibrant color scheme to highlight market conditions:
Bright Green : Signifies a strong bullish trend.
Light Green : Indicates an emerging bullish trend.
Red : Represents a strong bearish trend.
Light Red/Pink : Denotes an early bearish signal.
Gray : Used when market conditions are neutral or choppy.
Graphical Enhancements :
The plotted oscillator visually reinforces the signal classifications with dynamic color transitions. Horizontal markers provide reference points to help traders easily compare the current readings against standard levels.
Customization Options
Adjustable Settings :
Traders can personalize the indicator by modifying input settings such as sensitivity thresholds and period lengths. This flexibility allows the tool to adapt to different market environments and trading styles.
Dashboard Flexibility :
The option to toggle between a full dashboard and a shorter version means that both novice and experienced traders can configure the display to best suit their needs. A more detailed dashboard offers extensive insights, while the compact mode provides a minimalist view for those who prefer simplicity.
Tailored User Experience :
With multiple adjustable parameters, users can fine-tune the indicator to respond precisely to their preferred timeframes and market conditions. This adaptability makes TriTrend Nexus a versatile tool for various trading strategies.
Benefits for Traders
Quick and Informed Decision-Making :
With a single glance at the dashboard and visual cues from the oscillator, traders can quickly gauge whether the market is poised for a strong move, is in the early stages of a trend, or is too volatile for clear signals. This helps in planning timely entries and exits.
Enhanced Market Insight :
By integrating multiple perspectives into one coherent score, the indicator filters out market noise and highlights the prevailing trend more reliably. This can be particularly useful during periods of market uncertainty.
Reduced Analysis Time:
The combination of clear, color-coded signals and an intuitive dashboard reduces the time spent analyzing various individual indicators, allowing traders to focus more on strategy execution.
Customization for Diverse Strategies :
The ability to adjust various input parameters and the dashboard layout ensures that traders can tailor the tool to fit their unique analysis style and market conditions, making it a versatile addition to any trading toolkit.
User-Friendly Interface :
Even for those who are not technically inclined, the clear visual design and straightforward signal descriptions make it easy to understand the current market situation without needing to interpret complex data.
Momentum Indicator (MOM)
EREMA SignalsOverview
The EREMA Signals indicator is a specialized overlay tool designed to display precise buy and sell signals directly on your price chart. Working as a companion to the main Ehlers Reverse EMA indicator, it brings powerful momentum-based signals to your trading strategy without cluttering your chart with additional indicator panels.
Key Features
On-Chart Signal Visualization: Clear buy/sell arrows appear directly on the price chart
Dynamic Signal Positioning: Signals automatically adjust their distance from price using ATR for optimal visibility
Multiple Signal Types: Choose from three distinct signal generation methods
Clean Chart Interface: Displays only the essential signals, maintaining chart clarity
Signal Types
Zero Cross: Generates signals when the Ehlers Reverse EMA crosses above/below the zero line
MA Cross: Identifies when the Ehlers Reverse EMA crosses its own moving average
Zero & MA Cross: The strictest filter, requiring both zero line and MA crossovers for signal generation
How To Use
Setup
First add the main "Ehlers Reverse EMA" indicator to your chart
Then add this "EREMA Signals" indicator as an overlay
Configure both indicators with identical settings for alpha, MA type, and signal method
Reading Signals
Green Triangles (below price): Buy signals indicating potential upward momentum
Red Triangles (above price): Sell signals indicating potential downward momentum
Trading Applications
Trend Identification: Zero cross signals help identify changes in overall trend direction
Momentum Trading: MA cross signals can identify shorter-term momentum shifts
Confirmation Tool: Use alongside other technical indicators or price action strategies
Multiple Timeframe Analysis: Apply to different timeframes for more robust trading decisions
Best Practices
Consider using longer timeframes (4H, Daily) for more reliable signals
The combined "Zero & MA Cross" setting provides fewer but higher-quality signals
For tighter entries, use the "MA Cross" option in established trends
Adjust the Alpha parameter to match your trading style (lower for longer-term, higher for shorter-term)
This indicator works seamlessly with the main Ehlers Reverse EMA indicator while maintaining a clean chart interface, making it ideal for traders who prefer visual simplicity without sacrificing analytical power.
Rolling ATR Momentum
Rolling ATR Momentum Indicator – User Manual
---
🔍 Overview
The Rolling ATR Momentum Indicator is a simple yet powerful tool designed to detect shifts in market volatility. It compares the current Average True Range (ATR) with the ATR from a previous point in time to measure how market volatility is changing.
This indicator is especially useful for:
- Spotting the beginning or fading of a momentum phase
- Filtering out low-volatility market conditions
- Enhancing timing for entries and exits in trending or breakout trades
---
📊 Key Components
✅ ATR Delta (Rolling)
- Definition: `ATR Delta = Current ATR - Past ATR`
- Inputs:
- ATR Period (default: 14): The base ATR calculation window
- Lookback Period (default: 5): How many bars ago to compare ATR
- Interpretation:
- Positive ATR Delta (Green Line): Market volatility is increasing
- Negative ATR Delta (Red Line): Market volatility is decreasing
📈 Zero Line
- A horizontal baseline at zero helps you easily see when ATR momentum shifts from negative to positive (or vice versa).
🟩/🟥 Background Color
- Green Background: ATR Delta is positive (rising volatility)
- Red Background: ATR Delta is negative (falling volatility)
🔵 Optional: ATR Reference Lines
- You can optionally display raw Current ATR and Past ATR by changing their visibility settings.
---
✅ How to Use It
Entry Timing (Futures/Options)
- Use ATR Delta as a filter:
- Only take trades when ATR Delta is positive → confirms momentum is building
- Avoid trades when ATR Delta is negative → market might be slow, sideways, or losing steam
Breakout Anticipation
- A rising ATR Delta after a tight range or consolidation can suggest that a breakout is underway
Stop-loss Strategy
- Use high ATR periods for wider stops (to avoid noise)
- Use low ATR periods for tighter stops or skip trading
---
🧠 Pro Tips
- This indicator doesn’t predict direction—combine with trend or price structure tools (like EMA, PPMA, candlesticks)
- Works best in trending or breakout environments
- Add it to multi-timeframe layouts to see volatility buildup on higher timeframes
---
⚙️ Settings
| Parameter | Description |
|----------|-------------|
| ATR Period | Length of the ATR calculation (default 14) |
| Lookback Period | How many bars back to compare ATR values |
---
🧭 Best For:
- Index futures (Nifty, BankNifty)
- Option buyers needing volatility confirmation
- Intraday & swing traders looking to trade momentum setups
---
Use the Rolling ATR Momentum indicator as your volatility radar—simple, clean, and highly effective for staying on the right side of market energy.
End of Manual
Rolling ATR Momentum - EnhancedATR Rolling Momentum Indicator – User Manual
---
🔍 Overview
The ATR Rolling Momentum Indicator is a dynamic volatility tool built on the Average True Range (ATR). It not only tracks increasing or decreasing momentum but also provides early warnings and confirmation signals for potential breakout moves. It’s especially powerful for futures and options traders looking to align with expanding price action.
---
📊 Core Components
✅ ATR Delta (Rolling ATR)
- Definition: Difference between current ATR and past ATR (user-defined lookback).
- Use: Tells whether volatility is expanding (positive delta) or contracting (negative delta).
- Visual: Green line for rising momentum, red for declining.
🟣 ATR Delta Slope
- Definition: Measures acceleration in momentum.
- Use: Helps identify early signs of breakout buildup.
- Visual: Purple line. Watch for slope turning up from below.
🟡 Volatility Squeeze (Yellow Dot)
- Definition: Current ATR is significantly lower than its 20-period average.
- Use: Indicates the market is coiling—possible breakout ahead.
🔼 Momentum Start (Green Triangle)
- Definition: ATR Delta slope turns from negative to positive.
- Use: Early warning to prepare for volatility expansion.
🔷 Breakout Confirmation (Blue Label Up)
- Definition: ATR Delta exceeds its high of the last 10 candles.
- Use: Confirms volatility breakout—trade opportunity if direction aligns.
🟩/🟥 Background Color
- Green Background: Momentum rising (positive ATR delta)
- Red Background: Momentum falling (negative ATR delta)
- Yellow Tint: Active squeeze zone
---
✅ How to Use It (Futures/Options Focus)
Step-by-Step:
1. Squeeze Detected (Yellow Dot) → Stay alert. Market is coiling.
2. Green Triangle Appears → Momentum is starting to rise.
3. Background Turns Green → Confirmed rising momentum.
4. Blue Label Appears → Confirmed breakout (enter trade if trend aligns).
Directional Bias:
- Use your main chart setup (price action, EMAs, trendlines, etc.) to decide direction (Call or Put, Long or Short).
- ATR Momentum only tells you how strong the move is—not which way.
---
⚙️ Inputs & Settings
- ATR Period: Default 14 (core volatility measure)
- Rolling Lookback: Used to calculate delta (default 5)
- Slope Length: Used to measure acceleration (default 3)
- Squeeze Factor: Default 0.8 — lower = more sensitive squeeze detection
- Breakout Lookback: Checks ATR delta against last X bars (default 10)
---
🧠 Pro Tips
- Works great when paired with EMA stacks, price structure, or breakout patterns.
- Avoid taking trades based only on squeeze or momentum—combine with chart confirmation.
- If background turns red after a breakout, it may be losing momentum—book partials or tighten stops.
---
🧭 Ideal For:
- Nifty/BankNifty Futures
- Option directional trades (call/put buying)
- Index scalping and momentum swing setups
---
Use this tool as your volatility compass—it won't tell you where to go, but it'll tell you when the wind is strong enough to move fast.
End of Manual
Ehlers Reverse EMAOverview
The Ehlers Reverse EMA is an advanced momentum indicator designed by John Ehlers and implemented here with additional features for improved trading decision-making. This indicator helps identify trend direction, potential reversals, and generates precise buy/sell signals based on multiple confirmation methods.
What Makes It Unique
Unlike conventional EMAs, the Ehlers Reverse EMA uses a sophisticated reverse-engineering approach to provide smoother, more responsive signals with reduced lag. The indicator combines a proprietary EMA calculation with optional moving average confirmation to filter out market noise and highlight meaningful price movements.
Features
Dynamic Color Coding: Green when momentum is positive, red when negative
Moving Average Overlay: Optional MA with selectable types (SMA, EMA, WMA, VWMA)
Multiple Signal Generation Methods:
Zero-Line Crossovers: Signals when momentum shifts from positive to negative or vice versa
MA Crossovers: Signals when the Ehlers EMA crosses its own moving average
Combined Confirmation: Requires both zero-line and MA crossovers for highest probability signals
On-Chart Signal Visualization: Clear buy/sell arrows directly on the price chart
Customizable Parameters: Adjust alpha value, MA type, and signal generation to suit your trading style
How To Use
Add the main "Ehlers Reverse EMA" indicator to your chart
Add the companion "EREMA Signals" indicator to display buy/sell signals on the price chart
Ensure both indicators have matching settings for consistency
Signal Interpretation
Buy Signals (Green Triangles): Appear below price bars when conditions are met
Sell Signals (Red Triangles): Appear above price bars when conditions are met
Recommended Timeframes
Works well on all timeframes from 5-minute to daily charts. For swing trading, 4H or daily timeframes often provide the most reliable signals.
Strategy Applications
Trend Following: Use zero-line crossovers to enter with the trend
Momentum Trading: Use MA crossovers for entry and exit points
Confirmation Tool: Combine with price action or other indicators for higher-probability trades
Divergence Analysis: Compare indicator movement with price action to spot potential reversals
Parameter Settings
Alpha (Default: 0.1): Lower values create smoother lines but more lag; higher values increase responsiveness but may increase false signals
MA Length (Default: 14): Adjust based on your trading timeframe and style
This versatile indicator helps identify high-probability trading opportunities while filtering out market noise, making it valuable for both novice and experienced traders alike.
VIDYA Auto-Trading(Reversal Logic)Overview
This script is a dynamic trend-following strategy based on the Variable Index Dynamic Average (VIDYA). It adapts in real time to market volatility, aiming to enhance entry precision and optimize risk management.
⚠️ This strategy is intended for educational and research purposes. Past performance does not guarantee future results. All results are based on historical simulations using fixed parameters.
Strategy Objectives
The objective of this strategy is to respond swiftly to sudden price movements and trend reversals, providing consistent and reliable trade signals under historical testing conditions. It is designed to be intuitive and efficient for traders of all levels.
Key Features
Momentum Sensitivity via VIDYA: Reacts quickly to momentum shifts, allowing for accurate trend-following entries.
Volatility-Based ATR Bands: Automatically adjusts stop levels and entry conditions based on current market volatility.
Intuitive Trend Visualization: Uptrends are marked with green zones, and downtrends with red zones, giving traders clear visual guidance.
Trading Rules
Long Entry: Triggered when price crosses above the upper band. Any existing short position is closed.
Short Entry: Triggered when price crosses below the lower band. Any existing long position is closed.
Exit Conditions: Positions are reversed based on signal changes, using a position reversal strategy.
Risk Management Parameters
Market: ETHUSD(5M)
Account Size: $3,000 (reasonable approximation for individual traders)
Commission: 0.02%
Slippage: 2 pip
Risk per Trade: 5% of account equity (adjusted to comply with TradingView guidelines for realistic risk levels)
Number of Trades: 251 (based on backtest over the selected dataset)
⚠️ The risk per trade and other values can be customized. Users are encouraged to adapt these to their individual needs and broker conditions.
Trading Parameters & Considerations
VIDYA Length: 10
VIDYA Momentum: 20
Distance factor for upper/lower bands: 2
Source: close
Visual Support
Trend zones, entry points, and directional shifts are clearly plotted on the chart. These visual cues enhance the analytical experience and support faster decision-making.
Visual elements are designed to improve interpretability and are not intended as financial advice or trade signals.
Strategy Improvements & Uniqueness
Inspired by the public work of BigBeluga, this script evolves the original concept with meaningful enhancements. By combining VIDYA and ATR bands, it offers greater adaptability and practical value compared to conventional trend-following strategies.
This adaptation is original work and not a direct copy. Improvements are designed to enhance usability, risk control, and market responsiveness.
Summary
This strategy offers a responsive and adaptive approach to trend trading, built on momentum detection and volatility-adjusted risk management. It balances clarity, precision, and practicality—making it a powerful tool for traders seeking reliable trend signals.
⚠️ All results are based on historical data and are subject to change under different market conditions. This script does not guarantee profit and should be used with caution and proper risk management.
TTM Squeeze Momentum MTF [Cometreon]TTM Squeeze Momentum MTF combines the core logic of both the Squeeze Momentum by LazyBear and the TTM Squeeze by John Carter into a single, unified indicator. It offers a complete system to analyze the phase, direction, and strength of market movements.
Unlike the original versions, this indicator allows you to choose how to calculate the trend, select from 15 different types of moving averages, customize every parameter, and adapt the visual style to your trading preferences.
If you are looking for a powerful, flexible and highly configurable tool, this is the perfect choice for you.
🔷 New Features and Improvements
🟩 Unified System: Trend Detection + Visual Style
You can decide which logic to use for the trend via the "Show TTM Squeeze Trend" input:
✅ Enabled → Trend calculated using TTM Squeeze
❌ Disabled → Trend based on Squeeze Momentum
You can also customize the visual style of the indicator:
✅ Enable "Show Histogram" for a visual mode using Histogram, Area, or Column
❌ Disable it to display the classic LazyBear-style line
Everything updates automatically and dynamically based on your selection.
🟩 Full Customization
Every base parameter of the original indicator is now fully configurable: lengths, sources, moving average types, and more.
You can finally adapt the squeeze logic to your strategy — not the other way around.
🟩 Multi-MA Engine
Choose from 15 different Moving Averages for each part of the calculation:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
RMA (Smoothed Moving Average)
HMA (Hull Moving Average)
JMA (Jurik Moving Average)
DEMA (Double Exponential Moving Average)
TEMA (Triple Exponential Moving Average)
LSMA (Least Squares Moving Average)
VWMA (Volume-Weighted Moving Average)
SMMA (Smoothed Moving Average)
KAMA (Kaufman’s Adaptive Moving Average)
ALMA (Arnaud Legoux Moving Average)
FRAMA (Fractal Adaptive Moving Average)
VIDYA (Variable Index Dynamic Average)
🟩 Dynamic Signal Line
Apply a moving average to the momentum for real-time cross signals, with full control over its length and type.
🟩 Multi-Timeframe & Multi-Ticker Support
You're no longer limited to the chart's current timeframe or ticker. Apply the squeeze to any symbol or timeframe without repainting.
🔷 Technical Details and Customizable Inputs
This indicator offers a fully modular structure with configurable parameters for every component:
1️⃣ Squeeze Momentum Settings – Choose the source, length, and type of moving average used to calculate the base momentum.
2️⃣ Trend Mode Selector – Toggle "Show TTM Squeeze Trend" to select the trend logic displayed on the chart:
✅ Enabled – Shows the trend based on TTM Squeeze (Bollinger Bands inside/outside Keltner Channel)
❌ Disabled – Displays the trend based on Squeeze Momentum logic
🔁 The moving average type for the Keltner Channel is handled automatically, so you don't need to select it manually, even if the custom input is disabled.
3️⃣ Signal Line – Toggle the Signal Line on the Squeeze Momentum. Select its length and MA type to generate visual cross signals.
4️⃣ Bollinger Bands – Configure the length, multiplier, source, and MA type used in the bands.
5️⃣ Keltner Channel – Adjust the length, multiplier, source, and MA type. You can also enable or disable the True Range option.
6️⃣ Advanced MA Parameters – Customize the parameters for advanced MAs (JMA, ALMA, FRAMA, VIDYA), including Phase, Power, Offset, Sigma, and Shift values.
7️⃣ Ticker & Input Source – Select the ticker and manage inputs for alternative chart types like Renko, Kagi, Line Break, and Point & Figure.
8️⃣ Style Settings – Choose how the squeeze is displayed:
Enable "Show Histogram" for Histogram, Area, or Column style
Disable it to show the classic LazyBear-style line
Use Reverse Color to invert line colors
Toggle Show Label to highlight Signal Line cross signals
Customize trend colors to suit your preferences
9️⃣ Multi-Timeframe Options - Timeframe – Use the squeeze on higher timeframes for stronger confirmation
🔟 Wait for Timeframe Closes -
✅ Enabled – Prevents multiple signals within the same candle
❌ Disabled – Displays the indicator smoothly without delay
🔧 Default Settings Reference
To replicate the default settings of the original indicators as they appear when first applied to the chart, use the following configurations:
🟩 TTM Squeeze (John Carter Style)
Squeeze
Length: 20
MA Type: SMA
Show TTM Squeeze Trend: Enabled
Bollinger Bands
Length: 20
Multiplier: 2.0
MA Type: SMA
Keltner Channel
Length: 20
Multiplier: 1.0
Use True Range: ON
MA Type: EMA
Style
Show Histogram: Enabled
Reverse Color: Enabled
🟩 Squeeze Momentum (LazyBear Style)
Squeeze
Length: 10
MA Type: SMA
Show TTM Squeeze Trend: Disabled
Bollinger Bands
Length: 20
Multiplier: 1.5
MA Type: SMA
Keltner Channel
Length: 10
Multiplier: 1.5
Use True Range: ON
MA Type: SMA
Style
Show Histogram: Disabled
Reverse Color: Disabled
⚠️ These values are intended as a starting point. The Cometreon indicator lets you fully customize every input to fit your trading style.
🔷 How to Use Squeeze Momentum Pro
🔍 Identifying Trends
Squeeze Momentum Pro supports two different methods for identifying the trend visually, each based on a distinct logic:
Squeeze Momentum Trend (LazyBear-style):
Displays 3 states based on the position of the Bollinger Bands relative to the Keltner Channel:
🔵 Blue = No Squeeze (BB outside KC and KC outside BB)
⚪️ White = Squeeze Active (BB fully inside KC)
⚫️ Gray = Neutral state (none of the above)
TTM Squeeze Trend (John Carter-style):
Calculates the difference in width between the Bollinger Bands and the Keltner Channel:
🟩 Green = BB width is greater than KC → potential expansion phase
🟥 Red = BB are tighter than KC → possible compression or pre-breakout
📈 Interpreting Signals
Depending on the active configuration, the indicator can provide various signals, including:
Trend color → Reflects the current compression/expansion state (based on selected mode)
Momentum value (above or below 0) → May indicate directional pressure
Signal Line cross → Can highlight momentum shifts
Color change in the momentum → May suggest a potential trend reversal
🛠 Integration with Other Tools
Squeeze Momentum Pro works well alongside other indicators to strengthen market context:
✅ Volume Profile / OBV – Helps confirm accumulation or distribution during squeezes
✅ RSI – Useful to detect divergence between momentum and price
✅ Moving Averages – Ideal for defining primary trend direction and filtering signals
☄️ If you find this indicator useful, leave a Boost to support its development!
Every piece of feedback helps improve the tool and deliver an even better trading experience.
🔥 Share your ideas or feature requests in the comments!
Smoothed EMA Heiken AshiSmoothed EMA Heikinashi for trading.
Default is : (Before HA) 10 / (After HA) 10
Swing Trading is : 20 / 20 * Only a recommendation
Scalping is: 5 / 5 * Only a recommendation
Tendencia y Fuerza [4H - Sin Límites]This custom indicator combines two key elements for analyzing financial markets on a 4-hour timeframe:
Trend direction (bullish/bearish).
Brute force of the movement (no numerical limits).
🔍 Main Components:
1. Trend Line (Green/Red):
Green: Uptrend (20 EMA > 50 EMA on the 4-hour period).
Red: Downtrend (20 EMA < 50 EMA on the 4-hour period).
Purpose: To quickly identify market direction.
--------------------------------------------------------------------------------------------------------------------
Pro Scalper AI [BullByte]The Pro Scalper AI is a powerful, multi-faceted scalping indicator designed to assist active traders in identifying short-term trading opportunities with precision. By combining trend analysis, momentum indicators, dynamic weighting, and optional AI forecasting, this tool provides both immediate and latched trading signals based on confirmed (closed bar) data—helping to avoid repainting issues. Its flexible design includes customizable filters such as a higher timeframe trend filter, and adjustable settings for ADX, ATR, and Hull Moving Average (HMA), giving traders the ability to fine-tune the strategy to different markets and timeframes.
Key Features :
- Confirmed Data Processing :
Utilizes a helper function to lock in price and volume data only from confirmed (closed) bars, ensuring the reliability of signals without the risk of intrabar repainting.
- Trend Analysis :
Employs ADX and Directional Movement (DI) calculations along with a locally computed HMA to detect short-term trends. An optional higher timeframe trend filter can further refine the analysis.
- Flexible Momentum Modes :
Choose between three momentum calculation methods—Stochastic RSI, Fisher RSI, or Williams %R—to match your preferred style of analysis. This versatility allows you to optimize the indicator for different market conditions.
- Dynamic Weighting & Volatility Adjustments :
Adjusts the contribution of trend, momentum, volatility, and volume through dynamic weighting. This ensures that the indicator responds appropriately to varying market conditions by scaling its sensitivity with user-defined maximum factors.
- Optional AI Forecast :
For those who want an extra edge, the built-in AI forecasting module uses linear regression to predict future price moves and adjusts oscillator thresholds accordingly. This feature can be toggled on or off, with smoothing options available for more stable output.
- Latching Mode for Signal Persistenc e:
The script features a latching mechanism that holds signals until a clear reversal is detected, preventing whipsaws and providing more reliable trade entries and exits.
- Comprehensive Visualizations & Dashboard :
- Composite Oscillator & Dynamic Thresholds : The oscillator is plotted with dynamic upper and lower thresholds, and the area between them is filled with a color that reflects the active trading signal (e.g., Strong Buy, Early Sell).
- Signal Markers : Both immediate (non-latching) and stored (latched) signals are marked on the chart with distinct shapes (circles, crosses, triangles, and diamonds) to differentiate between signal types.
- Real-Time Dashboard : A customizable dashboard table displays key metrics including ADX, oscillator value, chosen momentum mode, HMA trend, higher timeframe trend, volume factor, AI bias (if enabled), and more, allowing traders to quickly assess market conditions at a glance.
How to Use :
1. S ignal Interpretation :
- Immediate Signals : For traders who prefer quick entries, the indicator displays immediate signals such as “Strong Buy” or “Early Sell” based on the current market snapshot.
- Latched Signals : When latching is enabled, the indicator holds a signal state until a clear reversal is confirmed, offering sustained trade setups.
2. Trend Confirmation :
- Use the HMA trend indicator and the optional higher timeframe trend filter to confirm the prevailing market direction before acting on signals.
3. Dynamic Thresholds & AI Forecasting :
- Monitor the dynamically adjusted oscillator thresholds and, if enabled, the AI bias to gauge potential shifts in market momentum.
4. Risk Management :
- Combine these signals with additional analysis and sound risk management practices to determine optimal entry and exit points for scalping trades.
Disclaimer :
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always perform your own analysis and use proper risk management strategies before trading.
Relative Directional Index (RDI)🔍 Overview
The Relative Directional Index (RDI) is a hybrid tool that fuses the Average Directional and the Relative Strength Indices (ADX and RSI) into a single, highly visual interface. While the former captures trend strength, the latter reveals momentum shifts and potential exhaustion. Together, they can confirm trend structure, anticipate reversals, and sharpen the timing entries and exits.
📌 Why Combine ADX with RSI?
Most indicators focus on either trend-following (like ADX) or momentum detection (like RSI)—but rarely both. Each comes with trade-offs:
- ADX alone confirms trend strength but ignores momentum.
- RSI alone signals overbought/oversold, but lacks trend context.
The RDI resolves this by integrating both, offering:
- Smarter filters for trend entries
- Early warnings of momentum breakdowns
- More confident signal validation
🧠 Design Note: Fibonacci Harmony
All default values—5, 13, 21—are Fibonacci numbers. This is intentional, as these values reflect the natural rhythm of market cycles, and promote harmonic calibration between price action and indicator logic.
🔥 Key Features
✅ ADX Histogram
- Green bars = trend gaining strength
- Red bars = trend weakening
- Adjustable transparency for visual tuning
✅ ADX Line (Orange)
- Measures trend strength over time
- Rising = accelerating trend
- Falling = trend may be fading
✅ RSI Line (Lemon Yellow)
- Captures momentum surges and slowdowns
- Above 50 = bullish control
- Below 50 = bearish pressure
✅ Trend Strength Squares
- Bright green = strong uptrend
- Bright red = strong downtrend
- Faded colors = range-bound or indecisive
✅ ADX/RSI Crossover Markers
- Yellow square = RSI crosses above ADX → momentum building
- Orange square = ADX crosses above RSI → trend still dominant
✅ Customizable Reference Lines
- Yellow (50) = strong trend threshold
- Red (30) = weak trend zone
- Green (70) = overextended, potential exhaustion
_______________________________________________________
🎯 How to Trade with the RDI
The RDI helps traders identify momentum-supported trends, catch early reversals, and avoid false signals during consolidation.
✅ Trend Confirmation Entries
🔼 Bullish → Enter long on pullbacks or resistance breakouts
- ADX rising above 30
- RSI above 50
- Green trend square visible
🔽 Bearish → Enter short on breakdowns or failed retests
- ADX rising
- RSI below 50
- Red trend square visible
🧯 Exit if RSI crosses back against trend direction or ADX flattens
🚨 Reversal Setups Using Divergence
📈 Bullish Divergence → Long entry after confirmation (e.g. engulfing bar, volume spike)
- Price prints lower low
- RSI prints higher low
- Green triangle
📉 Bearish Divergence → Short entry on breakdown
- Price prints higher high
- RSI prints lower high
- Red triangle
Tip: Stronger if ADX is declining (fading trend strength)
🔂 Breakout Detection via Cross Markers
- Yellow square = RSI > ADX → breakout brewing
- Orange square = ADX > RSI → trend continuation likely
⏸️ Avoid Choppy Markets
- RSI between 45–55
- Faded trend squares
- Flat ADX below 20–30
🧠 Pro Tips
- Combine RDI with VWAPs, moving averages and/or pitchforks
- Watch for alignment between trend and momentum
- Use divergence markers as confirmation, not stand-alone triggers
_______________________________________________________
⚠️ Hidden Divergence (Optional)
The RDI includes optional hidden divergence detection. These signals suggest trend continuation but are off by default. Use with discretion—best in established trends, not sideways markets.
🙈 Hidden Bullish
- Price prints higher low
- RSI prints lower low
🙈 Hidden Bearish
- Price prints lower high
- RSI prints higher high
Momentum Shift [Bigbeluga]
This indicator identifies momentum shifts using a smoothed momentum calculation. It plots dynamic shift zones consisting of five levels that expand or contract based on price action. When momentum rises, the indicator creates an upward shift zone, and when momentum falls, it generates a downward shift zone. The shift zones dynamically react to price, stopping extension when a level is crossed.
🔵Key Features:
Smoothed Momentum Calculation:
➣ Utilizes a Hull Moving Average (HMA) to smooth momentum and reduce noise.
➣ Identifies momentum shifts with crossovers between the current momentum value and its previous state.
➣ Uses a gradient color scheme to highlight momentum strength.
Dynamic Shift Zones:
➣ When momentum rises, the indicator plots an upper shift zone with five incremental levels.
➣ When momentum falls, a lower shift zone is formed with five descending levels.
➣ Each level within the shift zone represents a progressively stronger momentum shift.
Level Extension Control:
➣ Shift zones stop extending once a level is crossed by price.
➣ Levels closer to price act as key momentum resistance or support zones.
➣ If price retraces after a shift, the remaining levels stay intact for further reference.
Momentum Direction Indications:
➣ Labels (▲ and ▼) appear at momentum shift points to indicate rising or falling momentum.
🔵Usage:
Momentum-Based Entries: Identify momentum shifts early by using shift zones as confirmation for trade entries.
Trend Continuation & Exhaustion: Observe which shift levels price respects—if momentum shift zones hold, the trend may continue; if they break, momentum may reverse.
Dynamic Support & Resistance: Use the five-level shift zones as temporary support and resistance areas that adapt to momentum shifts.
Momentum Strength Analysis: If price moves through multiple shift levels in one direction, it signals strong momentum in that direction.
Momentum Shift is a powerful tool for traders looking to analyze momentum shifts with structured visual zones. By combining smoothed momentum calculations with dynamic shift zones, this indicator provides a clear view of market momentum and helps traders navigate price action effectively.
Croak Indicator Trend Filtered🐸 Croak Indicator – Trend-Filtered Market Structure Visualizer
🔍 Overview
The Croak Indicator is a visual market structure tool designed to highlight potential reversal zones by identifying key swing highs and lows. It uses price action and trend context to help traders understand possible turning points in the market.
This version introduces a trend filter using Exponential Moving Averages (EMA), so:
🐸 Frogs (bottom signals) only appear in uptrends
🦊 Foxes (top signals) only appear in downtrends
This helps reduce noise and keeps the indicator aligned with the prevailing trend.
🧠 How It Works
Detects significant swing points based on local highs/lows over a lookback period (Pattern Length).
Adds a trend filter using EMA 21 and EMA 50 to improve signal quality.
A structure score (Frog Jump Score) optionally appears in the corner to show how symmetrical the recent market swings have been.
The script uses bar-based historical analysis and repaints past signals as more candles form.
⚠️ Important Note on Repainting
This is a repainting indicator, meaning it uses future price action to confirm swing points. Signals may change or disappear as new bars form. It is not intended for real-time signal execution, but rather as a visual aid for understanding market structure in hindsight.
⚙️ Key Features
✅ Plots intuitive frog and fox icons for bullish/bearish swing points.
✅ Includes a trend filter using EMA crossover logic.
✅ Optional scoring table for structure geometry confidence.
✅ Useful for swing traders, market structure learners, and chart artists.
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice. Always do your own analysis and apply risk management when trading.
TR Buy/Sell Signal PanelI scripted this with chatgpt have fun guys
📊 TR Buy/Sell Signal Panel – Smart Trade Signals with Visual Clarity
The TR Buy/Sell Signal Panel is a standalone indicator inspired by the powerful Traders Reality (TR) methodology.
It detects potential long and short trade setups using classic market behavior patterns such as volume spikes, EMA crossovers, and session-based timing – all visualized cleanly and statically on your chart.
✅ Key Features
Buy Signals (LONG):
Green PVSRA candle (strong bullish candle with momentum)
EMA13 crossing above EMA50
Volume spike (current volume exceeds 20-period average × multiplier)
Triggered only during London or New York trading sessions (UTC)
Sell Signals (SHORT):
Red PVSRA candle (strong bearish move)
EMA13 crossing below EMA50
Volume spike
Also restricted to active session times
📌 Visual Components
Green/Red arrows on the chart indicate Buy/Sell entries
A static info panel in the bottom-right corner displays all signal conditions:
PVSRA active ✅
Volume Spike ✅
EMA Crossover ✅
Session Time ✅
Last Signal: 🟢 BUY / 🔴 SELL
Current Direction: 🟢 LONG / 🔴 SHORT / ❌ NONE
⚙️ Fully Customizable
Adjustable volume spike multiplier
Optional toggle for showing/hiding short signals
Extremely user-friendly layout – ideal for both beginners & experienced traders
📦 Best For:
Scalpers & Intraday Traders
Traders who follow the Traders Reality / Market Maker Method
Anyone who values clean, rule-based trade entries
Note: Works across all timeframes with sufficient volume (e.g., 5min – 4hr). Sessions are based on UTC time – adjust if needed based on your timezone or trading hours.
Momentum Strategy with Selectable PositionsThis strategy is written based on momentum 5 and 10. If both momentums are positive, it takes a long position and when both momentums are negative, it takes a short position.
Aggregated Spot vs Perp Volume (% Change)Aggregated Spot vs Perp Volume (% Change)
Description
The "Aggregated Spot vs Perp Volume (% Change)" indicator helps crypto traders compare the momentum of spot and perpetual futures (perp) trading volumes across 12 major exchanges. It calculates the percentage change in volume from one bar to the next, highlighting divergences and showing which market—spot or perp—is leading a move. By focusing on relative changes, it eliminates the issue of absolute volume differences, making trends clear.
The indicator aggregates data from Binance, Bybit, OKX, Coinbase, Bitget, MEXC, Phemex, BingX, WhiteBIT, BitMEX, Kraken, and HTX. Users can toggle exchanges and choose to measure volume in coin units (e.g., BTC) or USD.
How It Works
Volume Aggregation:
Fetches spot and perp volume data for the selected crypto (e.g., BTC) from up to 12 exchanges.
Spot volume is included only if perp volume is available for the same pair, ensuring consistency.
Volume can be measured in coin units or USD (volume × spot price).
Percentage Change:
Calculates the percentage change in spot and perp volumes from the previous bar:
Percentage Change = ((Current Volume − Previous Volume) / Previous Volume) ×100
This focuses on relative momentum, making spot and perp volumes directly comparable.
Visualization:
Spot volume % change is plotted as a blue line, and perp volume % change as a red line, both with a linewidth of 1.
Who Should Use It
Crypto Traders: To understand spot vs. perp market dynamics across exchanges.
Momentum Traders: To spot which market is driving price moves via volume divergences.
Scalpers/Day Traders: For identifying short-term shifts in market activity.
Analysts: To study liquidity and sentiment in crypto markets.
How to Use It
Blue line: Spot volume % change.
Red line: Perp volume % change.
Look for divergences (e.g., a sharp rise in the red line but not the blue line suggests perp markets are leading).
Combine with Price:
Use alongside price charts to confirm trends or spot potential reversals.
Context
Spot markets reflect actual asset trading, while perp markets, with leverage, attract speculative activity and often show higher volumes. This indicator uses percentage change to compare their momentum, helping traders identify market leadership and divergences. For example, a 50% increase in both spot and perp volumes plots at the same level, making it easy to see relative shifts across exchanges.
Highest High Line with Multi-Timeframe Supertrend and RSIOverview:
This powerful indicator combines three essential elements for traders:
Highest High Line – Tracks the highest price over a customizable lookback period across different timeframes.
Multi-Timeframe Supertrend – Displays Supertrend values and trend directions for multiple timeframes simultaneously.
Relative Strength Index (RSI) – Shows RSI values across different timeframes for momentum analysis.
Features:
✅ Customizable Highest High Line:
Selectable timeframes: Daily, Weekly, Monthly, Quarterly, Yearly
Adjustable lookback period
✅ Multi-Timeframe Supertrend:
Supports 1min, 5min, 10min, 15min, 30min, 1H, Daily, Weekly, Monthly, Quarterly, Yearly
ATR-based calculation with configurable ATR period and multiplier
Identifies bullish (green) & bearish (red) trends
✅ Multi-Timeframe RSI:
Calculates RSI for the same timeframes as Supertrend
Overbought (≥70) and Oversold (≤30) signals with color coding
✅ Comprehensive Table Display:
A clean, structured table in the bottom-right corner
Displays Supertrend direction, value, and RSI for all timeframes
Helps traders quickly assess trend and momentum alignment
How to Use:
Use the Highest High Line to identify key resistance zones.
Confirm trend direction with Multi-Timeframe Supertrend.
Check RSI values to avoid overbought/oversold conditions before entering trades.
Align multiple timeframes for stronger confirmation of trend shifts.
Ideal For:
✅ Scalpers (lower timeframes: 1m–30m)
✅ Swing Traders (higher timeframes: 1H–D)
✅ Position Traders (Weekly, Monthly, Quarterly)
💡 Tip: Look for Supertrend & RSI confluence across multiple timeframes for higher probability setups.
Session Profile AnalyzerWhat’s This Thing Do?
Hey there, trader! Meet the Session Profile Analyzer (SPA) your new go-to pal for breaking down market action within your favorite trading sessions. It’s an overlay indicator that mixes Rotation Factor (RF), Average Subperiod Range (ASPR), Volume Value Area Range (VOLVAR), and TPO Value Area Range (TPOVAR) into one tidy little toolkit. Think of it as your market vibe checker momentum, volatility, and key levels, all served up with a grin.
The Cool Stuff It Does:
Rotation Factor (RF) : Keeps tabs on whether the market’s feeling bullish, bearish, or just chilling. It’s like a mood ring for price action shows “UP ↑,” “DOWN ↓,” or “NONE ↔.”
ASPR : Averages out the range of your chosen blocks. Big swings? Tiny wiggles? This tells you the session’s energy level.
VOLVAR : Dives into volume to find where the action’s at, with a smart twist it adjusts price levels based on the session’s size and tiny timeframe moves (capped at 128 so your chart doesn’t cry).
TPOVAR : Grabs lower timeframe data to spot where price hung out the most, TPO-style. Value zones, anyone?
Dynamic Precision : No ugly decimal overload SPA matches your asset’s style (2 decimals for BTC, 5 for TRX, you get it).
How to Play With It:
Session Start/End : Pick your trading window (say, 0930-2200) and a timezone (America/New_York, or wherever you’re at).
Block Size : Set the chunk size for RF and ASPR like 30M if you’re into half-hour vibes.
Value Area Timeframe : Go micro with something like 1S for VOLVAR and TPOVAR precision.
Label : Size it (small to huge), color it (white, neon pink, whatever), and slap it where you want (start, mid, end).
How It All Works (No PhD Required):
RF : Imagine breaking your session into blocks (via Block Size). For each block, SPA checks if the high beats the last high (+1) or not (0), and if the low dips below the last low (-1) or not (0). Add those up, and boom positive RF means upward vibes, negative means downward, near zero is “meh.” Use it to catch trends or spot when the market’s napping.
ASPR : Takes those same blocks, measures high-to-low range each time, and averages them. It’s your volatility pulse big ASPR = wild ride, small ASPR = snooze fest. Great for sizing up session action.
VOLVAR : Here’s the fun part. It takes the session’s full range (high minus low), divides it by the average range of your tiny Value Area Timeframe bars (e.g., 1S), and picks a sensible number of price levels capped at 128 so it doesn’t overthink. Then it bins volume into those levels, finds the busiest price (POC), and grows a 70% value area around it. Perfect for spotting where the big players parked their cash.
TPOVAR : Grabs midpoints from those tiny timeframe bars, sorts them, and snips off the top and bottom 15% to find the 70% “value zone” where price chilled the most. Think of it as the market’s comfort zone great for support/resistance hunting.
Why You’ll Like It:
Whether you’re scalping crypto, swinging forex, or dissecting stocks, SPA’s got your back. Use RF to catch momentum shifts like jumping on an “UP ↑” trend or fading a “DOWN ↓” exhaustion. ASPR’s your secret weapon for sizing up trades: a big ASPR (say, 100 on BTC) means you can aim for juicy targets (like 1-2x ASPR) or set invalidations tight when it’s tiny (e.g., 0.001 on TRX) to dodge chop. VOLVAR and TPOVAR are your level-finders nail those key zones where price loves to bounce or break, perfect for entries, stops, or profit grabs. It’s like having a trading co-pilot who’s chill but knows their stuff.
Heads-Up:
Load enough history for those micro timeframes to shine (1S needs some bars to work with).
Keeps things light won’t bog down your chart even with decent-sized sessions.
Let’s Roll:
Slap SPA on your chart, tweak it to your style, and watch it spill the beans on your session. Happy trading, fam may your pips be plenty and your losses few!
Multi-Timeframe Stochastic RSI ArrowsMulti-Timeframe Stochastic RSI Arrows Indicator by The Venetian
Dear Moderators before you torch me alive theres nothing groundbreaking just very handy indicator for some users.
This indicator provides traders with a jet fighter-style heads-up display for market momentum across multiple timeframes. By displaying Stochastic RSI directional arrows for 12 different timeframes simultaneously, it offers a comprehensive view of market conditions without requiring multiple chart windows.
How It Works
The indicator calculates the Stochastic RSI for each of 12 common timeframes (1m to 3M) and represents directional movements with intuitive arrows:
- ▲ Green up arrow = Rising momentum
- ▼ Red down arrow = Falling momentum
- ◄► Yellow horizontal arrows = Flat/sideways momentum
- ► Gray right arrow = Just peaked (crossed above overbought)
- ◄ Gray left arrow = Just bottomed (crossed below oversold)
Each timeframe's status appears with its label (e.g., "1m ▲") in a clean, vertically-stacked display using ATR-based spacing to maintain consistent visual appearance regardless of price scale.
Key Features
- ATR-Based Spacing : Uses Average True Range to maintain consistent distances between labels even as chart scale changes
- Multi-Timeframe Analysis: Easily spot divergences and confluences across timeframes (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1D, 1W, 1M, 3M)
- Sensitivity Control: Adjust flat detection sensitivity to filter out noise
- Customisable Appearance: Modify arrow size, vertical spacing, and show/hide timeframe labels
- Overbought/Oversold Detection: Highlights when momentum has peaked or bottomed at extreme levels
- Trading Applications
- Trend Alignment: Quickly identify when multiple timeframes align in the same direction
- Divergence Detection: Spot when shorter timeframes begin to shift against longer ones
- Entry/Exit Timing: Use crossovers of significant timeframes as potential signals
- Market Context: Maintain awareness of the bigger picture while trading shorter timeframes
This indicator doesn't break new ground technically but excels in presenting complex multi-timeframe information in a clean, actionable format — much like a pilot's heads-up display provides critical information at a glance. The ATR-based positioning ensures consistent visibility across different instruments and market conditions.
Great effort has been made for this script to adhere to TradingView's Pine Script house rules and focuses on trader usability rather than introducing novel technical concepts.
Jigga-SectorTrendViewThe Jigga-SectorView script is indicator designed to analyze and visualize sector trends based on given input. Based on input of multiple sector indices, calculates key technical values, and presents a structured summary in a table.
Calculating Sector Strength & Momentum:
For each selected symbol
Step 1 - 52-week lowest low is fetched.
Step 2 - Daily closing price is retrieved.
Step 3 - A crossover between 50-day EMA and 200-day EMA determines trend shifts.
Step 4 - Percentage difference from the identified level is calculated.
Output:
A bottom-right table is created with sector-wise trend insights which shows Symbol name and how much its away from SL in percentage terms.
Hurst-Based Trend Persistence w/Poisson Prediction
---
# **Hurst-Based Trend Persistence w/ Poisson Prediction**
## **Introduction**
The **Hurst-Based Trend Persistence with Poisson Prediction** is a **statistically-driven trend-following oscillator** that provides traders with **a structured approach to identifying trend strength, persistence, and potential reversals**.
This indicator combines:
- **Hurst Exponent Analysis** (to measure how persistent or mean-reverting price action is).
- **Color-Coded Trend Detection** (to highlight bullish and bearish conditions).
- **Poisson-Based Trend Reversal Probability Projection** (to anticipate when a trend is likely to end based on statistical models).
By integrating **fractal market theory (Hurst exponent)** with **Poisson probability distributions**, this indicator gives traders a **probability-weighted view of trend duration** while dynamically adapting to market volatility.
---
## **Simplified Explanation (How to Read the Indicator at a Glance)**
1. **If the oscillator line is going up → The trend is strong.**
2. **If the oscillator line is going down → The trend is weakening.**
3. **If the color shifts from red to green (or vice versa), a trend shift has occurred.**
- **Strong trends can change color without weakening** (meaning a bullish or bearish move can remain powerful even as the trend shifts).
4. **A weakening trend does NOT necessarily mean a reversal is coming.**
- The trend may slow down but continue in the same direction.
5. **A strong trend does NOT guarantee it will last.**
- Even a powerful move can **suddenly reverse**, which is why the **Poisson-based background shading** helps anticipate probabilities of change.
---
## **How to Use the Indicator**
### **1. Understanding the Rolling Hurst-Based Trend Oscillator (Main Line)**
The **oscillator line** is based on the **Hurst exponent (H)**, which quantifies whether price movements are:
- **Trending** (values above 0 → momentum-driven, persistent trends).
- **Mean-reverting** (values below 0 → price action is choppy, likely to revert to the mean).
- **Neutral (Random Walk)** (values around 0 → price behaves like a purely stochastic process).
#### **Interpreting the Oscillator:**
- **H > 0.5 → Persistent Trends:**
- Price moves tend to sustain in one direction for longer periods.
- Example: Strong uptrends in bull markets.
- **H < 0.5 → Mean-Reverting Behavior:**
- Price has a tendency to revert back to its mean.
- Example: Sideways markets or fading momentum.
- **H ≈ 0.5 → Random Walk:**
- No clear trend; price is unpredictable.
A **gray dashed horizontal line at 0** serves as a **baseline**, helping traders quickly assess whether the market is **favoring trends or mean reversion**.
---
### **2. Color-Coded Trend Signal (Visual Confirmation of Trend Shifts)**
The oscillator **changes color** based on **price slope** over the lookback period:
- **🟢 Green → Uptrend (Price Increasing)**
- Price is rising relative to the selected lookback period.
- Suggests sustained bullish pressure.
- **🔴 Red → Downtrend (Price Decreasing)**
- Price is falling relative to the selected lookback period.
- Suggests sustained bearish pressure.
#### **How to Use This in Trading**
✔ **Stay in trends until a color change occurs.**
✔ **Use color changes as confirmation for trend reversals.**
✔ **Avoid counter-trend trades when the oscillator remains strongly colored.**
---
### **3. Poisson-Based Trend Reversal Projection (Anticipating Future Shifts)**
The **shaded orange background** represents a **Poisson-based probability estimation** of when the trend is likely to reverse.
- **Darker Orange = Higher Probability of Trend Reversal**
- **Lighter Orange / No Shade = Low Probability of Immediate Reversal**
💡 **The idea behind this model:**
✔ Trends **don’t last forever**, and their duration follows **statistical patterns**.
✔ By calculating the **average historical trend duration**, the indicator predicts **how likely a trend shift is at any given time**.
✔ The **Poisson probability function** is applied to determine the **expected likelihood of a reversal as time progresses**.
---
## **Mathematical Foundations of the Indicator**
This indicator is based on **two primary statistical models**:
### **1. Hurst Exponent & Trend Persistence (Fractal Market Theory)**
- The **Hurst exponent (H)** measures **autocorrelation** in price movements.
- If past trends **persist**, H will be **above 0.5** (meaning trend-following strategies are favorable).
- If past trends tend to **mean-revert**, H will be **below 0.5** (meaning reversal strategies are more effective).
- The **Rolling Hurst Oscillator** calculates this exponent over a moving window to track real-time trend conditions.
#### **Formula Breakdown (Simplified for Traders)**
The Hurst exponent (H) is derived using the **Rescaled Range (R/S) Analysis**:
\
Where:
- **R** = **Range** (difference between max cumulative deviation and min cumulative deviation).
- **S** = **Standard deviation** of price fluctuations.
- **Lookback** = The number of periods analyzed.
---
### **2. Poisson-Based Trend Reversal Probability (Stochastic Process Modeling)**
The **Poisson process** is a **probabilistic model used for estimating time-based events**, applied here to **predict trend reversals based on past trend durations**.
#### **How It Works**
- The indicator **tracks trend durations** (the time between color changes).
- A **Poisson rate parameter (λ)** is computed as:
\
- The **probability of a reversal at any given time (t)** is estimated using:
\
- **As t increases (trend continues), the probability of reversal rises**.
- The indicator **shades the background based on this probability**, visually displaying the likelihood of a **trend shift**.
---
## **Dynamic Adaptation to Market Conditions**
✔ **Volatility-Adjusted Trend Shifts:**
- A **custom volatility calculation** dynamically adjusts the **minimum trend duration** required before a trend shift is recognized.
- **Higher volatility → Requires longer confirmation before switching trend color.**
- **Lower volatility → Allows faster trend shifts.**
✔ **Adaptive Poisson Weighting:**
- **Recent trends are weighted more heavily** using an exponential decay function:
- **Decay Factor (0.618 by default)** prioritizes **recent intervals** while still considering historical trends.
- This ensures the model adapts to changing market conditions.
---
## **Key Takeaways for Traders**
✅ **Identify Persistent Trends vs. Mean Reversion:**
- Use the oscillator line to determine whether the market favors **trend-following or counter-trend strategies**.
✅ **Visual Trend Confirmation via Color Coding:**
- **Green = Uptrend**, **Red = Downtrend**.
- Trend changes help confirm **entry and exit points**.
✅ **Anticipate Trend Reversals Using Probability Models:**
- The **Poisson projection** provides a **statistical edge** in **timing exits before trends reverse**.
✅ **Adapt to Market Volatility Automatically:**
- Dynamic **volatility scaling** ensures the indicator remains effective in **both high and low volatility environments**.
Happy trading and enjoy!
Momentum Volume Divergence (MVD) EnhancedMomentum Volume Divergence (MVD) Enhanced is a powerful indicator that detects price-momentum divergences and momentum suppression for reversal trading. Optimized for XRP on 1D charts, it features dynamic lookbacks, ATR-adjusted thresholds, and SMA confirmation. Signals include strong divergences (triangles) and suppression warnings (crosses). Includes a detailed user guide—try it out and share your feedback!
Setup: Add to XRP 1D chart with defaults (mom_length_base=8, vol_length_base=10). Signals: Red triangle (sell), Green triangle (buy), Orange cross (bear warning), Yellow cross (bull warning). Confirm with 5-day SMA crossovers. See full guide for details!
Disclaimer: This indicator is for educational purposes only, not financial advice. Trading involves risk—use at your discretion.
Momentum Volume Divergence (MVD) Enhanced Indicator User Guide
Version: Pine Script v6
Designed for: TradingView
Recommended Use: XRP on 1-day (1D) chart
Date: March 18, 2025
Author: Herschel with assistance from Grok 3 (xAI)
Overview
The Momentum Volume Divergence (MVD) Enhanced indicator is a powerful tool for identifying price-momentum divergences and momentum suppression patterns on XRP’s 1-day (1D) chart. Plotted below the price chart, it provides clear visual signals to help traders spot potential reversals and trend shifts.
Purpose
Detect divergences between price and momentum for buy/sell opportunities.
Highlight momentum suppression as warnings of fading trends.
Offer actionable trading signals with intuitive markers.
Indicator Components
Main Plot
Volume-Weighted Momentum (vw_mom): Blue line showing momentum adjusted by volume.
Above 0 = bullish momentum.
Below 0 = bearish momentum.
Zero Line: Gray dashed line at 0, separating bullish/bearish zones.
Key Signals
Strong Bearish Divergence:
Marker: Red triangle at the top.
Meaning: Price makes a higher high, but momentum weakens, confirmed by a drop below the 5-day SMA.
Action: Potential sell/short signal.
Strong Bullish Divergence:
Marker: Green triangle at the bottom.
Meaning: Price makes a lower low, but momentum strengthens, confirmed by a rise above the 5-day SMA.
Action: Potential buy/long signal.
Bearish Suppression:
Marker: Orange cross at the top + red background.
Meaning: Strong bullish momentum with low volume in a volume downtrend, suggesting fading strength.
Action: Warning to avoid longs or exit early.
Bullish Suppression:
Marker: Yellow cross at the bottom + green background.
Meaning: Strong bearish momentum with low volume in a volume uptrend, suggesting fading weakness.
Action: Warning to avoid shorts or exit early.
Debug Plots (Optional)
Volume Ratio: Gray line (volume vs. its MA) vs. yellow line (threshold).
Momentum Threshold: Purple lines (positive/negative momentum cutoffs).
Smoothed Momentum: Orange line (raw momentum).
Confirmation SMA: Purple line (price trend confirmation).
Labels
Text labels (e.g., "Bear Div," "Bull Supp") mark detected patterns.
How to Use the Indicator
Step-by-Step Trading Process
1. Monitor the Chart
Load your XRP 1D chart with the indicator applied.
Observe the blue vw_mom line and signal markers.
2. Spot a Signal
Primary Signals: Look for red triangles (strong_bear) or green triangles (strong_bull).
Warnings: Note orange crosses (suppression_bear) or yellow crosses (suppression_bull).
3. Confirm the Signal
For Strong Bullish Divergence (Buy):
Green triangle appears.
Price closes above the 5-day SMA (purple line) and a recent swing high.
Optional: Volume ratio (gray line) exceeds the threshold (yellow line).
For Strong Bearish Divergence (Sell):
Red triangle appears.
Price closes below the 5-day SMA and a recent swing low.
Optional: Volume ratio (gray line) falls below the threshold (yellow line).
4. Enter the Trade
Long:
Buy at the close of the signal bar.
Stop loss: Below the recent swing low or 2 × ATR(14) below entry.
Short:
Sell/short at the close of the signal bar.
Stop loss: Above the recent swing high or 2 × ATR(14) above entry.
5. Manage the Trade
Take Profit:
Aim for a 2:1 or 3:1 risk-reward ratio (e.g., risk $0.05, target $0.10-$0.15).
Or exit when an opposite suppression signal appears (e.g., orange cross for longs).
Trailing Stop:
Move stop to breakeven after a 1:1 RR move.
Trail using the 5-day SMA or 2 × ATR(14).
Early Exit:
Exit if a suppression signal appears against your position (e.g., suppression_bull while short).
6. Filter Out Noise
Avoid trades if a suppression signal precedes a divergence within 2-3 days.
Optional: Add a 50-day SMA on the price chart:
Longs only if price > 50-SMA.
Shorts only if price < 50-SMA.
Example Trades (XRP 1D)
Bullish Trade
Signal: Green triangle (strong_bull) at $0.55.
Confirmation: Price closes above 5-SMA and $0.57 high.
Entry: Buy at $0.58.
Stop Loss: $0.53 (recent low).
Take Profit: $0.63 (2:1 RR) or exit on suppression_bear.
Outcome: Price hits $0.64, exit at $0.63 for profit.
Bearish Trade
Signal: Red triangle (strong_bear) at $0.70.
Confirmation: Price closes below 5-SMA and $0.68 low.
Entry: Short at $0.67.
Stop Loss: $0.71 (recent high).
Take Profit: $0.62 (2:1 RR) or exit on suppression_bull.
Outcome: Price drops to $0.61, exit at $0.62 for profit.
Tips for Success
Combine with Price Levels:
Use support/resistance zones (e.g., weekly pivots) to confirm entries.
Monitor Volume:
Rising volume (gray line above yellow) strengthens signals.
Adjust Sensitivity:
Too many signals? Increase div_strength_threshold to 0.7.
Too few signals? Decrease to 0.3.
Backtest:
Review 20-30 past signals on XRP 1D to assess performance.
Avoid Choppy Markets:
Skip signals during low volatility (tight price ranges).
Troubleshooting
No Signals:
Lower div_strength_threshold to 0.3 or mom_threshold_base to 0.2.
Check if XRP’s volatility is unusually low.
False Signals:
Increase sma_confirm_length to 7 or add a 50-SMA filter.
Indicator Not Loading:
Ensure the script compiles without errors.
Customization (Optional)
Change Colors: Edit color.* values (e.g., color.red to color.purple).
Add Alerts: Use TradingView’s alert menu for "Strong Bearish Divergence Confirmed," etc.
Test Other Assets: Experiment with BTC or ETH, adjusting inputs as needed.
Disclaimer
This indicator is for educational purposes only and not financial advice. Trading involves risk, and past performance does not guarantee future results. Use at your own discretion.
Setup: Use on XRP 1D with defaults (mom_length_base=8, vol_length_base=10). Signals: Red triangle (sell), Green triangle (buy), Orange cross (bear warning), Yellow cross (bull warning). Confirm with 5-day SMA cross. Stop: 2x ATR(14). Profit: 2:1 RR or suppression exit. Full guide available separately!
Uptrick: Acceleration ShiftsIntroduction
Uptrick: Acceleration Shifts is designed to measure and visualize price momentum shifts by focusing on acceleration —the rate of change in velocity over time. It uses various moving average techniques as a trend filter, providing traders with a clearer perspective on market direction and potential trade entries or exits.
Purpose
The main goal of this indicator is to spot strong momentum changes (accelerations) and confirm them with a chosen trend filter. It attempts to distinguish genuine market moves from noise, helping traders make more informed decisions. The script can also trigger multiple entries (smart pyramiding) within the same trend, if desired.
Overview
By measuring how quickly price velocity changes (acceleration) and comparing it against a smoothed average of itself, this script generates buy or sell signals once the acceleration surpasses a given threshold. A trend filter is added for further validation. Users can choose from multiple smoothing methods and color schemes, and they can optionally enable a small table that displays real-time acceleration values.
Originality and Uniqueness
This script offers an acceleration-based approach, backed by several different moving average choices. The blend of acceleration thresholds, a trend filter, and an optional extra-entry (pyramiding) feature provides a flexible toolkit for various trading styles. The inclusion of multiple color themes and a slope-based coloring of the trend line adds clarity and user customization.
Inputs & Features
1. Acceleration Length (length)
This input determines the number of bars used when calculating velocity. Specifically, the script computes velocity by taking the difference in closing prices over length bars, and then calculates acceleration based on how that velocity changes over an additional length. The default is 14.
2. Trend Filter Length (smoothing)
This sets the lookback period for the chosen trend filter method. The default of 50 results in a moderately smooth trend line. A higher smoothing value will create a slower-moving trend filter.
3. Acceleration Threshold (threshold)
This multiplier determines when acceleration is considered strong enough to trigger a main buy or sell signal. A default value of 2.5 means the current acceleration must exceed 2.5 times the average acceleration before signaling.
4. Smart Pyramiding Strength (pyramidingThreshold)
This lower threshold is used for additional (pyramiding) entries once the main trend has already been identified. For instance, if set to 0.5, the script looks for acceleration crossing ±0.5 times its average acceleration to add extra positions.
5. Max Pyramiding Entries (maxPyramidingEntries)
This sets a limit on how many extra positions can be opened (beyond the first main signal) in a single directional trend. The default of 3 ensures traders do not become overexposed.
6. Show Acceleration Table (showTable)
When enabled, a small table displaying the current acceleration and its average is added to the top-right corner of the chart. This table helps monitor real-time momentum changes.
7. Smart Pyramiding (enablePyramiding)
This toggle decides whether additional entries (buy or sell) will be generated once a main signal is active. If enabled, these extra signals act as filtered entries, only firing when acceleration re-crosses a smaller threshold (pyramidingThreshold). These signals have a '+' next to their signal on the label.
8. Select Color Scheme (selectedColorScheme)
Allows choosing between various pre-coded color themes, such as Default, Emerald, Sapphire, Golden Blaze, Mystic, Monochrome, Pastel, Vibrant, Earth, or Neon. Each theme applies a distinct pair of colors for bullish and bearish conditions.
9. Trend Filter (TrendFilter)
Lets the user pick one of several moving average approaches to determine the prevailing trend. The options include:
Short Term (TEMA)
EWMA
Medium Term (HMA)
Classic (SMA)
Quick Reaction (DEMA)
Each method behaves differently, balancing reactivity and smoothness.
10. Slope Lookback (slopeOffset)
Used to measure the slope of the trend filter over a set number of bars (default is 10). This slope then influences the coloring of the trend filter line, indicating bullish or bearish tilt.
Note: The script refers to this as the "Massive Slope Index," but it effectively serves as a Trend Slope Calculation, measuring how the chosen trend filter changes over a specified period.
11. Alerts for Buy/Sell and Pyramiding Signals
The script includes built-in alert conditions that can be enabled or configured. These alerts trigger whenever the script detects a main Buy or Sell signal, as well as extra (pyramiding) signals if Smart Pyramiding is active. This feature allows traders to receive immediate notifications or automate a trading response.
Calculation Methodology
1. Velocity and Acceleration
Velocity is derived by subtracting the closing price from its value length bars ago. Acceleration is the difference in velocity over an additional length period. This highlights how quickly momentum is shifting.
2. Average Acceleration
The script smooths raw acceleration with a simple moving average (SMA) using the smoothing input. Comparing current acceleration against this average provides a threshold-based signal mechanism.
3. Trend Filter
Users can pick one of five moving average types to form a trend baseline. These range from quick-reacting methods (DEMA, TEMA) to smoother options (SMA, HMA, EWMA). The script checks whether the price is above or below this filter to confirm trend direction.
4. Buy/Sell Logic
A buy occurs when acceleration surpasses avgAcceleration * threshold and price closes above the trend filter. A sell occurs under the opposite conditions. An additional overbought/oversold check (based on a longer SMA) refines these signals further.
When price is considered oversold (i.e., close is below a longer-term SMA), a bullish acceleration signal has a higher likelihood of success because it indicates that the market is attempting to reverse from a lower price region. Conversely, when price is considered overbought (close is above this longer-term SMA), a bearish acceleration signal is more likely to be valid. This helps reduce false signals by waiting until the market is extended enough that a reversal or continuation has a stronger chance of following through.
5. Smart Pyramiding
Once a main buy or sell signal is triggered, additional (filtered) entries can be taken if acceleration crosses a smaller multiplier (pyramidingThreshold). This helps traders scale into strong moves. The script enforces a cap (maxPyramidingEntries) to limit risk.
6. Visual Elements
Candles can be recolored based on the active signal. Labels appear on the chart whenever a main or pyramiding entry signal is triggered. An optional table can show real-time acceleration values.
Color Schemes
The script includes a variety of predefined color themes. For bullish conditions, it might use turquoise or green, and for bearish conditions, magenta or red—depending on which color scheme the user selects. Each scheme aims to provide clear visual differentiation between bullish and bearish market states.
Why Each Indicator Was Part of This Component
Acceleration is employed to detect swift changes in momentum, capturing shifts that may not yet appear in more traditional measures. To further adapt to different trading styles and market conditions, several moving average methods are incorporated:
• TEMA (Triple Exponential Moving Average) is chosen for its ability to reduce lag more effectively than a standard EMA while still reacting swiftly to price changes. Its construction layers exponential smoothing in a way that can highlight sudden momentum shifts without sacrificing too much smoothness.
• DEMA (Double Exponential Moving Average) provides a faster response than a single EMA by using two layers of exponential smoothing. It is slightly less smoothed than TEMA but can alert traders to momentum changes earlier, though with a higher risk of noise in choppier markets.
• HMA (Hull Moving Average) is known for its balance of smoothness and reduced lag. Its weighted calculations help track trend direction clearly, making it useful for traders who want a smoother line that still reacts fairly quickly.
• SMA (Simple Moving Average) is the classic baseline for smoothing price data. It offers a clear, stable perspective on long-term trends, though it reacts more slowly than other methods. Its simplicity can be beneficial in lower-volatility or more stable market environments.
• EWMA (Exponentially Weighted Moving Average) provides a middle ground by emphasizing recent price data while still retaining some degree of smoothing. It typically responds faster than an SMA but is less aggressive than DEMA or TEMA.
Alongside these moving average techniques, the script employs a slope calculation (referred to as the “Massive Slope Index”) to visually indicate whether the chosen filter is sloping upward or downward. This adds an extra layer of clarity to directional analysis. The indicator also uses overbought/oversold checks, based on a longer-term SMA, to help filter out signals in overstretched markets—reducing the likelihood of false entries in conditions where the price is already extensively extended.
Additional Features
Alerts can be set up for both main signals and additional pyramiding signals, which is helpful for automated or semi-automated trading. The optional acceleration table offers quick reference values, making momentum monitoring more intuitive. Including explicit alert conditions for Buy/Sell and Pyramiding ensures traders can respond promptly to market movements or integrate these triggers into automated strategies.
Summary
This script serves as a comprehensive momentum-based trading framework, leveraging acceleration metrics and multiple moving average filters to identify potential shifts in market direction. By combining overbought/oversold checks with threshold-based triggers, it aims to reduce the noise that commonly plagues purely reactive indicators. The flexibility of Smart Pyramiding, customizable color schemes, and built-in alerts allows users to tailor their experience and respond swiftly to valid signals, potentially enhancing trading decisions across various market conditions.
Disclaimer
All trading involves significant risk, and users should apply their own judgment, risk management, and broader analysis before making investment decisions.