Momentum-Based Fair Value Gaps [BackQuant]Momentum-Based Fair Value Gaps  
 A precision tool that detects Fair Value Gaps and color-codes each zone by momentum, so you can quickly tell which imbalances matter, which are likely to fill, and which may power continuation.
 What is a Fair Value Gap 
 A Fair Value Gap is a 3-candle price imbalance that forms when the middle candle expands fast enough that it leaves a void between candle 1 and candle 3.
  
  Bullish FVG : low  > high . This marks a bullish imbalance left beneath price.
  Bearish FVG : high  < low . This marks a bearish imbalance left above price.
  These zones often act as magnets for mean reversion or as fuel for trend continuation when price respects the gap boundary and runs.
  
 Why add momentum 
 Not all gaps are equal. This script measures momentum with RSI on your chosen source and paints each FVG with a momentum heatmap. Strong-momentum gaps are more likely to hold or propel continuation. Weak-momentum gaps are more likely to fill.
 Core Features 
  
  Auto FVG Detection  with size filters in percent of price.
  Momentum Heatmap  per gap using RSI with smoothing. Multiple palettes: Gradient, Discrete, Simple, and scientific schemes like Viridis, Plasma, Inferno, Magma, Cividis, Turbo, Jet, plus Red-Green and Blue-White-Red.
  Bull and Bear Modes  with independent toggles.
  Extend Until Filled : keep drawing live to the right until price fully fills the gap.
  Auto Remove Filled  for a clean chart.
  Optional Labels  showing the smoothed RSI value stored at the gap’s birth.
  RSI-based Filters : only accept bullish gaps when RSI is oversold and bearish gaps when RSI is overbought.
  Performance Controls : cap how many FVGs to keep on chart.
  Alerts : new bullish or bearish FVG, filled FVG, and extreme RSI FVGs.
  
 How it works 
  
  Source for Momentum : choose Returns, Close, or Volume.
 Returns computes percent change over a short lookback to focus on impulse quality.
  RSI and Smoothing : RSI length and a small SMA smooth the signal to stabilize the color coding.
  Gap Scan : each bar checks for a 3-candle bullish or bearish imbalance that also clears your minimum size filter in percent of price.
  Heatmap Color : the gap is painted at creation with a color from your palette based on the smoothed RSI value, preserving the momentum signature that formed it.
  Lifecycle : if Extend Unfilled is on, the zone projects forward until price fully trades through the far edge. If Auto Remove is on, a filled gap is deleted immediately.
  
 How to use it 
  
  Scan for structure : turn on both bullish and bearish FVGs. Start with a moderate Min FVG Size percent to reduce noise. You will see stacked clusters in trends and scattered singletons in chop.
  Read the colors : brighter or stronger palette values imply stronger momentum at gap formation. Weakly colored gaps are lower conviction.
  Decide bias : bullish FVGs below price suggest demand footprints. Bearish FVGs above price suggest supply footprints. Use the heatmap and RSI value to rank importance.
  Choose your playbook :
 Mean reversion : target partial or full fills of opposing FVGs that were created on weak momentum or that sit against higher timeframe context.
 Trend continuation : look for price to respect the near edge of a strong-momentum FVG, then break away in the direction of the original impulse.
  Manage risk : in continuation ideas, invalidation often sits beyond the opposite edge of the active FVG. In reversion ideas, invalidation sits beyond the gap that should attract price.
  
 Two trade playbooks 
  
  Continuation - Buy the hold of a bullish FVG 
 Context uptrend.
 A bullish FVG prints with strong RSI color.
 Price revisits the top of the gap, holds, and rotates up. Enter on hold or first higher low inside or just above the gap.
 Invalidation: below the gap bottom. Targets: prior swing, measured move, or next LV area.
  Reversion - Fade a weak bearish FVG toward fill 
 Context range or fading trend.
 A bearish FVG prints with weak RSI color near a completed move.
 Price fails to accelerate lower and rotates back into the gap.
 Enter toward mid-gap with confirmation.
 Invalidation: above gap top. Target: opposite edge for a full fill, or the gap midline for partials.
  
 Key settings 
  
  Max FVG Display : memory cap to keep charts fast. Try 30 to 60 on intraday.
  Min FVG Size % : sets a quality floor. Start near 0.20 to 0.50 on liquid markets.
  RSI Length and Smooth : 14 and 3 are balanced. Increase length for higher timeframe stability.
  RSI Source :
 Returns : most sensitive to true momentum bursts
 Close : traditional.
 Volume : uses raw volume impulses to judge footprint strength.
  Filter by RSI Extremes : tighten rules so only the most stretched gaps print as signals.
 Heatmap Style and Palette : pick a palette with good contrast for your background. Gradient for continuous feel, Discrete for quick zoning, Simple for binary, Palette for scientific schemes.
  Extend Unfilled - Auto Remove : choose live projection and cleanup behavior to match your workflow.
  
 Reading the chart 
  
  Bullish zones  sit beneath price. Respect and hold of the upper boundary suggests demand. Strong green or warm palette tones indicate impulse quality.
  Bearish zones  sit above price. Respect and hold of the lower boundary suggests supply. Strong red or cool palette tones indicate impulse quality.
  Stacking : multiple same-direction gaps stacked in a trend create ladders. Ladders often act as stepping stones for continuation.
  Overlapping : opposing gaps overlapping in a small region usually mark a battle zone. Expect chop until one side is absorbed.
  
 Workflow tips 
  
  Map higher timeframe trend first. Use lower timeframe FVGs for entries aligned with the higher timeframe bias.
  Increase Min FVG Size percent and RSI length for noisy symbols.
  Use labels when learning to correlate the RSI numbers with your palette colors.
  Combine with VWAP or moving averages for confluence at FVG edges.
  If you see repeated fills and refills of the same zone, treat that area as fair value and avoid chasing.
  
 Alerts included 
  
  New Bullish FVG
  New Bearish FVG
  Bullish FVG Filled
  Bearish FVG Filled
  Extreme Oversold FVG - bullish
  Extreme Overbought FVG - bearish
  
 Practical defaults 
  
  RSI Length 14, Smooth 3, Source Returns.
  Min FVG Size 0.25 percent on liquid majors.
  Heatmap Style Gradient, Palette Viridis or Turbo for contrast.
  Extend Unfilled on, Auto Remove on for a clean live map.
  
 Notes 
 This tool does not predict the future. It maps imbalances and momentum so you can frame trades with clearer context, cleaner invalidation, and better ranking of which gaps matter. Use it with risk control and in combination with your broader process.
Cerca negli script per "momentum"
MomentumMap — Relative Strength Visual Quadrant (RRG-Inspired)🔍 What is MomentumMap?
MomentumMap brings the concept of Relative Rotation Graphs (RRG) directly to your chart.
It helps you instantly see whether a symbol is leading, improving, weakening, or lagging — without scanning dozens of charts.
Unlike traditional RS indicators, this tool plots RS Ratio and RS Momentum together, classifying the current condition into clear quadrants.
🧩 Quadrant Logic
Zone	Conditions	Market Behavior
🟢 Power Zone	RS > 1, Momentum > 0	Strong, leading, expanding trend
🟡 Drift Zone	RS > 1, Momentum < 0	Cooling off after leadership
🔵 Lift Zone	RS < 1, Momentum > 0	Early signs of strength emerging
🔴 Dead Zone	RS < 1, Momentum < 0	Weak and lagging phase
Each bar’s background color reflects the active zone — giving instant visual feedback on rotation strength.
⚙️ Key Features
Benchmark-based RS Ratio & RS Momentum mapping
Auto-classified quadrant display with live background coloring
Optional Power Zone alert (with volume confirmation)
Adjustable RS smoothing and momentum periods
Works on all instruments and timeframes
💡 How to Use
Apply the indicator to any chart.
Choose your benchmark symbol (default: NSE:CNX500).
Observe the color-coded zones to assess strength rotation.
Use transitions between zones to identify:
New leadership → 🟢 Power Zone
Early rotation → 🔵 Lift Zone
Loss of strength → 🟡 Drift Zone
Weak performers → 🔴 Dead Zone
⚠️ Notes & Disclaimer
MomentumMap is an analytical visualization tool, not a buy/sell signal generator.
Choose benchmarks and timeframes that match your trading universe.
The script does not repaint and uses only confirmed bar data.
Past quadrant behavior does not guarantee future results.
Complies with TradingView’s open-source and originality guidelines.
📚 Credits
Concept inspired by Julius de Kempenaer’s RRG framework
Implementation and logic developed independently by Paritosh Gupta
Momentum Volume Analyzer [CHE]  Momentum Volume Analyzer   — Adaptive momentum with volume-gated signals and expressive visual cues 
  Summary 
