buy sell ultra systemWhat it is
EMA-POC Momentum System Ultra combines a proven trend stack (EMA 20/50/238), a price-of-control layer (POC via Bar-POC or VWAP alternative), and a momentum trigger (RSI) to surface higher-quality entries only when multiple, independent conditions align. This is not a cosmetic mashup; each component gates the others.
How components work together
Trend (EMA 20/50/238): Defines short/medium/long bias and filters counter-trend signals.
POC (Bar-POC or Alt-POC/VWAP): Locates the most-traded/weighted price area; a neutral band around POC helps avoid chop.
Control background: Above POC → buyers likely in control; below → sellers.
Momentum (RSI): Entry arrows print only when RSI confirms with trend and price location vs POC; optional “cross 50” requirement reduces noise.
Optional HTF trend: Confluence with a higher-timeframe EMA stack for stricter filtering.
Why it’s original/useful
Signals require confluence of (1) EMA trend stack, (2) POC location and neutral-zone filtering, (3) momentum confirmation, (4) optional slope and distance-to-POC checks, and (5) optional HTF trend. This reduces false positives compared with using any layer in isolation.
How to use
Markets/TFs: Built for XAUUSD (Gold) and US30. Works 1m–1h for intraday; 2h–4h for swing.
Entries:
Long: EMA stack bullish, price above POC, not in neutral band, RSI condition true → “Buy” arrow.
Short: Opposite conditions → “Sell” arrow.
Stops/Targets (suggested):
Initial stop beyond POC/neutral band or recent swing.
First target around 1R; trail with EMA20/50 or structure breaks.
Settings to tune:
POC Mode: Bar-POC (highest-volume bar’s close over lookback) or Alt-POC (VWAP).
Neutral Band %: 0.10–0.35 typical intraday.
Min distance from POC: 0.10–0.50% helps avoid low-RR entries right at POC.
RSI: Choose “cross 50” for stricter triggers or simple >/< 50 for more signals.
HTF trend: Turn on for extra confluence.
Alerts:
Buy Signal and Sell Signal (separate), or one Combined Buy/Sell alert.
Set to “Once per bar close” if you want only confirmed arrows.
Repainting / limitations
Shapes can move until bar close (standard Pine behavior) when using intrabar conditions; final confirmation at close. No system guarantees profitability—forward test and adapt to your market/instrument.
Clean chart
The published chart contains only this script so outputs are easy to identify.
Versions / updates
Use Publish → Update for minor changes; do not create new publications for small tweaks. If you fork to preserve older behavior, explain why and how your fork differs.
Changelog
v1.1 – Tuning for Gold/US30, neutral-band & distance filters, optional HTF trend, combined alert.
v1.0 – Initial public release (EMA stack + POC modes + RSI + alerts).
License & credits
Open-source for learning and improvement. Please credit on forks and explain modifications in your description.
모멘텀 인디케이터 (MOM)
Momentum Index [BigBeluga]The Momentum Index is an innovative indicator designed to measure the momentum of price action by analyzing the distribution of positive and negative momentum values over a defined period. By incorporating delta-based calculations and smoothing techniques, it provides traders with a clear and actionable representation of market momentum dynamics.
🔵 Key Features:
Delta-Based Momentum Analysis:
Calculates the momentum of price by comparing its current state to its value from a defined number of bars back.
Inside a loop, it evaluates whether momentum values are above or below zero, producing a delta value that reflects the net momentum direction and intensity.
Double EMA Smoothing:
Smooths the raw delta-based momentum values with a double EMA filter, reducing noise and providing a clearer trend signal.
tmi(len) =>
sum = 0.0
sum1 = 0.0
above = 0.0
below = 0.0
src_ = src - src
for i = 0 to len
sum := sum + (src_ > nz(src_ ) ? 1 : -1)
sum1 := sum1 + (sum > 0 ? 1 : -1)
sum1 := emaEma(sum1, 10)
for i = 1 to len
above := above + (sum1 > 0 ? 1 : 0)
below := below + (sum1 > 0 ? 0 : 1)
Directional Momentum Signals:
Generates momentum shift signals and displays them on both the oscillator and the main chart:
- △ Aqua Triangles: Represent upward momentum shifts.
- ▽ Red Triangles: Represent downward momentum shifts.
Dynamic Gradient Display:
Highlights momentum zones with gradient fills:
- Aqua shades for positive momentum (above zero).
- Red shades for negative momentum (below zero).
Dashboard Display:
A dashboard summarizing the count of momentum values above and below zero for the defined period (Sentiment Length e.g. 100), helping traders assess market sentiment at a glance.
🔵 How It Works:
The indicator takes price momentum as its source and evaluates the number of momentum values above and below zero within a defined period.
The delta calculation aggregates this information, providing a net representation of the prevailing market momentum.
A double EMA filter is applied to the delta values, smoothing the momentum line and enhancing signal clarity.
Momentum shifts are highlighted with visual signals on the oscillator and price chart, while the gradient display provides a visual representation of intensity.
🔵 Use Cases:
Momentum Tracking: Identify whether market momentum is predominantly bullish or bearish.
Signal Confirmation: Use chart-based signals to confirm potential trend reversals or continuation.
Analyze Market Strength: Leverage the dashboard to quickly assess the distribution of momentum over the chosen period.
Overbought/Oversold Conditions: Utilize gradient zones to detect areas of momentum extremes and possible price exhaustion.
Momentum Index offers a refined approach to analyzing momentum dynamics, combining delta-based calculations with smoothing techniques and intuitive visuals, making it an essential tool for traders looking to anticipate market movements effectively.
POC Migration Velocity (POC-MV) [PhenLabs]📊POC Migration Velocity (POC-MV)
Version: PineScript™v6
📌Description
The POC Migration Velocity indicator revolutionizes market structure analysis by tracking the movement, speed, and acceleration of Point of Control (POC) levels in real-time. This tool combines sophisticated volume distribution estimation with velocity calculations to reveal hidden market dynamics that conventional indicators miss.
POC-MV provides traders with unprecedented insight into volume-based price movement patterns, enabling the early identification of continuation and exhaustion signals before they become apparent to the broader market. By measuring how quickly and consistently the POC migrates across price levels, traders gain early warning signals for significant market shifts and can position themselves advantageously.
The indicator employs advanced algorithms to estimate intra-bar volume distribution without requiring lower timeframe data, making it accessible across all chart timeframes while maintaining sophisticated analytical capabilities.
🚀Points of Innovation
Micro-POC calculation using advanced OHLC-based volume distribution estimation
Real-time velocity and acceleration tracking normalized by ATR for cross-market consistency
Persistence scoring system that quantifies directional consistency over multiple periods
Multi-signal detection combining continuation patterns, exhaustion signals, and gap alerts
Dynamic color-coded visualization system with intensity-based feedback
Comprehensive customization options for resolution, periods, and thresholds
🔧Core Components
POC Calculation Engine: Estimates volume distribution within each bar using configurable price bands and sophisticated weighting algorithms
Velocity Measurement System: Tracks the rate of POC movement over customizable lookback periods with ATR normalization
Acceleration Calculator: Measures the rate of change of velocity to identify momentum shifts in POC migration
Persistence Analyzer: Quantifies how consistently POC moves in the same direction using exponential weighting
Signal Detection Framework: Combines trend analysis, velocity thresholds, and persistence requirements for signal generation
Visual Rendering System: Provides dynamic color-coded lines and heat ribbons based on velocity and price-POC relationships
🔥Key Features
Real-time POC calculation with 10-100 configurable price bands for optimal precision
Velocity tracking with customizable lookback periods from 5 to 50 bars
Acceleration measurement for detecting momentum changes in POC movement
Persistence scoring to validate signal strength and filter false signals
Dynamic visual feedback with blue/orange color scheme indicating bullish/bearish conditions
Comprehensive alert system for continuation patterns, exhaustion signals, and POC gaps
Adjustable information table displaying real-time metrics and current signals
Heat ribbon visualization showing price-POC relationship intensity
Multiple threshold settings for customizing signal sensitivity
Export capability for use with separate panel indicators
🎨Visualization
POC Connecting Lines: Color-coded lines showing POC levels with intensity based on velocity magnitude
Heat Ribbon: Dynamic colored ribbon around price showing POC-price basis intensity
Signal Markers: Clear exhaustion top/bottom signals with labeled shapes
Information Table: Real-time display of POC value, velocity, acceleration, basis, persistence, and current signal status
Color Gradients: Blue gradients for bullish conditions, orange gradients for bearish conditions
📖Usage Guidelines
POC Calculation Settings
POC Resolution (Price Bands): Default 20, Range 10-100. Controls the number of price bands used to estimate volume distribution within each bar
Volume Weight Factor: Default 0.7, Range 0.1-1.0. Adjusts the influence of volume in POC calculation
POC Smoothing: Default 3, Range 1-10. EMA smoothing period applied to the calculated POC to reduce noise
Velocity Settings
Velocity Lookback Period: Default 14, Range 5-50. Number of bars used to calculate POC velocity
Acceleration Period: Default 7, Range 3-20. Period for calculating POC acceleration
Velocity Significance Threshold: Default 0.5, Range 0.1-2.0. Minimum normalized velocity for continuation signals
Persistence Settings
Persistence Lookback: Default 5, Range 3-20. Number of bars examined for persistence score calculation
Persistence Threshold: Default 0.7, Range 0.5-1.0. Minimum persistence score required for continuation signals
Visual Settings
Show POC Connecting Lines: Toggle display of colored lines connecting POC levels
Show Heat Ribbon: Toggle display of colored ribbon showing POC-price relationship
Ribbon Transparency: Default 70, Range 0-100. Controls transparency level of heat ribbon
Alert Settings
Enable Continuation Alerts: Toggle alerts for continuation pattern detection
Enable Exhaustion Alerts: Toggle alerts for exhaustion pattern detection
Enable POC Gap Alerts: Toggle alerts for significant POC gaps
Gap Threshold: Default 2.0 ATR, Range 0.5-5.0. Minimum gap size to trigger alerts
✅Best Use Cases
Identifying trend continuation opportunities when POC velocity aligns with price direction
Spotting potential reversal points through exhaustion pattern detection
Confirming breakout validity by monitoring POC gap behavior
Adding volume-based context to traditional technical analysis
Managing position sizing based on POC-price basis strength
⚠️Limitations
POC calculations are estimations based on OHLC data, not true tick-by-tick volume distribution
Effectiveness may vary in low-volume or highly volatile market conditions
Requires complementary analysis tools for complete trading decisions
Signal frequency may be lower in ranging markets compared to trending conditions
Performance optimization needed for very short timeframes below 1-minute
💡What Makes This Unique
Advanced Estimation Algorithm: Sophisticated method for calculating POC without requiring lower timeframe data
Velocity-Based Analysis: Focus on POC movement dynamics rather than static levels
Comprehensive Signal Framework: Integration of continuation, exhaustion, and gap detection in one indicator
Dynamic Visual Feedback: Intensity-based color coding that adapts to market conditions
Persistence Validation: Unique scoring system to filter signals based on directional consistency
🔬How It Works
Volume Distribution Estimation:
Divides each bar into configurable price bands for volume analysis
Applies sophisticated weighting based on OHLC relationships and proximity to close
Identifies the price level with maximum estimated volume as the POC
Velocity and Acceleration Calculation:
Measures POC rate of change over specified lookback periods
Normalizes values using ATR for consistent cross-market performance
Calculates acceleration as the rate of change of velocity
Signal Generation Process:
Combines trend direction analysis using EMA crossovers
Applies velocity and persistence thresholds to filter signals
Generates continuation, exhaustion, and gap alerts based on specific criteria
💡Note:
This indicator provides estimated POC calculations based on available OHLC data and should be used in conjunction with other analysis methods. The velocity-based approach offers unique insights into market structure dynamics but requires proper risk management and complementary analysis for optimal trading decisions.
Dual-BB SuperTrend - by Trading Pine Lab🇬🇧
The Dual-BB SuperTrend is a fusion strategy that builds a BBTrend oscillator from two Bollinger Bands (short & long lookbacks) and then runs a SuperTrend over that oscillator to time entries and exits. The BBTrend captures expansion/contraction between the two bands (structural momentum), while the SuperTrend converts that flow into clear directional flips.
Entries occur on SuperTrend direction flips over the BBTrend series (Long when ST turns bullish, Short when it turns bearish). Optional percentage TP/SL can be applied on top. The chart includes a blue/orange theme for the BBTrend histogram with a subtle glow around the zero line, and BUY/SELL label markers with arrows for clean visual confirmation.
All parameters are fully configurable:
-Trading direction filter: Long / Short / Both.
-Bollinger settings: short length, long length, standard-deviation multiplier.
-SuperTrend over BBTrend: length and ATR factor, contrarian labels toggle, bull/bear colors.
-Risk controls: Take-Profit % and Stop-Loss % with TP/SL/Both/None mode.
-Visualization: BBTrend column colors (blue/orange, strong/weak), zero-line glow, BUY/SELL label styling.
Bull-Bear Power ZScore - by Trading Pine Lab🇬🇧
The Bull-Bear Power ZScore Strategy is an advanced trading framework that integrates Bull-Bear Power (BBP) with a statistical Z-Score model.
BBP measures the relative strength of buyers vs. sellers against an EMA baseline, while the Z-Score standardizes this relationship to detect statistically significant breakouts.
This dual-layer approach provides early trend detection while reducing noise from raw momentum signals.
Entries are triggered when the Z-Score crosses above or below its threshold (long above +T, short below –T). Exits occur when the Z-Score crosses back to zero, ensuring trades close when momentum fades.
A dynamic multi-level take-profit system is integrated, using ATR-based targets (TP1, TP2, TP3) that automatically adapt to **volume context** (high/medium/low) and **percentile analysis** (distribution of price and volume).
This ensures profit targets stretch in strong environments and tighten in weaker conditions, optimizing both risk and reward.
All parameters are fully configurable:
-Bull-Bear Power Settings: EMA length, Z-Score length, Z-Score threshold.
-Take Profit Settings: enable/disable TP system, ATR period, TP1–TP3 multipliers, TP1–TP3 position sizes.
-Volume Analysis: volume MA period, high/medium/low multipliers, adjustment factors.
-Percentile Analysis: percentile lookback period, high/medium/low thresholds, adjustment factors.
3 SMA + RSI + MACD + MTF Ultimate Dashboard🎯 Overview:
High-precision trading indicator combining trend, momentum, and multi-timeframe confirmation for reliable buy/sell signals in Forex, Crypto, and other markets.
🔹 Core Features:
📈 3 SMAs (7/25/99) – Short, Medium & Long-term trend detection
⚡ RSI Filter – Avoid weak signals (Buy >55 / Sell <45)
💎 MACD with Threshold – Reduce false crossovers
⏱️ Multi-Timeframe Trend (H4) – Confirm overall market direction
✅ Dashboard & Signals:
🟢 Clear Buy & Sell arrows on chart
📊 Live dashboard showing filter status & total signals
🔔 Audio & Push Alerts – Mobile/Desktop/Webhook
💎 Benefits:
⚡ Minimizes false signals
📈 Works on M15, H1, H4, Daily
🎯 Combines trend, momentum, and confirmation filters in one dashboard
⚠️ Note: Signals are generated only after candle close for maximum reliability.
3 SMA + RSI + MACD + MTF Ultimate Dashboard🎯 Overview:
High-precision trading indicator combining trend, momentum, and multi-timeframe confirmation for reliable buy/sell signals in Forex, Crypto, and other markets.
🔹 Core Features:
📈 3 SMAs (7/25/99) – Short, Medium & Long-term trend detection
⚡ RSI Filter – Avoid weak signals (Buy >55 / Sell <45)
💎 MACD with Threshold – Reduce false crossovers
⏱️ Multi-Timeframe Trend (H4) – Confirm overall market direction
✅ Dashboard & Signals:
🟢 Clear Buy & Sell arrows on chart
📊 Live dashboard showing filter status & total signals
🔔 Audio & Push Alerts – Mobile/Desktop/Webhook
💎 Benefits:
⚡ Minimizes false signals
📈 Works on M15, H1, H4, Daily
🎯 Combines trend, momentum, and confirmation filters in one dashboard
⚠️ Note: Signals are generated only after candle close for maximum reliability.
SMI Ergodic Dual Pro [Point Algo]Overview
This indicator is designed to provide traders with a structured approach to analyzing price action using custom-drawn pro lines. It aims to help identify potential support and resistance zones, trend direction, and possible trading opportunities. The tool is built to assist in decision-making, not to guarantee profitable outcomes.
Features
• Custom pro lines highlighting potential key market levels.
• Trend direction assistance for better clarity.
• Works across multiple timeframes.
• Easy-to-use interface suitable for both beginners and experienced traders.
• Non-repainting signals for reliability.
How It’s Used
Traders can apply the indicator to their charts to:
• Identify potential reversal zones.
• Confirm market structure with pro lines.
• Enhance trading strategies with clearer entry and exit zones.
• Use in combination with other technical analysis tools for better accuracy.
Conclusion
This indicator is a supportive tool designed to improve market analysis. It should be used as part of a broader trading plan and not as a standalone buy/sell signal generator. Results may vary based on individual strategies and market conditions.
Disclaimer
This script is for educational and informational purposes only. It is not financial advice. Trading involves risk, and past performance does not guarantee future results. The developer of this indicator is not responsible for any financial losses that may occur from its use.
The IndicatorThe Indicator is a real-time, near zero-lag momentum tool. It shows when the market is Balanced, Bullish or Bearish. The signals are not buy or sell prints but are instead visuals for underlying strength.
The Indicator is powered by two engines that work in tandem. The first is the Bias Engine. It continuously evaluates 25+ factors to show whether the market is Bullish (green), Bearish (red), or Balanced (orange). This bias is displayed directly on the EMA line and is always active — it’s the foundation of the system.
The second is the Heatmap Engine. It reacts to shifts in buying and selling pressure, painting bars green, red, or orange to show who has control in real time. Users can adjust the sensitivity to see fast reactions (Aggressive), a steady middle ground (Balanced), or only stronger moves (Strict).
The Momentum Core, which is on by default, combines both engines into one. By blending the Bias Engine with the Heatmap, it delivers a faster, clearer output that highlights conviction as soon as it appears. This helps you see not just direction, but the moment momentum truly takes over.
“The engines use a series of colors to display market bias. GREEN = Bullish bias, RED = Bearish bias, ORANGE = Balanced bias. It is important to expect more noise in a Balanced zone. The Indicator does the heavy lifting by processing 25+ factors in real time, so you don’t have to guess what side has control. Instead of juggling multiple indicators or signals, you get a single, unified read of momentum as it’s happening.”
Persistence# Persistence
## What it does
Measures **price change persistence**, defined as the percentage of bars within a lookback window that closed higher than the prior close. A high value means the instrument has been closing up frequently, which can indicate durable momentum. This mirrors Stockbee’s idea: *select stocks with high price change persistence*, and then combine **momentum plus persistence**.
## Can be used for scanning in PineScreener
## Calculation
* `isUp` is true when `close > close `.
* `countUp` counts true instances over the last `len` bars.
* `pctUp = 100 * countUp / len`, bounded between 0 and 100.
* A 50% level is a natural baseline. Above 50% suggests more up closes than down closes in the window.
## Inputs
* **Lookback bars (`len`)**: default 252 for roughly one trading year on a daily chart. On weekly charts use something like 52, on monthly charts use 12.
## How to use
1. **Screen for persistence**
Sort a watchlist by the plotted value, higher is better. Many momentum traders start looking above 58 to 65 percent, then layer a trend filter.
2. **Combine with momentum**
Examples, pick tickers with:
* `pctUp > 60`, and price above a rising EMA50 or EMA100.
* `pctUp rising` and weekly ROC positive.
3. **Switch timeframe to change the horizon**
* Daily chart with `len = 252` approximates one year.
* Weekly chart with `len = 52` approximates one year.
* Monthly chart with `len = 12` approximates one year.
## TC2000 equivalence
Stockbee’s TC2000 expression:
```
CountTrue(c > c1, 252)
```
## Interpretation guide
* **70 to 90**: very strong persistence; often trend leaders, check for extensions and risk controls.
* **60 to 70**: constructive persistence; good hunting ground for swing setups that also pass momentum filters.
* **50**: neutral baseline; around random up vs down frequency.
* **Below 50**: persistent weakness; consider only for mean reversion or short strategies.
## Practical tips
* **Event effects**: ex-dividend gaps can reduce persistence on high yield names. Earnings gaps can swing the value sharply.
* **Survivorship bias**: when backtesting on curated lists, persistence can look cleaner than in live scans.
* **Liquidity**: thin names may show noisy persistence due to erratic prints.
## Reference to Stockbee
* “One way to select stocks for swing trading is to find those with high price change persistence.”
* “Persistence can be calculated on a daily, monthly, or weekly timeframe.”
* TC2000 function: `CountTrue(c > c1, 252)`
* Example noted in the tweet: CVNA had very high one-year price persistence at the time of that post.
* Takeaway: **look for momentum plus persistence**, not persistence alone.
ForecastForecast (FC), indicator documentation
Type: Study, not a strategy
Primary timeframe: 1D chart, most plots and the on-chart table only render on daily bars
Inspiration: Robert Carver’s “forecast” concept from Advanced Futures Trading Strategies, using normalized, capped signals for comparability across markets
⸻
What the indicator does
FC builds a volatility-normalized momentum forecast for a chosen symbol, optionally versus a benchmark. It combines an EWMAC composite with a channel breakout composite, then caps the result to a common scale. You can run it in three data modes:
• Absolute: Forecast of the selected symbol
• Relative: Forecast of the ratio symbol / benchmark
• Combined: Average of Absolute and Relative
A compact table can summarize the current forecast, short-term direction on the forecast EMAs, correlation versus the benchmark, and ATR-scaled distances to common price EMAs.
⸻
PineScreener, relative-strength screening
This indicator is excellent for screening on relative strength in PineScreener, since the forecast is volatility-normalized and capped on a common scale.
Available PineScreener columns
PineScreener reads the plotted series. You will see at least these columns:
• FC, the capped forecast
• from EMA20, (price − EMA20) / ATR in ATR multiples
• from EMA50, (price − EMA50) / ATR in ATR multiples
• ATR, ATR as a percent of price
• Corr, weekly correlation with the chosen benchmark
Relative mode and Combined mode are recommended for cross-sectional screens. In Relative mode the calculation uses symbol / benchmark, so ensure the ratio ticker exists for your data source.
⸻
How it works, step by step
1. Volatility model
Compute exponentially weighted mean and variance of daily percent returns on D, annualize, optionally blend with a long lookback using 10y %, then convert to a price-scaled sigma.
2. EWMAC momentum, three legs
Daily legs: EMA(8) − EMA(32), EMA(16) − EMA(64), EMA(32) − EMA(128).
Divide by price-scaled sigma, multiply by leg scalars, cap to Cap = 20, average, then apply a small FDM factor.
3. Breakout momentum, three channels
Smoothed position inside 40, 80, and 160 day channels, each scaled, then averaged.
4. Composite forecast
Average the EWMAC composite and the breakout composite, then cap to ±20.
Relative mode runs the same logic on symbol / benchmark.
Combined mode averages Absolute and Relative composites.
5. Weekly correlation
Pearson correlation between weekly closes of the asset and the benchmark over a user-set length.
6. Direction overlay
Two EMAs on the forecast series plus optional green or red background by sign, and optional horizontal level shading around 0, ±5, ±10, ±15, ±20.
⸻
Plots
• FC, capped forecast on the daily chart
• 8-32 Abs, 8-32 Rel, single-leg EWMAC plus breakout view
• 8-32-128 Abs, 8-32-128 Rel, three-leg composite views
• from EMA20, from EMA50, (price − EMA) / ATR
• ATR, ATR as a percent of price
• Corr, weekly correlation with the benchmark
• Forecast EMA1 and EMA2, EMAs of the forecast with an optional fill
• Backgrounds and guide lines, optional sign-based background, optional 0, ±5, ±10, ±15, ±20 guides
Most plots and the table are gated by timeframe.isdaily. Set the chart to 1D to see them.
⸻
Inputs
Symbol selection
• Absolute, Relative, Combined
• Vs. benchmark for Relative mode and correlation, choices: SPY, QQQ, XLE, GLD
• Ticker or Freeform, for Freeform use full TradingView notation, for example NASDAQ:AAPL
Engine selection
• Include:
• 8-32-128, three EWMAC legs plus three breakouts
• 8-32, simplified view based on the 8-32 leg plus a 40-day breakout
EMA, applied to the forecast
• EMA1, EMA2, with line-width controls, plus color and opacity
Volatility
• Span, EW volatility span for daily returns
• 10y %, blend of long-run volatility
• Thresh, Too volatile, placeholders in this version
Background
• Horizontal bg, level shading, enabled by default
• Long BG, Hedge BG, colors and opacities
Show
• Table, Header, Direction, Gain, Extension
• Corr, Length for correlation row
Table settings
• Position, background, opacity, text size, text color
Lines
• 0-lines, 10-lines, 5-lines, level guides
⸻
Reading the outputs
• Forecast > 0, bullish tilt; Forecast < 0, bearish or hedge tilt
• ±10 and ±20 indicate strength on a uniform scale
• EMA1 vs EMA2 on the forecast, EMA1 above EMA2 suggests improving momentum
• Table rows, label colored by sign, current forecast value plus a green or red dot for the forecast EMA cross, optional daily return percent, weekly correlation, and ATR-scaled EMA9, EMA20, EMA50 distances
⸻
Data handling, repainting, and performance
• Daily and weekly series are fetched with request.security().
• Calculations use closed bars, values can update until the bar closes.
• No lookahead, historical values do not repaint.
• Weekly correlation updates during the week, it finalizes on weekly close.
• On intraday charts most visuals are hidden by design.
⸻
Good practice and limitations
• This is a research indicator, not a trading system.
• The fixed Cap = 20 keeps a common scale, extreme moves will be clipped.
• Relative mode depends on the ratio symbol / benchmark, ensure both legs have data for your feed.
⸻
Credits
Concept inspired by Robert Carver’s forecast methodology in Advanced Futures Trading Strategies. Implementation details, parameters, and visuals are specific to this script.
⸻
Changelog
• First version
⸻
Disclaimer
For education and research only, not financial advice. Always test on your market and data feed, consider costs and slippage before using any indicator in live decisions.
Dynamic Momentum Oscillator with Adaptive ThresholdsDynamic Momentum Oscillator with Adaptive Thresholds (DMO-AT)
This advanced indicator is designed to provide traders with a robust tool for identifying momentum shifts, overbought/oversold conditions, and potential reversals in any market. Unlike traditional oscillators with fixed thresholds, DMO-AT uses adaptive levels that adjust based on current volatility (via ATR) and incorporates volume weighting for more accurate signals in high-volume environments.
#### Key Features:
- **Momentum Calculation**: A normalized momentum value derived from price changes, optionally weighted by volume for enhanced sensitivity.
- **Adaptive Thresholds**: Overbought and oversold levels dynamically adjust using ATR, making the indicator adaptable to volatile or ranging markets.
- **Signal Line**: An EMA of the momentum for crossover signals, helping confirm trend directions.
- **Divergence Detection**: Built-in alerts for bullish and bearish divergences between price and momentum.
- **Visual Enhancements**: Background coloring for quick zone identification, dashed static lines for reference, and a customizable stats table displaying real-time values.
- **Alerts**: Multiple alert conditions for crossovers, zone entries, and divergences to keep you notified without constant chart watching.
#### How to Use:
1. Add the indicator to your chart via TradingView's indicator search.
2. Customize inputs: Adjust the momentum length, source, ATR length, and threshold multiplier to fit your trading style (e.g., shorter lengths for scalping, longer for swing trading).
3. Interpret Signals:
- **Crossover**: Momentum crossing above the signal line suggests bullish momentum; below indicates bearish.
- **Zones**: Entering the overbought (red) zone may signal a potential sell; oversold (green) for buys.
- **Divergences**: Use alerts to spot hidden opportunities where price and momentum disagree.
4. Combine with other tools like moving averages or support/resistance for confluence.
5. Enable the stats table for at-a-glance insights on the chart.
This indicator is versatile across timeframes and assets, from stocks to crypto. It's optimized for clarity and performance, with no repainting.
MACD Lissé Smoothed MACD – Custom Indicator
This indicator is an enhanced version of the classic MACD, designed to balance responsiveness and noise reduction. It uses a short HMA (Hull Moving Average) smoothing to track price movements faster while keeping the signal smooth.
Key Features:
HMA-Smoothed MACD: Tracks trends with less lag than a standard MACD.
Signal Line: A simple EMA applied to the smoothed MACD to identify crossovers and generate buy/sell signals.
Filtered Histogram: Shows the difference between the smoothed MACD and its signal line, with an optional threshold to focus on meaningful movements and reduce visual noise.
Customizable Parameters:
Fast EMA Length and Slow EMA Length to adjust the classic MACD
HMA MACD Smoothing for faster or smoother MACD response
Signal Smoothing to fine-tune the signal line
Histogram Threshold to filter small movements and reduce noise
This indicator is ideal for traders who want a MACD that is responsive but not ultra-smoothed, perfect for spotting trend changes quickly without being overwhelmed by minor price fluctuations.
Colors and Display:
Smoothed MACD: Blue
Signal Line: Orange
Histogram: Green (positive) / Red (negative)
SAR Oscillator [Bellsz]Converts Parabolic SAR into a normalized oscillator with crossover signals, gradient fills, and trend strength levels. A cleaner way to read SAR momentum. Making it easier to read momentum shifts, trend strength, and reversals directly in the sub-chart. Instead of dots on price only, this tool converts SAR dynamics into a smooth oscillator that highlights bias and turning points.
What it shows
Normalized Price Line — scaled view of price relative to SAR.
Normalized SAR Line — SAR value normalized across the high/low range.
SAR Dots — visual cue when crossovers occur (potential reversal or trend acceleration).
Gradient Fill — color-coded background for quick read of momentum direction/intensity.
Guide Levels — ±50 baseline to track trend strength and overextension.
Why use it
Converts SAR into an oscillator format, easier to compare across instruments & timeframes.
Highlights momentum shifts early (crossovers, gradient flips).
Adds structure with gradient fill and baselines, making SAR more actionable than standard dot plots.
Works as a trend bias filter or confirmation tool alongside other indicators.
Inputs
Acceleration / Increment / Maximum — adjust SAR sensitivity.
Custom Colors — choose your scheme for price, SAR, and gradients.
Best practices
Use on intraday or swing TFs as a trend bias filter.
Look for Normalized Price crossing Normalized SAR as potential entry signals.
Watch how SAR dots cluster near ±100 for exhaustion or reversal signals.
Notes
This is a visual enhancement of SAR; it does not repaint.
Combine with volume, FVGs, or session models for added context.
SMT - Squeeze Momentum Trend📊 Squeeze Momentum Trend
An indicator that combines volatility, momentum, and trend to anticipate the market’s strongest moves. 🚀
✅ Squeeze → when Bollinger Bands tighten inside the Keltner Channel: the market is in compression, ready to “explode”.
✅ Momentum → shows direction and strength (green = bullish push, red = bearish push).
✅ Trend Filter → confirms direction using a higher timeframe EMA (to avoid false signals).
💡 In practice:
🔥 If price breaks out of a squeeze with positive momentum → potential long breakout.
❄️ If it breaks out with negative momentum → potential short breakout.
📌 Perfect for spotting key moments when the market stops “resting” and makes its next big move.
Momentum CrossThis indicator tracks momentum shifts using a 3-period EMA crossing above or below an 8-period EMA. It's simple, and quite effective as a momentum confirmation signal.
Signals:
Cyan circles below bars - Bullish momentum (3 EMA crosses above 8 EMA)
Red circles above bars - Bearish momentum (3 EMA crosses below 8 EMA)
Setups to Use:
V-Shaped Reversals: When price hits major support/resistance and shows rejection, the momentum cross confirms whether the reversal has legs or not. Helps separate real bounces from dead cat bounces.
One-Two Punch Pattern: My favorite high-probability setup: Initial cross shows momentum shifting, counter-move gets rejected quickly, second cross in original direction with follow-through.
Opening Range Breakout Confirmation: Use momentum crosses to confirm pullbacks or retests to key levels after opening range breakouts. The cross timing shows when the retest is holding and momentum is resuming in the breakout direction.
Fibonacci Support/Resistance: Momentum crosses at key Fibonacci levels (38.2%, 50%, 61.8%, 1.272%, and 1.618%) help confirm whether the level will hold or break. Particularly useful for timing entries at these widely-watched levels.
Settings:
Default 3/8 EMAs work well for most situations. Faster settings (2/5) for active markets, slower (5/13) for cleaner signals in strong trends.
Notes:
This works best when combined with key levels, volume, and market context. The cross timing is what matters - it shows when momentum is actually shifting, not just when price bounces.
RRG Relative Strength# RRG Relative Strength (RRG RS)
Compare any symbol to a benchmark using two RRG-style lines: **RS-Ratio** (trend of relative strength) and **RS-Momentum** (momentum of that trend). Both are centered at **100**:
- **RS-Ratio > 100** → outperforming the benchmark
- **RS-Ratio < 100** → underperforming
- **RS-Momentum** often **leads** RS-Ratio (crosses 100 earlier)
# How it works
1) Relative Strength (RS): RS = Close(symbol) / Close(benchmark)
2) Normalize around 100: smooth RS with EMA and divide RS by that EMA
3) RS-Ratio: EMA( RS / EMA(RS, Length), LenSmooth ) * 100
4) RS-Momentum: RS-Ratio / EMA(RS-Ratio, LenSmooth) * 100
# Inputs
- Length (default 14): normalization window for RS
- Length Smooth (default 20): smoothing window for RS-Ratio & RS-Momentum
# Benchmark (auto)
- US: SP:SPX (S&P 500)
- Vietnam: HOSE:VNINDEX
- Crypto: INDEX:BTCUSD
(Modify the mapping if needed, or replace with your own input.symbol().)
# How to read
- Improving: RS-Momentum crosses above 100 while RS-Ratio turns up
- Leading: RS-Ratio > 100 with RS-Momentum ≥ 100
- Weakening: RS-Momentum drops below 100; RS-Ratio often follows
# Timeframes & presets
- Works on Daily and Weekly charts
- Daily (fast): 14 / 20
- Approx. weekly behavior on Daily: 50 / 60
Note: Values usually hover near 100 (e.g., ~90–110) but are not strictly bounded. Ensure your symbol and benchmark trade in comparable sessions/currencies.
Zenith by JaeheeZenith (Invite-Only)
Overview
• This indicator is a trend-following, regime-aware signal tool designed to surface actionable long/short entries only when multiple, independent conditions align.
• It emphasizes trend initiation (not late trend chasing) and provides structured take-profit (TP1/TP2/TP3) cues when momentum weakens after entry.
• It is an indicator (not a strategy). It does not place trades, manage orders, or guarantee outcomes.
What makes it different
• Regime windowing: Signals are permitted only shortly after a regime flip and only if trend quality conditions persist (streak). This reduces signals that arrive too late in mature trends.
• Multi-filter consensus: Trend EMA slope/position, RSI state/slope, ADX/DI separation, volume expansion, and optional structure break (HH/LL) must agree before any entry is considered.
• Volatility & squeeze awareness: A TTM-style squeeze gate avoids chasing during compression unless a valid release is detected.
• Momentum-based TPs: After a valid entry, RSI divergence at confirmed pivots defines TP1→TP3 in the trend direction (price makes a new extreme while RSI momentum fails to confirm).
• Minimal repaint design: Signals and TPs are formed on confirmed pivots and bar close logic; HTF requests use lookahead_off. (See “Repainting & calculation notes.”)
How it works (signal engine)
• Trend filter:
• Baseline EMA and its slope define directional bias (price vs baseline, rising/falling baseline).
• RSI state & slope:
• RSI must be above/below its midpoint and (optionally) rising/falling to validate momentum alignment.
• Directional strength (ADX/DI):
• ADX must exceed a minimum; DI+ vs DI− alignment confirms directional pressure.
• Liquidity/participation:
• Volume must exceed its SMA×mult to avoid low-quality moves.
• Structure confirmation (optional):
• Break of recent highs/lows (windowed) helps filter range noise.
• Squeeze gate:
• During BB-inside-KC compression, entries are held back unless a valid release (KC breakout) or ATR expansion is present.
• Regime window:
• After Long/Short pass flips from 0→1, entries are allowed for a limited number of bars (window) and only after a streak (N consecutive bars meeting conditions).
• HTF alignment (optional):
• Higher-timeframe EMA trend must agree with the local setup (no lookahead).
Signals & labels
• Entry labels:
• Long Entry = “Long Entry” (below bar)
• Short Entry = “Short Entry” (above bar)
• Shapes:
• Diamonds mark entry points; optional “Macro-only” mode shows only regime-grade signals.
• Visual ribbon:
• A gradient band around the baseline provides context for volatility and bias; it does not alter signal logic.
Take-Profit framework (momentum weakening)
• After a Long Entry, the script tracks confirmed price pivot highs vs confirmed RSI pivot highs:
• TP trigger (Long): new price pivot high higher than prior, but RSI pivot high lower → bearish divergence (momentum weakening).
• Ordering: TP2 must print above TP1; TP3 must print above TP1/TP2.
• After a Short Entry, the script tracks confirmed price pivot lows vs confirmed RSI pivot lows:
• TP trigger (Short): new price pivot low lower than prior, but RSI pivot low higher → bullish divergence.
• Ordering: TP2 must print below TP1; TP3 must print below TP1/TP2.
• Why divergence?
• It captures fading momentum within an ongoing move, enabling staged partial exits without predicting tops/bottoms.
How traders typically use it
• Discretionary entries with rules:
• Confirm on bar close to avoid intrabar flips.
• Favor higher-timeframes for reliability; in practice, the 1-hour chart has been a balanced choice between responsiveness and noise.
• Risk & exits:
• Combine the indicator’s entries with independent risk management (fixed/ATR stops, volatility-scaled sizing).
• Use TP1→TP3 for partials; trail the remainder by structure/ATR or your preferred method.
Why it can add value (without hype)
• Noise rejection: By requiring simultaneous agreement across trend, momentum, participation, and compression, many low-quality whipsaws are filtered out.
• Timeliness: Limiting signal eligibility to a post-flip window seeks to capture the early phase of regime change instead of late escalations.
• Clarity: The gradient ribbon and explicit labels (“Long Entry”, “Short Entry”, “TP1–TP3”) make execution rules transparent and repeatable.
• Adaptability: Inputs (RSI length/midline, ADX/DI thresholds, squeeze, HTF alignment, structure, window/streak sizes) allow tuning for symbols/timeframes.
Best practices (recommended use)
① Confirm on bar close
• Signals can change intrabar; execute after the bar has closed.
② Validate across multiple timeframes
• Although the tool adapts to volatility, reliability improves on higher timeframes.
• In practice, the 1-hour chart has shown a stable balance between reactivity and noise.
③ Align with ribbon bias
• Trade in the same direction as the ribbon/baseline slope to reduce counter-trend exposure.
④ Combine with independent risk management
• Use stop-losses, position sizing, or ATR-based targets outside the script.
⑤ Use as confirmation, not prediction
• Treat entries as confirmation of regime change, not as a forecast of future price.
Inputs you may care about
• Trend/Structure: EMA length, slope lookback, structure window, cooldown bars.
• Momentum: RSI length/midline, rising/falling filter, ADX length/min, DI separation.
• Participation: Volume SMA length & multiplier.
• Compression: BB/KC lengths & multipliers; require-release toggle.
• Regime quality: Flip window, streak size, ATR expansion vs baseline, max extension (ATR×), optional ADX rising, optional HTF alignment.
• TP controls: Enable/disable per side, max TP count (1–3), label offset/color.
• Visuals: EMA and ribbon display, diamond sizes, optional vertical lines.
Repainting & calculation notes
• No future-bar references: The script does not use future data. HTF calls use barmerge.lookahead_off.
• Pivot confirmation: Entries and TPs use confirmed pivots (pivotRight bars later). Labels are placed at the pivot bar index once confirmed.
• Intrabar updates: Values can update before the bar closes; confirm on close for decisions.
• HTF security: Higher-timeframe values are requested without lookahead; still, HTF bars finalize only when the HTF bar closes.
Limitations & responsible use
• Not financial advice. No guarantees of profitability; markets involve risk.
• Not a strategy. It does not place, manage, or cancel orders; you must supply risk controls.
• Parameter sensitivity. Different symbols/timeframes may require tuning.
• Divergence scarcity. TP1–TP3 are divergence-based; in strong trends without momentum fade, fewer TP signals will occur.
Disclaimer
• This indicator is provided for educational and informational purposes only.
• It does not guarantee profits, predict future prices, or replace independent judgment.
• Trading involves risk, and all decisions remain solely the responsibility of the user.
• By using this tool, you acknowledge that it is intended as a study aid within TradingView, not as financial advice or an automated trading system.
Institution Accumulation/DistributionLeveraging the Williams%R oscillator, the script has been optimized to pick out key turning point in the market specifically at Resistance (Overbought) or Support (Oversold)
The algo has been programmed to print both buy and sell alerts at extremes/when conditions flip eg a long position will be closed simultaneously opening a short position above resistance.
Best used as a scalping tool targeting 30m and below works well with currency pairs
WA-%Chg with BackgroundDescription
The WA-%Chg with Background indicator measures the percentage change in a selected price source over a user-defined period. It allows traders to visually and quickly assess bullish and bearish momentum through dynamic color coding and background shading.
Percentage Change Calculation – Uses ta.roc to determine the rate of change over the chosen length.
Customizable Alerts – Set upper (HiAlert) and lower (LoAlert) thresholds to get notified when momentum crosses bullish or bearish trigger levels.
Dynamic Line Coloring – Blue when above the bullish threshold, red when below the bearish threshold, and gray when in neutral territory.
Background Highlighting – Light blue shading for bullish zones, light red shading for bearish zones.
User Customization – Modify calculation length, colors, and alert thresholds to suit your trading style.
This tool is useful for identifying breakout conditions, momentum shifts, and potential reversals at a glance. Traders can combine it with other indicators for confirmation.
Disclaimer
This indicator is provided for educational purposes only and should not be considered financial advice. Past performance of any indicator or strategy is not indicative of future results. Trading in financial markets involves significant risk, including the risk of losing capital. Always perform your own analysis and consult with a qualified financial advisor before making any investment decisions. The author assumes no liability for any losses incurred from the use of this tool.
Triple EMA with Alert | 21, 50, 200 EMA Strategy + Crossover🚀 Boost your trading edge with the Triple EMA with Alert — a professional-grade indicator designed for traders who want precise, real-time trend confirmation across short, medium, and long-term market movements.
🔹 What Makes This Indicator Powerful?
Three Adjustable EMAs — Default: 21, 50, 200 periods (fully customizable 1–200).
Toggle Visibility — Show only the EMAs you need for your strategy.
Real-Time Alerts — Get notified instantly when:
EMA 1 crosses EMA 2 → short-term trend change.
EMA 2 crosses EMA 3 → medium-term trend alignment.
Works on All Markets & Timeframes — Forex, crypto, stocks, indices, and commodities.
🔹 Why Traders Love It
📊 Multi-Timeframe Trend Confirmation — Filter out noise and trade with market momentum.
🎯 Accurate Crossover Signals — Identify bullish and bearish momentum shifts.
🔔 Hands-Free Monitoring — Alerts keep you informed even when you’re away from the chart.
💡 Versatile for Any Strategy — Perfect for scalping, swing trading, or long-term investing.
🔹 How to Use It
Bullish Signal — EMA 1 crossing above EMA 2 or EMA 2 crossing above EMA 3.
Bearish Signal — EMA 1 crossing below EMA 2 or EMA 2 crossing below EMA 3.
Combine with support/resistance zones, RSI, or volume for higher probability trades.
📌 Pro Tip:
Use EMA 21 & EMA 50 for momentum confirmation.
Use EMA 200 to spot the overall market direction.
If you’re serious about trend trading with precision, the Triple EMA with Alert will keep you one step ahead of market moves — no more missed entries or exits.
Momentum Phases📌 Overview
The Momentum Phases indicator helps traders quickly identify periods of strong bullish or bearish momentum based on the relationship between a short‑term and a long‑term Moving Average (SMA).
It helps traders visually distinguish between Positive 🟢 , Negative 🔴 , and Neutral ⚪ phases by plotting a dynamically colored state line and generating optional alerts when a phase change occurs.
🧠 How It Works
⦿ SMA Calculation
The indicator calculates two SMAs:
Short SMA (default: 7 periods)
Long SMA (default: 65 periods)
Both SMA lengths can be adjusted by the user.
// SMA calculations
smaShort = ta.sma(close, shortLen)
smaLong = ta.sma(close, longLen)
⦿ Momentum Ratio
A ratio is calculated:
ratio = smaShort / smaLong
This ratio measures how far the short‑term trend has diverged from the long‑term trend.
⦿ Threshold Levels
Positive Threshold (default: 1.05) — indicates short SMA is at least 5% above the long SMA.
Negative Threshold (default: 0.95) — indicates short SMA is at least 5% below the long SMA.
These thresholds are user‑adjustable.
⦿ Momentum States
Positive Momentum: Ratio ≥ Positive Threshold (default: 1.05) → Short SMA is at least 5% above Long SMA.
Negative Momentum: Ratio ≤ Negative Threshold (default: 0.95) → Short SMA is at least 5% below Long SMA.
Neutral: Ratio between the two thresholds.
⦿ State Line Plot
The indicator plots a flat state line at 1.0 when in positive or negative momentum, and 0.0 when in neutral.
The state line’s color changes dynamically:
Green 🟢 Positive Momentum: Ratio ≥ Positive Threshold (default: 1.05) – Short SMA is at least 5% above Long SMA.
Red 🔴 Negative Momentum: Ratio ≤ Negative Threshold (default: 0.95) – Short SMA is at least 5% below Long SMA.
Gray ⚪ Neutral: Ratio between the two thresholds.
📈 How to Use
Trend Confirmation: Use the state line color to quickly confirm the prevailing momentum.
Green 🟢: Consider focusing on long setups
Red 🔴: Consider focusing on short setups
Gray ⚪: Consider staying neutral or waiting for stronger signals
Trade Filtering: Filter trades in your existing strategy so they only align with the detected momentum phase.
Early Warnings: Enable phase change alerts to get notified when market conditions shift.
⚙️ Customization
SMA Periods: Adjust short and long SMA lengths to suit your trading timeframe.
Thresholds: Tighten (closer to 1.00) for more frequent signals, or widen for fewer but stronger signals.
🔔 Alerts
🟢 Positive Momentum START – Stock/Security shifts into positive momentum.
⚪ Positive Momentum END – Positive momentum ends (neutral state).
🔴 Negative Momentum START – Market shifts into negative momentum.
⚪ Negative Momentum END – Negative momentum ends (neutral state).
Momentum Phase Change – Any shift between Positive, Negative, or Neutral.
🎯 Add this indicator to your chart to track momentum phases like a pro — know exactly when trends start, end, or stall.
SMT Oscillator: Smarter Money Divergence Detector [PhenLabs]📊Phenlabs - SMT Oscillator: Smarter Money Divergence Detector
Version: PineScript™v6
📌Description
The SMT Oscillator is a sophisticated tool designed to identify smart money divergence between two correlated assets. By analyzing the momentum and volume-weighted price action of a primary and secondary symbol, traders can spot subtle shifts in market dynamics that often precede significant price movements. This indicator is built to provide a clearer, more filtered view of inter-market relationships, solving the common problem of false signals and market noise. Its primary purpose is to equip traders with a quantifiable edge in detecting potential reversals or continuations that are not obvious on a standard price chart.
🚀Points of Innovation
Dual-Symbol Divergence Core: Directly compares momentum (RSI or MACD) between two user-selected symbols to pinpoint true SMT divergence.
Volume-Weighted Analysis: Integrates volume delta into the divergence calculation, giving more weight to moves backed by significant market participation.
Entropy Filter for Noise Reduction: Employs an entropy calculation to filter out low-quality signals during choppy or consolidating market conditions.
Predictive Forecast Line: Utilizes a linear regression model to project the oscillator’s future trajectory, offering a forward-looking glimpse of potential momentum shifts.
Customizable Signal Sensitivity: Allows fine-tuning of overbought and oversold levels to adapt to different market volatilities and trading styles.
Integrated Signal Alerts: Provides built-in alerts for bullish/bearish zero crosses and overbought/oversold conditions.
🔧Core Components
Momentum Engine: The user can select either RSI or MACD as the underlying engine for the divergence calculation, allowing for flexibility in analysis.
Normalization Function: Price data from both symbols is normalized using percentage change to ensure a true “apples-to-apples” comparison, regardless of their nominal price differences.
Divergence Calculator: The core algorithm that subtracts the secondary symbol’s momentum from the primary’s and normalizes the result using the combined standard deviation.
Smoothing Mechanism: An Exponential Moving Average (EMA) is applied to the raw oscillator output to reduce choppiness and provide a clearer signal line.
🔥Key Features
Multi-Asset Comparison: Go beyond single-asset analysis by comparing correlated pairs like ES/NQ or BTC/ETH to uncover hidden trading opportunities.
Heatmap Visualization: An optional heatmap mode provides an intuitive visual representation of divergence strength, making it easier to gauge market sentiment at a glance.
Configurable Lookback and Timeframe: Adjust the lookback period and analysis timeframe to suit your specific strategy, from short-term scalping to long-term trend analysis.
Signal Markers: Visual markers are plotted directly on the chart for bullish and bearish zero-line crossovers, providing clear entry and exit signals.
🎨Visualization
SMT Oscillator Line: The primary visual element, colored blue for bullish (positive) divergence and orange for bearish (negative) divergence.
Zero Line: A solid horizontal line at the zero level, indicating the equilibrium point between the two assets. Crossovers of this line signal a shift in relative strength.
Overbought/Oversold Zones: Dotted lines at the +80 and -80 levels (customizable) that highlight extreme divergence readings, often indicating potential exhaustion points.
Forecast Line: A predictive line that plots the anticipated path of the oscillator, giving traders an advanced warning of potential changes in momentum.
📖Usage Guidelines
Setting Categories
Primary Symbol
Default: (Chart Symbol)
Description: The main asset you are analyzing. Leave blank to use the symbol currently on your chart.
Secondary Symbol
Default: CME_MINI:ES1! (used with NASDAQ futures due to inherent heavy correlation
Description: The asset to compare against the primary symbol.
Lookback Period
Default: 14
Range: 8-100
Description: Controls the calculation window for momentum (RSI/MACD). Higher values result in a smoother, less sensitive oscillator.
Divergence Type
Default: RSI
Options: RSI, MACD
Description: Choose the momentum indicator to use for the divergence calculation.
Enable Volume Weighting
Default: true
Description: When enabled, gives more weight to divergence signals that are accompanied by significant volume.
✅Best Use Cases
Identifying high-probability reversal points by spotting divergence in overbought or oversold territory.
Confirming the strength of a trend by observing sustained positive or negative divergence.
Pairs trading by taking a long position on the outperforming asset and a short position on the underperforming one during a divergence.
Risk management by recognizing when a current trend is losing its underlying momentum.
⚠️Limitations
Requires Correlated Assets: The indicator’s effectiveness is highly dependent on the selection of two assets with a known correlation (e.g., ES and NQ).
Not a Standalone System: Divergence signals should be used in conjunction with other forms of analysis (price action, market structure) and not as a complete trading system.
Lagging by Nature: As it is based on moving averages and past price data, the oscillator is inherently lagging and may not capture all rapid price changes.
💡What Makes This Unique
Combined Momentum & Volume: Unlike standard oscillators, it fuses momentum with volume delta for a more robust “Smart Money” perspective.
Noise-Filtering Mechanism: The proprietary entropy filter is a unique feature designed to weed out insignificant market chatter and focus on high-conviction signals.
🔬How It Works
Data Normalization:
The script first normalizes the price data of the two selected symbols into percentage changes. This ensures that the comparison is fair, regardless of the difference in their price scales.
Momentum Calculation:
It then calculates the chosen momentum value (either RSI or MACD histogram) for each of the normalized price series.
Divergence Computation:
The core of the indicator lies in subtracting the momentum of the secondary symbol from the primary one. This raw divergence is then optionally weighted by volume and filtered for market noise (entropy) to produce the final oscillator value.
💡Note:
For best results, use this indicator on adequate timeframes to filter out market noise. Always confirm signals with price action analysis before entering a trade.