This indicator combines a normalized momentum oscillator with a volume Z-score gate and adaptive gradient visuals. The oscillator centers around a midline and scales between a lower and an upper bound. Intensity is derived from the distance to the midline and is normalized inside a rolling window, which helps keep contrast consistent across regimes. Volume pressure is compressed to a discrete level between one and ten and is used to qualify momentum flips and extremes. Layered “burst” markers and optional background gradients provide immediate visual emphasis without adding new data sources. Pine version is v6. The script runs in a separate pane.
  Motivation: Why this design? 
Common oscillators flip rapidly during noisy conditions or flatten during calm periods, which obscures actionable shifts. A rolling normalization keeps the visual intensity stable across different regimes, and a volume gate reduces reactions when participation is weak. The goal is clearer momentum shifts that are supported by measurable activity rather than cosmetic smoothing alone.
  What’s different vs. standard approaches? 
 Baseline reference: Classical RSI-style oscillators or simple filtered momentum without volume gating.
 Architecture differences:
   Local window normalization with gamma control for contrast.
   Volume converted to a Z-score and compressed into a discrete level between one and ten with a configurable cap.
   Directional color gradients that intensify with distance from the midline.
   Layered glow markers with optional trail and an internal label budget to avoid UI overload.
 Practical effect: Signals are visually stronger only when both momentum and volume align; background and line colors convey regime strength at a glance.
  How it works (technical) 
 Momentum core: A high-pass path with automatic gain control produces a bounded oscillator centered around a midline. A simple moving average smooths the result over a short window.
 Normalization and contrast: The absolute distance from the midline is scaled inside a rolling window and limited between zero and one. Two gamma parameters separately shape contrast for the line and for labels.
 Coloring: When the oscillator is above the midline, a green gradient is used; below the midline, a red gradient is used. Intensity increases with normalized distance. Optional area fill to the midline and a background gradient reinforce strength.
 Volume levels: Volume is standardized over a lookback window, clipped by a user cap, and mapped to a level between one and ten. Only positive excursions are considered; non-positive values map to zero.
 Event markers: When the oscillator reaches extreme zones and the volume level is positive, the script spawns layered circular labels at fixed y-positions. A small trail can extend behind the event. An internal queue discards the oldest labels when a user-defined maximum is exceeded.
 Alerts: Alerts fire on overbought and oversold spikes, midline shifts with minimum intensity and volume, and continuation patterns inside strong zones.
  Parameter Guide 
 TFRSI length (default six): Core momentum lookback. Shorter values react faster but are less stable.
 Signal SMA (default two): Light smoothing of the oscillator. Larger values reduce jitter.
 Gradient window (default one hundred): Normalization window for intensity. Longer values produce steadier contrast but slower adaptation.
 Line/marker transparency (default zero): Visual prominence of drawings. Higher values reduce dominance.
 Background on and BG transparency (defaults true and eighty-five): Enables and tunes the pane background gradient.
 Area fill to fifty and Fill transparency (defaults true and eighty): Fills between the oscillator and the midline.
 Gamma bars/labels and Gamma plot (defaults zero point seven and zero point eight): Contrast shapers for markers and line. Higher values compress low intensities.
 Bottom marker and Show last N (defaults true and three hundred thirty-three): Optional compact heat markers with a display cap.
 Up/Down colors: Dark and neon pairs for positive and negative regimes.
 Lookback (default two hundred) and Z cap (default five): Volume standardization window and clipping level before scaling to one through ten.
 Enable bursts, Layers, Trail, Trail transparency, Max live labels, Size scale: Control the layered glow effect, trail length, opacity, label budget, and size multiplier. Reducing the size scale lowers visual dominance.
 Spike min level, Shift min level, Min intensity, Rise/Fall length: Gates for alerts; adjust to balance sensitivity and false positives.
  Reading & Interpretation 
 Line color and intensity: Green shades above the midline indicate bullish pressure; red shades below indicate bearish pressure. Stronger color corresponds to stronger normalized distance.
 Background and fill: Reinforce regime strength; consider reducing transparency when the pane feels too busy.
 Bursts and trails: Emphasize volume-backed extremes. Larger bursts reflect stronger volume levels or scaling choices.
 Volume level: Internal level between one and ten. Levels near the upper bound signal exceptional activity.
  Practical Workflows & Combinations 
 Trend following: Use midline cross upward with minimum shift level and intensity as a trigger. Confirm with structure such as higher highs and higher lows. For shorts, reverse the conditions.
 Exits and risk: Fade exposure when intensity weakens toward the midline or when volume level drops below the shift threshold. Consider disabling bursts when monitoring many symbols.
 Multi-asset and multi-timeframe: Defaults are designed to travel across liquid futures, large-cap equities, and major crypto pairs. For higher timeframes, increase the lookback window and consider reducing the Z cap.
  Behavior, Constraints & Performance 
 Repaint and confirmation: Signals are evaluated on the live bar. They can appear and withdraw before bar close. For confirmed signals, require closed-bar alerts or manual confirmation.
 Higher-timeframe sources: Not used. No `security` calls.
 Resources: `max_bars_back` is two thousand. The script uses arrays and label objects, including loops for trails. The label budget mitigates clutter.
 Known limits: Very illiquid symbols with unstable volume can reduce the usefulness of the Z-score. Sharp regime changes can still produce brief flips.
  Sensible Defaults & Quick Tuning 
 Starting point: TFRSI length six, Signal two, Gradient window one hundred, Z cap five, Spike level six, Shift level four, Min intensity zero point four, Rise length three, Size scale zero point five.
 Too many flips: Increase Signal, increase Gradient window, or raise Shift level.
 Too sluggish: Decrease TFRSI length or reduce Gradient window.
 Bursts too dominant: Lower Size scale or reduce Layers; increase Trail transparency or set Trail length to zero.
  What this indicator is—and isn’t 
This is a visualization and signal layer that couples momentum with a volume gate and adaptive visuals. It is not a complete trading system, optimizer, or predictor. Use it together with market structure, risk controls, and position management.
  Disclaimer 
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Momentum Trajectory Suite📈  Momentum Trajectory Suite 
🟢  Overview 
Momentum Trajectory Suite is a multi-faceted indicator designed to help traders evaluate trend direction, volatility conditions, and behavioral sentiment in a single consolidated view.
By combining a customizable Trajectory EMA, adaptive Bollinger Bands, and a Greed vs. Fear heatmap, this tool empowers traders to identify directional bias, measure momentum strength, and spot potential reversals or continuation setups.
🧠  Concept 
This indicator merges three classic techniques:
 
 Trend Analysis: Trajectory EMA highlights the prevailing directional momentum by smoothing price action over a customizable period.
 Volatility Envelopes: Bollinger Bands adapt to dynamic price swings, showing overbought/oversold extremes and periods of contraction or expansion.
 Behavioral Sentiment: A Greed vs. Fear heatmap combines RSI and MACD Histogram readings to visualize when markets are dominated by buying enthusiasm or selling pressure.
 
The combination is designed to help traders interpret market context more effectively than using any single component alone.
🛠️  How to Use the Indicator 
 Trajectory EMA: 
 
 Use the blue EMA line to assess overall trend direction.
 Price closing above the EMA may indicate bullish momentum; closing below may indicate bearish bias.
 
 Buy/Sell Signals: 
 
 Green circles appear when price crosses above the EMA (potential long entry).
 Red circles appear when price crosses below the EMA (potential exit or short entry).
 
 Bollinger Bands: 
 
 Monitor upper/lower bands for overbought and oversold price extremes.
 Narrowing bands may signal upcoming volatility expansion.
 
 Greed vs. Fear Heatmap: 
 
 Green histogram bars indicate bullish sentiment when RSI exceeds 60 and MACD Histogram is positive.
 Red histogram bars indicate bearish sentiment when RSI is below 40 and MACD Histogram is negative.
 Gray bars indicate neutral or mixed conditions.
 
 Background Color Zones: 
The chart background shifts to green when EMA slope is positive and red when negative, providing quick directional cues.
All inputs are adjustable in settings, including EMA length, Bollinger Band parameters, and oscillator configurations.
📊  Interpretation 
 Bullish Conditions: 
 Price above the Trajectory EMA, background green, and Greed heatmap active.
May signal trend continuation and increased buying pressure. 
 Bearish Conditions: 
 Price below the Trajectory EMA, background red, and Fear heatmap active.
May signal momentum breakdown or potential continuation to the downside. 
 Volatility Clues: 
 Wide Bollinger Bands = trending, volatile market.
Narrow Bollinger Bands = low volatility and possible breakout setup. 
 Signal Confirmation: 
 Consider combining signals (e.g., EMA crossover + Greed/Fear heatmap + Bollinger Band touch) for higher-confidence entries. 
📝  Notes 
The script does not repaint or use future data.
Suitable for multiple timeframes (intraday to daily).
May be combined with other confirmation tools or price action analysis.
⚠️  Disclaimer 
This script is for educational and informational purposes only and does not constitute financial advice. Trading carries risk and past performance is not indicative of future results. Always perform your own due diligence before making trading decisions.
Uptrick: Z-Trend BandsOverview 
 Uptrick: Z-Trend Bands is a Pine Script overlay crafted to capture high-probability mean-reversion opportunities. It dynamically plots upper and lower statistical bands around an EMA baseline by converting price deviations into z-scores. Once price moves outside these bands and then reenters, the indicator verifies that momentum is genuinely reversing via an EMA-smoothed RSI slope. Signal memory ensures only one entry per momentum swing, and traders receive clear, real-time feedback through customizable bar-coloring modes, a semi-transparent fill highlighting the statistical zone, concise “Up”/“Down” labels, and a live five-metric scoring table.
 Introduction 
 Markets often oscillate between trending and reverting, and simple thresholds or static envelopes frequently misfire when volatility shifts. Standard deviation quantifies how “wide” recent price moves have been, and a z-score transforms each deviation into a measure of how rare it is relative to its own history. By anchoring these bands to an exponential moving average, the script maintains a fluid statistical envelope that adapts instantly to both calm and turbulent regimes. Meanwhile, the Relative Strength Index (RSI) tracks momentum; smoothing RSI with an EMA and observing its slope filters out erratic spikes, ensuring that only genuine momentum flips—upward for longs and downward for shorts—qualify.
 Purpose 
 This indicator is purpose-built for short-term mean-reversion traders operating on lower–timeframe charts. It reveals when price has strayed into the outer 5 percent of its recent range, signaling an increased likelihood of a bounce back toward fair value. Rather than firing on price alone, it demands that momentum follow suit: the smoothed RSI slope must flip in the opposite direction before any trade marker appears. This dual-filter approach dramatically reduces noise-driven, false setups. Traders then see immediate visual confirmation—bar colors that reflect the latest signal and age over time, clear entry labels, and an always-visible table of metric scores—so they can gauge both the validity and freshness of each signal at a glance.
 Originality and Uniqueness 
 Uptrick: Z-Trend Bands stands apart from typical envelope or oscillator tools in four key ways. First, it employs fully normalized z-score bands, meaning ±2 always captures roughly the top and bottom 5 percent of moves, regardless of volatility regime. Second, it insists on two simultaneous conditions—price reentry into the bands and a confirming RSI slope flip—dramatically reducing whipsaw signals. Third, it uses slope-phase memory to lock out duplicate signals until momentum truly reverses again, enforcing disciplined entries. Finally, it offers four distinct bar-coloring schemes (solid reversal, fading reversal, exceeding bands, and classic heatmap) plus a dynamic scoring table, rather than a single, opaque alert, giving traders deep insight into every layer of analysis.
 Why Each Component Was Picked 
 The EMA baseline was chosen for its blend of responsiveness—weighting recent price heavily—and smoothness, which filters market noise. Z-score deviation bands standardize price extremes relative to their own history, adapting automatically to shifting volatility so that “extreme” always means statistically rare. The RSI, smoothed with an EMA before slope calculation, captures true momentum shifts without the false spikes that raw RSI often produces. Slope-phase memory flags prevent repeated alerts within a single swing, curbing over-trading in choppy conditions. Bar-coloring modes provide flexible visual contexts—whether you prefer to track the latest reversal, see signal age, highlight every breakout, or view a continuous gradient—and the scoring table breaks down all five core checks for complete transparency.
 Features 
 This indicator offers a suite of configurable visual and logical tools designed to make reversal signals both robust and transparent:
 
 Dynamic z-score bands that expand or contract in real time to reflect current volatility regimes, ensuring the outer ±zThreshold levels always represent statistically rare extremes.
 A smooth EMA baseline that weights recent price more heavily, serving as a fair-value anchor around which deviations are measured.
 EMA-smoothed RSI slope confirmation, which filters out erratic momentum spikes by first smoothing raw RSI and then requiring its bar-to-bar slope to flip before any signal is allowed.
 Slope-phase memory logic that locks out duplicate buy or sell markers until the RSI slope crosses back through zero, preventing over-trading during choppy swings.
 Four distinct bar-coloring modes—Reversal Solid, Reversal Fade, Exceeding Bands, Classic Heat—plus a “None” option, so traders can choose whether to highlight the latest signal, show signal age, emphasize breakout bars, or view a continuous heat gradient within the bands.
 A semi-transparent fill between the EMA and the upper/lower bands that visually frames the statistical zone and makes extremes immediately obvious.
 Concise “Up” and “Down” labels that plot exactly when price re-enters a band with confirming momentum, keeping chart clutter to a minimum.
 
  
 
 A real-time, five-metric scoring table (z-score, RSI slope, price vs. EMA, trend state, re-entry) that updates every two bars, displaying individual +1/–1/0 scores and an averaged Buy/Sell/Neutral verdict for complete transparency.
 
  
 Calculations 
 
 Compute the fair-value EMA over fairLen bars.
 Subtract that EMA from current price each bar to derive the raw deviation.
 Over zLen bars, calculate the rolling mean and standard deviation of those deviations.
 Convert each deviation into a z-score by subtracting the mean and dividing by the standard deviation.
 Plot the upper and lower bands at ±zThreshold × standard deviation around the EMA.
 Calculate raw RSI over rsiLen bars, then smooth it with an EMA of length rsiEmaLen.
 Derive the RSI slope by taking the difference between the current and previous smoothed RSI.
 Detect a potential reentry when price exits one of the bands on the prior bar and re-enters on the current bar.
 Require that reentry coincide with an RSI slope flip (positive for a lower-band reentry, negative for an upper-band reentry).
 On first valid reentry per momentum swing, fire a buy or sell signal and set a memory flag; reset that flag only when the RSI slope crosses back through zero.
 For each bar, assign scores of +1, –1, or 0 for the z-score direction, RSI slope, price vs. EMA, trend-state, and reentry status.
 Average those five scores; if the result exceeds +0.1, label “Buy,” if below –0.1, label “Sell,” otherwise “Neutral.”
 Update bar colors, the semi-transparent fill, reversal labels, and the scoring table every two bars to reflect the latest calculations.
 
 How It Actually Works 
 On each new candle, the EMA baseline and band widths update to reflect current volatility. The RSI is smoothed and its slope recalculated. The script then looks back one bar to see if price exited either band and forward to see if it reentered. If that reentry coincides with an appropriate RSI slope flip—and no signal has yet been generated in that swing—a concise label appears. Bar colors refresh according to your selected mode, and the scoring table updates to show which of the five conditions passed or failed, along with the overall verdict. This process repeats seamlessly at each bar, giving traders a continuous feed of disciplined, statistically filtered reversal cues.
 Inputs 
 All parameters are fully user-configurable, allowing you to tailor sensitivity, lookbacks, and visuals to your trading style:
 
 EMA length (fairLen): number of bars for the fair-value EMA; higher values smooth more but lag further behind price.
 Z-Score lookback (zLen): window for calculating the mean and standard deviation of price deviations; longer lookbacks reduce noise but respond more slowly to new volatility.
 Z-Score threshold (zThreshold): number of standard deviations defining the upper and lower bands; common default is 2.0 for roughly the outer 5 percent of moves.
 Source (src): choice of price series (close, hl2, etc.) used for EMA, deviation, and RSI calculations.
 RSI length (rsiLen): period for raw RSI calculation; shorter values react faster to momentum changes but can be choppier.
 RSI EMA length (rsiEmaLen): period for smoothing raw RSI before taking its slope; higher values filter more noise.
 Bar coloring mode (colorMode): select from None, Reversal Solid, Reversal Fade, Exceeding Bands, or Classic Heat to control how bars are shaded in relation to signals and band positions.
 Show signals (showSignals): toggle on-chart “Up” and “Down” labels for reversal entries.
 Show scoring table (enableTable): toggle the display of the five-metric breakdown table.
 Table position (tablePos): choose which corner (Top Left, Top Right, Bottom Left, Bottom Right) hosts the scoring table.
 
 Conclusion 
 By merging a normalized z-score framework, momentum slope confirmation, disciplined signal memory, flexible visuals, and transparent scoring into one Pine Script overlay, Uptrick: Z-Trend Bands offers a powerful yet intuitive tool for intraday mean-reversion trading. Its adaptability to real-time volatility and multi-layered filter logic deliver clear, high-confidence reversal cues without the clutter or confusion of simpler indicators.
 Disclaimer 
  This indicator is provided solely for educational and informational purposes. It does not constitute financial advice. Trading involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own testing and apply careful risk management before trading live. 
Correlation Drift📈  Correlation Drift 
The Correlation Drift indicator is designed to detect shifts in market momentum by analyzing the relationship between correlation and price lag. It combines the principles of correlation analysis and lag factor measurement to provide a unique perspective on trend alignment and momentum shifts.
🔍  Core Concept: 
The indicator calculates the Correlation vs PLF Ratio, which measures the alignment between an asset’s price movement and a chosen benchmark (e.g., BTCUSD). This ratio reflects how well the asset’s momentum matches the market trend while accounting for price lag.
📊  How It Works: 
Correlation Calculation:
 The script calculates the correlation between the asset and the selected benchmark over a specified period. 
 A higher correlation indicates that the asset’s price movements are in sync with the benchmark. 
Price Lag Factor (PLF) Calculation:
 
The PLF measures the difference between long-term and short-term price momentum, dynamically scaled by recent volatility. 
 It highlights potential overextensions or lags in the asset’s price movements. 
Combining Correlation and PLF:
 The Correlation vs PLF Ratio combines these metrics to detect momentum shifts relative to the trend. 
 The result is a dynamic, smoothed histogram that visualizes whether the asset is leading or lagging behind the trend. 
💡  How to Interpret: 
Positive Values (Green/Aqua Bars):
 Indicates bullish alignment with the trend. 
 Aqua:  Rising bullish momentum, suggesting continuation.
 Teal:  Decreasing bullish momentum, signaling caution.
Negative Values (Purple/Fuchsia Bars):
 Indicates bearish divergence from the trend. 
 Fuchsia:  Falling bearish momentum, indicating increasing pressure.
 Purple:  Rising bearish momentum, suggesting potential reversal.
Clipping for Readability:
Values are clipped between -3 and +3 to prevent outliers from compressing the histogram.
This ensures clear visualization of typical momentum shifts while still marking extreme cases.
🚀  Best Practices: 
Use Correlation Drift as a confirmation tool in conjunction with trend indicators (e.g., moving averages) to identify momentum alignment or divergence.
Look for transitions from positive to negative (or vice versa) as signals of potential trend shifts.
Combine with volume analysis to strengthen confidence in breakout or breakdown signals.
⚠️  Key Features: 
Customizable Settings: Adjust the correlation length, PLF length, and smoothing factor to fine-tune the indicator for different market conditions.
Visual Gradient: The histogram changes color based on the strength and direction of the ratio, making it easy to identify shifts at a glance.
Zero Line Reference: Clearly distinguishes between bullish and bearish momentum zones.
🔧  Recommended Settings: 
Correlation Length: 14 (for short to medium-term analysis)
PLF Length: 50 (to smooth out noise while capturing trend shifts)
Smoothing Factor: 3 (for enhanced clarity without excessive lag)
Benchmark Symbol: BTCUSD (or another relevant market indicator)
 By providing a quantitative measure of trend alignment while accounting for price lag, the Correlation Drift indicator helps traders make more informed decisions during periods of momentum change. Whether you are trading crypto, forex, or equities, this tool can be a powerful addition to your momentum-based trading strategies. 
⚠️  Disclaimer: 
The Correlation Drift indicator is a technical analysis tool designed to aid in identifying potential shifts in market momentum and trend alignment. It is intended for informational and educational purposes only and should not be considered as financial advice or a recommendation to buy, sell, or hold any financial instrument.
Trading financial instruments, including cryptocurrencies, involves significant risk and may result in the loss of your capital. Past performance is not indicative of future results. Always conduct thorough research and seek advice from a certified financial professional before making any trading decisions.
The developer (RWCS_LTD) is not responsible for any trading losses or adverse outcomes resulting from the use of this indicator. Users are encouraged to test and validate the indicator in a simulated environment before applying it to live trading. Use at your own risk.
Consecutive Green Candles + 20% Move ScreenerConsecutive Green Candles Momentum Tracker 
This indicator identifies powerful bullish momentum streaks in stocks, highlighting opportunities where consistent buying pressure has driven significant price increases.
The script tracks sequences of consecutive green (bullish) candles that collectively move a stock's price by more than 20%. It marks both the beginning of such streaks with a green label and their conclusion with a red arrow when price momentum finally reverses.
Perfect for traders looking to:
- Identify stocks experiencing strong directional momentum
- Spot potential reversal points after extended rallies
- Screen for securities with recent bullish strength
- Understand the magnitude of recent price runs
Simply adjust the minimum number of candles and percentage threshold to match your preferred momentum criteria.
Aesthetic RSI [AlchimistOfCrypto]🌌 Aesthetic RSI   – Unveiling the Fractal Forces of Markets 🌌
Category: Momentum Indicators 📈
"The RSI oscillator, formalized through an advanced mathematical prism, reveals the underlying fractal structures of price movements. This indicator draws inspiration from quantum principles of divergence-convergence where the probability of a return to equilibrium increases proportionally to the distance from the median point. Our implementation employs sophisticated algorithmic smoothing to filter out the stochastic noise inherent in financial markets, allowing visualization of the true momentum forces according to thermodynamic entropy principles applied to trading systems."
📊 Professional Trading Application
The Aesthetic RSI   is a visually stunning and mathematically refined take on the classic Relative Strength Index. With customizable settings, advanced smoothing, and eight unique visual palettes, it empowers traders to detect momentum shifts and divergences with unparalleled clarity.
⚙️ Indicator Configuration
- Length 📏
  The core parameter (default: 20) that determines the calculation period.
  - Lower values (8-14): Increase sensitivity for short-term trading.
  - Higher values (21-34): Provide stronger signals for position trading.
- OverBought/OverSold Thresholds 🎯
  Customizable boundaries (default: 75/25) to identify extreme market conditions.
  - Calibrate based on asset volatility: Higher volatility assets may need wider thresholds (80/20) to reduce false signals.
- Style 🎨
  Eight meticulously crafted visual palettes optimized for pattern recognition:
  - Miami Vice (default): High-contrast cyan/magenta scheme for spotting divergences.
  - Cyberpunk: Yellow/purple combo to highlight momentum shifts.
  - Classic: Traditional green/red for conventional analysis.
  - High Contrast: Maximum visual separation for traders with visual impairments.
  - Specialized palettes (Forest, Ocean, Fire, Monochrome): Tailored for diverse market conditions.
- Mode Selection 🔄
  - Full: Displays a complete gradient spectrum across the RSI range, emphasizing momentum transitions between 35-65.
  - OverZone: Focuses on actionable extreme zones, reducing noise in ranging markets.
🚀 How to Use
1. Adjust Length ⏰: Set the period based on your trading style (short-term or long-term).
2. Fine-Tune Thresholds 🎚️: Customize overbought/oversold levels to match the asset’s volatility.
3. Select a Palette 🌈: Choose a visual style that enhances your pattern recognition.
4. Choose Mode 🔍: Use "Full" for detailed momentum analysis or "OverZone" for extreme zone focus.
5. Spot Divergences ✅: Look for price-RSI divergences to anticipate reversals.
6. Trade with Precision 🛡️: Combine with other indicators for high-probability setups.
📅 Release Notes (April 2025)
Aesthetic RSI   blends quantum-inspired mathematics with artistic visualization, redefining momentum analysis. Stay tuned for future enhancements! ✨
🏷️ Tags
#Trading #TechnicalAnalysis #RSI #Momentum #Divergence #MultiTimeframe #TradingStrategy #RiskManagement #Forex #Stocks #Crypto #Bitcoin #AlgoTrading #DayTrading #SwingTrading #TheAlchimist #QuantumTrading #VisualTrading #PatternRecognition
Momentum Charge Theory (MCT)-(TechnoBlooms)The Momentum Charge Theory (MCT) Indicator is an advanced physics and mathematics-inspired trend detection system designed to identify market energy shifts with precision. Unlike traditional indicators that rely on static formulas, MCT integrates entropy, volatility, kinetic energy, and wavelet transforms to map price dynamics in real time.
Built on Scientific Principles – This indicator applies quantum-inspired charge-discharge mechanics to spot early trend formations and reversals. Think of price action like an energy system: it charges (builds momentum) before an explosive move and discharges when that energy dissipates.
Core Concepts Behind MCT
1️⃣ Directional Market Entropy – Measuring Trend Strength
Entropy quantifies market randomness – is the trend structured or chaotic?
✅ A high-entropy market is uncertain (choppy price action), while a low-entropy market signals a strong directional trend.
✅ MCT normalizes entropy, allowing traders to differentiate trend acceleration from market noise.
2️⃣ Information Flow Volatility – Identifying Breakout Zones
Inspired by Econophysics, this component measures volatility based on information flow rather than simple price movements.
✅ Helps spot high-volatility breakout conditions before they occur.
✅ Filters out false breakouts caused by random market noise.
3️⃣ Kinetic Energy Momentum (KEM) – The Physics of Price Acceleration
Just like in physics, momentum is a function of mass and velocity – in trading, this translates to volume and price change.
✅ Uses kinetic energy equations to identify price acceleration zones.
✅ Helps detect momentum shifts before price visibly reacts.
4️⃣ Hilbert Transform Approximation – Slope & Trend Direction Analysis
Applies Hilbert Transforms to estimate trend angle shifts.
✅ Detects momentum decay and early reversal signals.
✅ Captures the true trend slope rather than relying on lagging moving averages.
5️⃣ Wavelet Transform – Advanced Noise Filtering & Trend Confirmation
Market movements contain multiple frequencies – wavelet transforms isolate dominant trends while removing short-term price noise.
✅ Improves trend clarity by reducing false signals.
✅ Acts as a final confirmation filter before generating Charge & Discharge signals.
Charge & Discharge – The Energy Behind Market Moves
🔹 Charge (Uptrend Activation) 
A blue triangle appears below the candle when market conditions align for a strong bullish move.
📈 Indicates momentum buildup, low entropy, and trend strength confirmation.
🔸 Discharge (Downtrend Activation) 
 A purple triangle appears above the candle when price momentum weakens and market entropy increases.
📉 Suggests a potential trend exhaustion or reversal.
Best Use Cases for Traders
✅ Momentum Traders – Catch trend initiations before they gain full traction.
✅ Breakout Traders – Identify high-information flow zones with volatility-driven signals.
✅ Trend Followers – Avoid false signals by relying on entropy-driven confirmations.
The MCT indicator can be combined with any of your usual indicators for trend confirmation.
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.
Uptrick: FRAMA Matrix RSIUptrick: FRAMA Matrix RSI
 Introduction 
 The Uptrick: FRAMA Matrix RSI is a momentum-based indicator that integrates the Relative Strength Index (RSI) with the Fractal Adaptive Moving Average (FRAMA). By applying FRAMA's adaptive smoothing to RSI—and further refining it with a Zero-Lag Moving Average (ZLMA)—this script creates a refined and reliable momentum oscillator. The indicator now includes enhanced divergence detection, potential reversal signals, customizable buy/sell signal options, an internal stats table, and a fully customizable bar coloring system for an enhanced visual trading experience.
 Why Combine RSI with FRAMA
  Traditional RSI is a well-known momentum indicator but has several limitations. It is highly sensitive to price fluctuations, often generating false signals in choppy or volatile markets. FRAMA, in contrast, adapts dynamically to price changes by adjusting its smoothing factor based on market conditions.
By integrating FRAMA into RSI calculations, this indicator reduces noise while preserving RSI's ability to track momentum, adapts to volatility by reducing lag in trending markets and smoothing out choppiness in ranging conditions, enhances trend-following capability for more reliable momentum shifts, and refines overbought and oversold signals by adjusting to the current market structure.
With the new enhancements, such as a manual alpha input, noise filtering, divergence detection, and multiple buy/sell signal options, the indicator offers even greater flexibility and precision for traders. This combination improves the standard RSI by making it more adaptive and responsive to market changes.
 Originality 
This indicator is unique because it applies FRAMA's adaptive smoothing technique to RSI, creating a dynamic momentum oscillator that adjusts to different market conditions. Many traditional RSI-based indicators either use fixed smoothing methods like exponential moving averages or employ basic RSI calculations without adjusting for volatility.
This script stands out by integrating several elements, including the fractal dimension-based smoothing of FRAMA to reduce noise while retaining responsiveness, the use of Zero-Lag Moving Average smoothing to enhance trend sensitivity and reduce lag, divergence detection to highlight mismatches between price action and RSI momentum, a noise filter and manual alpha option to prevent minor fluctuations from generating false signals, customizable buy/sell signal options that let traders choose between ZLMA-based or FRAMA RSI-based signals, an internal stats table displaying real-time FRAMA calculations such as fractal dimension and the adaptive alpha factor, and a fully customizable bar coloring system to visually distinguish bullish, bearish, and neutral conditions.
 Features 
Adaptive FRAMA RSI
 The indicator applies FRAMA to RSI values, making the momentum oscillator adaptive to volatility while filtering out noise. Unlike a traditional RSI that reacts equally to all price movements, FRAMA RSI adjusts its smoothing factor based on market structure, making it more effective for identifying true momentum shifts.
   
Zero-Lag Moving Average (ZLMA)
 A smoothing technique that minimizes lag while preserving the responsiveness of price movements. It is applied to the FRAMA RSI to further refine signals and ensure smoother trend detection.
   
Bullish and Bearish Threshold Crossovers
 This system compares FRAMA RSI to a user-defined threshold (default is 50). When FRAMA RSI moves above the threshold, it indicates bullish momentum, while movement below signals bearish conditions. The enhanced noise filter ensures that only significant moves trigger signals.
Noise Filter and Manual Alpha
 A new noise filter input prevents tiny fluctuations from triggering false signals. In addition, a manual alpha option allows traders to override the automatically computed smoothing factor with a custom value, providing extra control over the indicator’s sensitivity.
   
Divergence Detection
 The indicator identifies divergence patterns by comparing FRAMA RSI pivots to price action. Bullish divergence occurs when price makes a lower low while FRAMA RSI makes a higher low, and bearish divergence occurs when price makes a higher high while FRAMA RSI makes a lower high. These signals can help traders anticipate potential reversals.
   
Reversal Signals
 Labels appear on the chart when FRAMA RSI confirms classic RSI overbought (70) or oversold (30) conditions, providing visual cues for potential trend reversals.
   
Buy and Sell Signal Options
 Traders can now choose between two signal-generation methods. ZLMA-based signals trigger when the ZLMA of FRAMA RSI crosses key overbought (70) or oversold (30) levels, while FRAMA RSI-based signals trigger when FRAMA RSI itself crosses these levels. This added flexibility allows users to tailor the indicator to their preferred trading style.
 ZLMA:
   
 FRAMA:
   
Customizable Alerts
 Alerts notify traders when FRAMA RSI crosses key levels, divergence signals occur, reversal conditions are met, or buy/sell signals trigger. This ensures that important trading events are not missed.
Fully Customizable Bar Coloring System
 Users can color bars based on different conditions, enhancing visual clarity. Bar coloring modes include: FRAMA RSI threshold (bars change color based on whether FRAMA RSI is above or below the threshold), ZLMA crossover (bars change when ZLMA crosses overbought or oversold levels), buy/sell signals (bars change when official signals trigger), divergence (bars highlight when bullish or bearish divergence is detected), and reversals (bars indicate when RSI reaches overbought or oversold conditions confirmed by FRAMA RSI). The system also remembers the last applied bar color, ensuring a smooth visual transition.
 Input Parameters and Features 
 Core Inputs 
 RSI Length (default: 14) defines the period for RSI calculations.
 FRAMA Lookback (default: 16) determines the length for the FRAMA smoothing function.
 RSI Bull Threshold (default: 50) sets the level above which the market is considered bullish and below which it is bearish.
 Noise Filter (default: 1.0) ensures that small fluctuations do not trigger false bullish or bearish signals.
Additional Features
 
 Show Bull and Bear Alerts (default: true) enables notifications when FRAMA RSI crosses the threshold.
 
 
  Enable Divergence Detection (default: false) highlights bullish and bearish divergences based on price and FRAMA RSI pivots.
 
 
 Show Potential Reversal Signals (default: false) identifies overbought (70) and oversold (30) levels as possible trend reversal points.
 
 
 Buy and Sell Signal Option (default: ZLMA) allows traders to choose between ZLMA-based signals or FRAMA RSI-based signals for trade entry.
 
ZLMA Enhancements
 
 ZLMA Length (default: 14) determines the period for the Zero-Lag Moving Average applied to FRAMA RSI.
 
Visualization Options
 
 Show Internal Stats Table (default: false) displays real-time FRAMA calculations, including fractal dimension and the adaptive alpha smoothing factor.
 
   
 
 Show Threshold FRAMA Signals (default: false) plots buy and sell labels when FRAMA RSI crosses the threshold level.
 
 How It Works 
 FRAMA Calculation 
 
 FRAMA dynamically adjusts smoothing based on the price fractal dimension. The alpha smoothing factor is derived from the fractal dimension or can be set manually to maintain responsiveness.
 
 RSI with FRAMA Smoothing 
 
 RSI is calculated using the user-defined lookback period. FRAMA is then applied to the RSI to make it more adaptive to volatility. Optionally, ZLMA is applied to further refine the signals and reduce lag.
 
 Bullish and Bearish Threshold Crosses 
 
 A bullish condition occurs when FRAMA RSI crosses above the threshold, while a bearish condition occurs when it falls below. The noise filter ensures that only significant trend shifts generate signals.
 
 
 Buy and Sell Signal Options 
 
 Traders can choose between ZLMA crossovers or FRAMA RSI crossovers as the basis for buy and sell signals, offering flexibility in trade entry timing.
 
 Divergence Detection 
 
 The indicator identifies divergences where price action and FRAMA RSI momentum do not align, potentially signaling upcoming reversals.
 
 Reversal Signal Labels
 
 
 When classic RSI overbought or oversold levels are confirmed by FRAMA RSI conditions, reversal labels are added on the chart to highlight potential exhaustion points.
 
 Bar Coloring System 
 
 Bars are dynamically colored based on various conditions such as RSI thresholds, ZLMA crossovers, buy/sell signals, divergence, and reversals, allowing traders to quickly interpret market sentiment.
 
 Alerts and Internal Stats 
 
 Customizable alerts notify traders of key events, and an optional internal stats table displays real-time calculations (fractal dimension, alpha value, and RSI values) to help users understand the underlying dynamics of the indicator.
 
 Summary 
 The Uptrick: FRAMA Matrix RSI offers an enhanced approach to momentum analysis by combining RSI with adaptive FRAMA smoothing and additional layers of signal refinement. The indicator now includes adaptive RSI smoothing to reduce noise and improve responsiveness, Zero-Lag Moving Average filtering to minimize lag, divergence and reversal detection to identify potential turning points, customizable buy/sell signal options that let traders choose between different signal methodologies, a fully customizable bar coloring system to visually distinguish market conditions, and an internal stats table for real-time insight into FRAMA calculation parameters.
Whether used for trend confirmation, divergence detection, or momentum-based strategies, this indicator provides a powerful and adaptive approach to trading.
 Disclaimer
 This script is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results. Always conduct proper research and consult with a financial advisor before making trading decisions. 
MMI (Multi.Index.Indicator)Multi-Index Momentum Indicator (MMI) 
The Multi-Index Momentum Indicator (MMI) is a custom TradingView Pine Script indicator designed to calculate and display the momentum difference between the base and quote indexes of various currency pairs. This indicator helps traders identify the relative strength or weakness of a currency pair by comparing the momentum of its base and quote indexes.
 Features: 
Currency Pair Detection: The indicator automatically detects the currency pair of the current chart and selects the appropriate base and quote indexes for that pair.
Index Data Retrieval: It fetches the closing prices of the base and quote indexes for the specified timeframe.
 Momentum Calculation:  
The indicator calculates the 14-period momentum for both the base and quote indexes and then computes the momentum difference.
Visual Representation: The momentum difference is plotted on the chart as a colored line. If the momentum difference is positive, the line is green; if negative, the line is red.
 Data Availability Check:  
The script checks if the index data is available. If any index data is missing, the script displays a red label on the chart indicating which index data is missing.
Zero Line: A horizontal line at the zero level is plotted for reference.
Supported Currency Pairs and Their Indexes:
USDJPY: Base Index - DXY, Quote Index - JPYX
EURUSD: Base Index - EXY, Quote Index - DXY
GBPUSD: Base Index - BXY, Quote Index - DXY
AUDUSD: Base Index - AXY, Quote Index - DXY
USDCHF: Base Index - DXY, Quote Index - SXY
USDCAD: Base Index - DXY, Quote Index - CXY
GBPJPY: Base Index - BXY, Quote Index - JPYX
Momentum Ghost Machine [ChartPrime]Momentum Ghost Machine (ChartPrime)  is designed to be the next generation in momentum/rate of change analysis. This indicator utilizes the properties of one of our favorite filters to create a more accurate and stable momentum oscillator by using a high quality filtered delayed signal to do the momentum comparison. 
Traditional momentum/roc uses the raw price data to compare current price to previous price to generate a directional oscillator. This leaves the oscillator prone to false readings and noisy outputs that leave traders unsure of the real likelihood of a future movement. One way to mitigate this issue would be to use some sort of moving average. Unfortunately, this can only go so far because simple moving average algorithms result in a poor reconstruction of the actual shape of the underlying signal. 
The  windowed sinc  low pass filter is a linear phase filter, meaning that it doesn't change the shape or size of the original signal when applied. This results in a faithful reconstruction of the original signal, but without the "high frequency noise". Just like any filter, the process of applying it requires that we have "future" samples resulting in a time delay for real time applications. Fortunately this is a great thing in the context of a momentum oscillator because we need some representation of past price data to compare the current price data to. By using an ideal low pass filter to generate this delayed signal we can super charge the momentum oscillator and fix the majority of issues its predecessors had. 
This indicator has a few extra features that other momentum/roc indicators dont have. One major yet simple improvement is the inclusion of a moving average to help gauge the rate of change of this indicator. Since we included a moving average, we thought it would only be appropriate to add a histogram to help visualize the relationship between the signal and its average. To go further with this we have also included linear extrapolation to further help you predict the momentum and direction of this oscillator. Included with this extrapolation we have also added the histogram in the extrapolation to further enhance its visual interpretation. Finally, the inclusion of a candle coloring feature really drives how the utility of the  Momentum Machine . 
There are three distinct options when using the candle coloring feature: Direct, MA, and Both. With  direct  the candles will be colored based on the indicators direction and polarity. When it is above zero and moving up, it displays a green color. When it is above zero and moving down it will display a light green color. Conversely, when the indicator is below zero and moving down it displays a red color, and when it it moving up and below zero it will display a light red color. MA coloring will color the candles just like a MACD. If the signal is above its MA and moving up it will display a green color, and when it is above its MA and moving down it will display a light green color. 
When the signal is below its MA and moving down it will display a red color, and when its below its ma and moving up it will display a light red color. Both combines the two into a single color scheme providing you with the best of both worlds. If the indicator is above zero it will display the MA colors with a slight twist. When the indicator is moving down and is below its MA it will display a lighter color than before, and when it is below zero and is above its MA it will display a darker color color.
 Length of 50 with a smoothing of 100 
 Length of 50 with a smoothing of 25 
By default, the indicator is set to a  momentum length  of 50, with a  post smoothing  of 2. We have chosen the longer period for the momentum length to highlight the performance of this indicator compared to its ancestors. A major point to consider with this indicator is that you can only achieve so much smoothing for a chosen delay. This is because more data is required to produce a smoother signal at a specified length. Once you have selected your desired momentum length you can then select your desired  momentum smoothing . This is made possible by the use of the windowed sinc low pass algorithm because it includes a frequency cutoff argument. This means that you can have as little or as much smoothing as you please without impacting the period of the indicator. In the provided examples above this paragraph is a visual representation of what is going on under the hood of this indicator. The blue line is the filtered signal being compared to the current closing price. As you can see, the filtered signal is very smooth and accurately represents the underlying price action without noise.
We hope that users can find the same utility as we did in this indicator and that it levels up your analysis utilizing the momentum oscillator or rate of change. 
 Enjoy 
Momentum Reversal [AngelAlgo]The Momentum Reversal Indicator is a technical analysis tool used to identify potential reversals and trends in financial markets. It does this by comparing the momentum of a market to its trend. The momentum is calculated by measuring the change in price over a specified time interval set by the "Period" input. The trend is then determined as the simple moving average of the momentum, with the length of the moving average determined by the "Trend length" input. When the momentum deviates significantly from the trend, it is considered a potential reversal signal. The user can choose to receive signals based on either "Contrarian" or "Trend" signals type, and also has the option to smooth the signals using the Hull Moving Average. The indicator is plotted as a histogram with trading signals indicated by triangle shapes (up for buys, down for sells). The histogram is also accompanied by a smoothed line representation of the indicator and dynamic threshold levels.
The color of the histogram bars is green if the momentum is positive, red if it's negative. The histogram can be smoothed using the Hull Moving Average (HMA) if the "Smoothed signals" input is set to true.
The indicator also plots the threshold levels, which are dynamically calculated as the simple moving average (SMA) of the absolute value of the histogram. The threshold levels are plotted as circles on the chart.
The signals are plotted as arrows on the chart, either triangle-up for buy signals, or triangle-down for sell signals. If "Contrarian" signals are selected, a triangle-up will appear when the histogram crosses below the lower threshold, and a triangle-down will appear when it crosses above the upper threshold. If "Trend" signals are selected, a triangle-up will appear when the histogram crosses above the upper threshold, and a triangle-down will appear when it crosses below the lower threshold. Trend signals work for trending markets, Contrarian signals are good for ranging markets.
 SETTINGS 
Period: This input allows you to set the period for the momentum calculation. The default value is 14.
Trend length: This input allows you to set the length of the trend-following moving average. The default value is 50.
Signals type : This input allows you to choose the type of signals you want to receive. You can choose between "Contrarian" and "Trend" signals. The default value is "Contrarian".
Smoothed signals: This input allows you to choose between the raw or smoothed signals. If set to true, the signals will be based on the smoothed histogram line, otherwise, they will be based on the raw histogram. The default value is true.
Momentum Trader + Trinity LinesThis is an updated version of the 'Momentum Trader' by user ProfitProgrammers + the 'Bollinger Bands %b & RSI & Stochastic Smoothed Indicator & Alert' by the user Zamboniman.
Links to those original scripts are below:
script/7S49kLWh-Bollinger-Bands-b-RSI-Stochastic-Smoothed-Indicator-Alert/
script/OMULR9es-Momentum-Trader/
The only real updates are so that it works on Version 4 of pinescript and some color and visual updates that makes these two scripts work well together. This must be used on normal candles and not HA or any other types or you can get misleading entry / exit points.
Here is some info about this indicator and the moving parts within it:
 Chande Momentum Oscillator: 
-Measures trend strength, with higher absolute values meaning greater strength.
-Also tracks divergence. When price increases, but is not accompanied by an increase in Chande Momentum Oscillator values, it signifies bearish divergence and a reversal is likely to follow.
-Shown as the teal and pink histogram.
 Percentage Price Oscillator: 
-Similar to the MACD , except that it expresses the difference between the two moving averages in terms of a percentage. This makes it a little easier to visualize.
-PPO values greater than zero indicate an uptrend, as that means the fast EMA is greater than the slow (and vice versa).
 Trinity Lines:  
-These 3 colored lines at the top are RSI + normalized Bollinger Band &b + normalized smoothed Stochastic.
-A confirmation entry for a long is when the lines are in the order from top to bottom of Green Yellow Red.
 Entry and Exit Conditions: 
Enter When:
1) Chande Momentum crosses over zero from negative to positive territory. AND
2) Chande Momentum is rising(positive slope). AND
3) Trinity lines are Green, Yellow, Red (Top to bottom)
Exit When:
1) Chande Momentum is greater than the upper line. AND
2) PPO has a negative slope. AND
3) Trinity lines are Red, Yellow, Green (Top to bottom)
Neglected Volume by DGTVolume  is one piece of information that is often neglected, however, learning to interpret volume brings many advantages and could be of tremendous help when it comes to analyzing the markets. In addition to technicians, fundamental investors also take notice of the numbers of shares traded for a given security.
 What is Volume?
 The volume represents all the recorded trades for a security that occurs in a given time interval. It is a measurement of the participation, enthusiasm, and interest in a given security. Think of volume as the force that drives the market. Volume substantiates, energizes, and empowers price. When volume increases, it confirms price direction; when volume decreases, it contradicts price direction. 
In theory, increases in volume generally precede significant price movements. However, If the price is rising in an uptrend but the volume is reducing or unchanged, it may show that there’s little interest in the security, and the price may reverse. 
A high volume usually indicates more interest in the security and the presence of institutional traders. However, a rapidly rising price in an uptrend accompanied by a huge volume may be a sign of exhaustion.
Traders usually look for breaks of support and resistance to enter positions. When security break critical levels without volume, you should consider the breakout suspect and prime for a reversal off the highs/lows
Volume spikes are often the result of news-driven events. Volume spike will often lead to sharp reversals since the moves are unsustainable due to the imbalance of supply and demand
 note : there’s no centralized exchange where trades are recorded, so the volume data represents what happens at a particular exchange only
In most charting platforms, the volume indicator is presented as color-coded bars, green if the security closes up and red if the security closed lower, where the height of the bars show the amount of the recorded trades
Within this study,  Relative Volume ,  Volume Weighted Bars  and  Volume Moving Average  are presented, where Relative Volume relates current trading volume to past trading volume over long period, Volume Weighted Bars presents price bars colored based on short period past trading volume average, and Volume Moving Average is average of volume over shot period 
Relative Volume is presented as color-coded bars similar to regular Volume indicator but uses four color codes instead two. Notable increases of volume are presented in green and red while average values with back and gray, hence adding ability to emphasis notable increases in the volume. It is kind of a like a radar for how "in-play" a security is. Users are allowed to change the threshold, default value is set to Fibonacci golden ration standard deviation away from its moving average.
Volume Weighted Bars, a study of Kıvanç Özbilgiç, aims to present if price movements are supported by Volume. Volume Weighted Bars are calculated based on shot period volume moving average which will reflect more recent changes in volume. Price actions with high volume will be displayed with darker colors, average volume values will remain as they are and low volume values will be indicated with lighter colors.
Volume Moving Average, Is short period volume moving average, aims to display visually the volume changes. Please not that Relative Volume bars are calculated based on standard deviation of long volume moving average.  
 What Else?
 
Apart from the volume itself, your ability to assess what volume is telling you in conjunction with price action can be a key factor in your ability to turn a profit in the market. It makes little sense to analyze the volume alone. To correctly interpret the volume data, it shall be seen in the light of what the price is doing. there are a lot of other indicators that are based on the volume data as well as price action. Analysing those volume indicators has always helped traders and investors to better understand what is happening in the market. 
Here are the ones adapted with this study. Some of them used as a source for our aim, some adapted as they are with slight changes to fit visually to this study and please note that the numerical presentation may differ from their regular use
•	On Balance Volume
•	Divergence Indicator
•	Correlation Coefficient 
•	Chaikin Money Flow 
Shortly; 
 On Balance Volume
 The On Balance Volume indicator,  is a technical analysis indicator that relates volume flow to changes in a security’s price. It uses a cumulative total of positive and negative trading volume to predict the direction of price. The OBV is a volume-based momentum oscillator, so it is a leading indicator — it changes direction before the price
Granville, creator of OBV, proposed the theory that changes in volume precede price movements in a measurable way. He believed that volume was  the main force behind major market moves  and thought of OBV’s prediction of price changes as a compressed spring that expands rapidly when released.
It is believed that the OBV shows the interactions between the institutional and retail traders in the market
If the price makes a new high, the OBV should also make a new high. If the OBV makes a lower high when the price makes a higher high, there’s a classical bearish divergence — indicating that only the retail traders are buying. Another type of bearish divergence occurs when the price remains relatively quiet and fails to make a higher high but the OBV soars higher than the previous high — indicating that the institutional traders are accumulating short positions. On the other hand, if the price makes a lower low and the OBV makes a higher low, there is a classical bullish divergence, showing that the institutional traders don’t believe in that move
With this study,  Momentum  and Acceleration (optional) of OBV is calculated  and presented, where momentum is most commonly referred to as a rate and measures the acceleration of the price and/or volume of a security. It is also referred to as a technical analysis indicator and oscillator that is able to determine market trends. 
Additionally,  smoothing  functionality with Least Squares Method is added 
 Divergences  especially, should always be noted as a possible reversal in the current trend, so the divergence indicator is adapted with this study where the Momentum of OBV is assumed as Oscillator with similar usages as to RSI. Divergence is most often used to track and analyze the momentum in an asset’s price and the odds of a price reversal within the current trend. The divergence indicator warns traders and technical analysts of changes in a price/volume trend, oftentimes that it is weakening or changing direction.
 Correlation Coefficient
 The correlation coefficient is a statistical measure of the strength of the relationship between the relative movements of two variables.  A correlation of -1.0 shows a perfect negative correlation, while a correlation of 1.0 shows a perfect positive correlation. A correlation of 0.0 shows no linear relationship between the movement of the two variables. In other words, the closer the Correlation Coefficient is to 1.0, indicates the instruments will move up and down together as it is mostly expected with volume and price. So the Correlation Coefficient Indicator aims to display when the price and volume (on balance volume) is in correlation and when not. With this study blue represent positive correlation while orange negative correlation. The strength of the correlation is determined by the width of the bands, to emphasis the effect horizontal lines are drawn with values set to 0.5 and -0.5. the values above 0.5 (or below -0.5) shows stronger correlation.  
 Chaikin Money Flow , provide optionally as a companion indicator 
The Chaikin money flow indicator (CMF) is a volume indicator that measures the money flow volume over a chosen period. The money flow volume is a measure of the volume and where the price closed relative to the trading session’s range. It comes from the idea that buying pressure is indicated by a rising volume and recurrent closes in the upper part of the session’s price range while selling pressure is demonstrated by an increasing volume and repeated closes in the lower part of the price range.
Both buying and selling pressures are accompanied by an increase in volume, but the location of the closing prices are in accordance with the direction of price
Special thanks to  @InvestCHK  and  @hjsjshs , who have enormously contributed while preparing this study 
 related studies:
 
 Disclaimer:
 Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Momentum TraderThis study combines two versatile momentum indicators :
 Chande Momentum Oscillator: 
-Measures trend strength, with higher absolute values meaning greater strength. 
-Also tracks divergence. When price increases, but is not accompanied by an increase in Chande Momentum Oscillator values,  it signifies bearish divergence and a reversal is likely to follow. 
-Shown as the teal and pink histogram.
 Percentage Price Oscillator: 
-Similar to the MACD, except that it expresses the difference between the two moving averages in terms of a percentage. This makes it a little easier to visualize. 
-PPO values greater than zero indicate an uptrend, as that means the fast EMA is greater than the slow (and vice versa). 
 Entry and Exit Conditions: 
Enter When: 
1) Chande Momentum crosses over zero from negative to positive territory. AND 
        2) It has been less than 3 bars since Chande Momentum was less than the lower green line. AND 
                3) Chande Momentum is rising(positive slope). 
Exit When:
1) Chande Momentum is greater than the upper line. AND 
        2) It has been less than 6 bars since the PPO value was greater than the upper bound. AND 
                3) PPO is less than 5 (meaning the difference between the two EMA's is less than 5%). AND 
                        4)PPO has a negative slope. 
This study comes with alert conditions for long entries and exits. 
~Happy Trading~
Trend-Strong Candle - 3 EMAs with Filters# Trend-Strong Candle - Professional Trading Indicator
## 📊 What It Does
Identifies high-probability entries by combining triple EMA trend analysis with strong candle detection. Only signals when all conditions align for maximum accuracy.
## 🎯 Core Features
- Triple EMA System: Fast (20) / Medium (50) / Slow (200) for trend confirmation
- Strong Candle Filter: ATR-based sizing ensures genuine momentum
- Advanced Filters: EMA close validation + trend stability checks
- Live Alerts: Instant notifications for real-time signals
- Session Filter: Trade only during active EU/US market hours
## ⚡ Quick Setup
Scalping (1-5min): Default settings + enable session filter  
Day Trading (15-60min): Default settings work perfectly  
Swing Trading (4H+): Increase ATR multiplier to 0.8-1.0
## 📈 Trading Rules
 Long Signals: Green triangle below candle
- Strong bullish candle during confirmed uptrend
- All EMAs properly aligned (Fast > Medium > Slow)
 Short Signals: Red triangle above candle  
- Strong bearish candle during confirmed downtrend
- All EMAs properly aligned (Fast < Medium < Slow)
## ⚠️ Critical Success Factors
 1. Always Verify the Trend Yourself
The indicator helps identify signals, but YOU must confirm the larger trend context. Check higher timeframes and overall market structure before entering.
 2. Understand the "Big Players"  
Strong candles in trend direction usually come from institutional money (banks, funds, algorithms). These create the momentum that retail traders can follow. The indicator catches these institutional moves.
 3. Distance to Next Value Level
NEVER enter if price is too close to major resistance/support levels:
- Check distance to round numbers (1.1000, 1.1050, etc.)
- Ensure at least 20-30 pips room to next key level
- You need space for profit - tight levels = limited upside
 4. Risk Management
- Stop Loss: 1-2 ATR from entry
- Take Profit: 2-3 ATR target (minimum 1:2 R/R)
- Position Size: Risk max 1-2% per trade
## 💡 Pro Tips
- Best Sessions: London open (8-12 UTC) and NY open (13-17 UTC)
- Avoid: Major news, low liquidity periods, choppy markets
- Multiple Timeframes: Confirm signals on higher timeframe
- Value Levels: Always check daily/weekly support/resistance before entering
## 🎯 Success Formula
Trend Confirmation + Strong Institutional Candle + Distance to Value Levels = High Probability Trade
*
Remember: The indicator finds the signals, but successful trading requires your analysis of trend context and value level positioning. Trade smart, not just frequent.
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.
Momentum x Volume (Thrust + Surge)highlights bars where trend, momentum, and volume align. It filters for an uptrend (EMA pair or VWAP), confirms thrust with MACD histogram, measures momentum quality with volume-weighted RSI (vwRSI), and requires a volume surge vs a rolling average before signaling. The goal: surface higher-conviction breakouts and breakdowns while avoiding weak, low-volume moves.
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.
Momentum Oscillator ModifiedThis indicator is a custom momentum oscillator enhanced with True Range-adjusted price logic and dynamic Bollinger Bands, offering a refined way to track price strength, momentum shifts, and overbought/oversold extremes with reduced noise.
Key Features:
Dynamic Price Oscillator:
Measures momentum using both price change and a volatility-adjusted price for greater accuracy.
Smoothing factor lets you fine-tune the balance between responsiveness and noise filtering.
True Range-Based Volatility Adjustment:
Integrates true range calculations to adapt to current volatility, making signals more robust during different market conditions.
Adaptive Bollinger Bands:
Two sets of custom Bollinger Bands (standard and expanded) are drawn around the oscillator, adapting over time.
These bands help identify when momentum is exceptionally strong or weak relative to recent history.
Special fills dynamically highlight when the oscillator breaks above/below the bands, signaling potential trend extremes.
Customization:
Easily adjust lookback length and smoothing factor to fit your personal trading style (e.g., scalping or swing trading).
How to Use:
Watch for the oscillator crossing above the green Bollinger Bands or below the red bands for potential overbought/oversold or breakout scenarios.
Expanded bands provide a "super extreme" zone which may hint at exhaustion or trend climax.
The dynamic mean (black line) gives a visual reference for the normalized momentum level.
MACD-RSI Divergence OscillatorMACD-RSI Divergence Oscillator: Dual Confirmation with Momentum + Divergence Signals 
This powerful oscillator combines MACD and RSI into a single normalized visual tool, enriched with automatic divergence detection and smart signal alerts. It’s designed to give traders advanced insights into momentum shifts and trend reversals.
 Key Features: 
	•	MACD + RSI Combo: Both indicators are scaled and merged into one oscillator for clearer interpretation.
	•	Automatic Divergence Detection:
	    •	Bullish & Bearish divergences on both MACD and RSI
	    •	Highlights strong divergences when both confirm
	•	Trading Signals:
	    •	Detects MACD crossovers and RSI reversals
	    •	Smart buy/sell signals based on momentum + divergence
	•	Custom Oscillator View:
	    •	Plots MACD and RSI on the same scale
	    •	Visual zero-line, overbought/oversold levels, and customizable colors
	•	Optional Dashboard Table:
	    •	Displays live indicator values, signal states, and divergence status
  Ideal For: 
	•	Spotting early trend reversals
	•	Confirming trade entries/exits
	•	Avoiding false signals using dual indicator logic
Highly customizable and suitable for all timeframes and asset types.






















