MACD-V MomentumThe MACD-V (Moving Average Convergence Divergence – Volatility Normalized) is an award-winning momentum indicator created by Alex Spiroglou, CFTe, DipTA (ATAA). It improves on the traditional MACD by normalizing momentum with volatility, solving several well-known limitations of classic indicators:
✅ Time stability – readings are consistent across history
✅ Cross-market comparability – works equally on stocks, crypto, forex, and commodities
✅ Objective momentum framework – universal thresholds at +150 / -150, +50 / -50
✅ Cleaner signals – reduces false signals in ranges and lag in high momentum
By dividing the MACD spread by ATR, the indicator expresses momentum in volatility units, allowing meaningful comparison across timeframes and markets.
MACD-V defines seven objective momentum states:
Risk (Oversold): below -150
Rebounding: -150 to +50 and above signal
Rallying: +50 to +150 and above signal
Risk (Overbought): above +150
Retracing: above -50 and below signal
Reversing: -150 to -50 and below signal
Ranging: between -50 and +50 for N bars
Optional background tints highlight the active regime (Bull above 200-MA, Bear below 200-MA).
Rare extremes (e.g., MACD-V < -100 in a bull regime) are tagged for additional context.
Use Cases
Identify and track momentum lifecycles across any market
Spot rare extremes for potential reversal opportunities
Filter out low-momentum whipsaws in ranging conditions
Compare momentum strength across multiple symbols
Support systematic and rule-based strategy development
K-macd
Moving Average Convergence Divergence Zero LagMACD with zero lag. Implementation - double MACD on fast and slow timeframes before MACD on the difference between the two.
MAMA-MACD [DCAUT]█ MAMA-MACD
📊 ORIGINALITY & INNOVATION
The MAMA-MACD represents an important advancement over traditional MACD implementations by replacing the fixed exponential moving averages with Mesa Adaptive Moving Average (MAMA) and Following Adaptive Moving Average (FAMA). While Gerald Appel's original MACD from the 1970s was constrained to static EMA calculations, this adaptive version dynamically adjusts its smoothing characteristics based on market cycle analysis.
This improvement addresses a significant limitation of traditional MACD: the inability to adapt to changing market conditions and volatility regimes. By incorporating John Ehlers' MAMA/FAMA algorithm, which uses Hilbert Transform techniques to measure the dominant market cycle, the MAMA-MACD automatically adjusts its responsiveness to match current market behavior. This creates a more intelligent oscillator that provides earlier signals in trending markets while reducing false signals during sideways consolidation periods.
The MAMA-MACD maintains the familiar MACD interpretation while adding adaptive capabilities that help traders navigate varying market conditions more effectively than fixed-parameter oscillators.
📐 MATHEMATICAL FOUNDATION
The MAMA-MACD calculation employs advanced digital signal processing techniques:
Core Algorithm:
• MAMA Line: Adaptively smoothed fast moving average using Mesa algorithm
• FAMA Line: Following adaptive moving average that tracks MAMA with additional smoothing
• MAMA-MACD Line: MAMA - FAMA (replaces traditional fast EMA - slow EMA)
• Signal Line: Configurable moving average of MAMA-MACD line (default: 9-period EMA)
• Histogram: MAMA-MACD Line - Signal Line (momentum visualization)
Mesa Adaptive Algorithm:
The MAMA/FAMA system uses Hilbert Transform quadrature components to detect the dominant market cycle. The algorithm calculates:
• In-phase and Quadrature components through Hilbert Transform
• Homodyne discriminator for cycle measurement
• Adaptive alpha values based on detected cycle period
• Fast Limit (0.1 default): Maximum adaptation rate for MAMA
• Slow Limit (0.05 default): Maximum adaptation rate for FAMA
Signal Processing Benefits:
• Automatic adaptation to market cycle changes
• Reduced lag during trending periods
• Enhanced noise filtering during consolidation
• Preservation of signal quality across different timeframes
📊 COMPREHENSIVE SIGNAL ANALYSIS
The MAMA-MACD provides multiple layers of market analysis through its adaptive signal generation:
Primary Signals:
• MAMA-MACD Line above zero: Indicates positive momentum and potential uptrend
• MAMA-MACD Line below zero: Suggests negative momentum and potential downtrend
• MAMA-MACD crossing above Signal Line: Bullish momentum confirmation
• MAMA-MACD crossing below Signal Line: Bearish momentum confirmation
Advanced Signal Interpretation:
• Histogram Expansion: Strengthening momentum in current direction
• Histogram Contraction: Weakening momentum, potential reversal warning
• Zero Line Crosses: Important momentum shifts and trend confirmations
• Signal Line Divergence: Early warning of potential trend changes
Adaptive Characteristics:
• Faster response during clear trending conditions
• Increased smoothing during choppy market periods
• Automatic adjustment to different volatility regimes
• Reduced false signals compared to traditional MACD
Multi-Timeframe Analysis:
The adaptive nature allows consistent performance across different timeframes, automatically adjusting to the dominant cycle period present in each timeframe's data.
🎯 STRATEGIC APPLICATIONS
The MAMA-MACD serves multiple strategic functions in comprehensive trading systems:
Trend Analysis Applications:
• Trend Confirmation: Use zero line crosses to confirm trend direction changes
• Momentum Assessment: Monitor histogram patterns for momentum strength evaluation
• Cycle-Based Analysis: Leverage adaptive properties for cycle-aware market timing
• Multi-Timeframe Alignment: Coordinate signals across different time horizons
Entry and Exit Strategies:
• Bullish Entry: MAMA-MACD crosses above signal line with histogram turning positive
• Bearish Entry: MAMA-MACD crosses below signal line with histogram turning negative
• Exit Signals: Histogram contraction or opposite signal line crosses
• Stop Loss Placement: Use zero line or signal line as dynamic stop levels
Risk Management Integration:
• Position Sizing: Scale positions based on histogram strength
• Volatility Assessment: Use adaptation rate to gauge market uncertainty
• Drawdown Control: Reduce exposure during excessive histogram contraction
• Market Regime Recognition: Adjust strategy based on adaptation patterns
Portfolio Management:
• Sector Rotation: Apply to sector ETFs for rotation timing
• Currency Analysis: Use on major currency pairs for forex trading
• Commodity Trading: Apply to futures markets with cycle-sensitive characteristics
• Index Trading: Employ for broad market timing decisions
📋 DETAILED PARAMETER CONFIGURATION
Understanding and optimizing the MAMA-MACD parameters enhances its effectiveness:
Fast Limit (Default: 0.1):
• Controls maximum adaptation rate for MAMA line
• Range: 0.01 to 0.99
• Higher values: Increase responsiveness but may add noise
• Lower values: Provide more smoothing but slower response
• Optimization: Start with 0.1, adjust based on market characteristics
Slow Limit (Default: 0.05):
• Controls maximum adaptation rate for FAMA line
• Range: 0.01 to 0.99 (should be lower than Fast Limit)
• Higher values: Faster FAMA response, narrower MAMACD range
• Lower values: Smoother FAMA, wider MAMA-MACD oscillations
• Optimization: Maintain 2:1 ratio with Fast Limit for traditional behavior
Signal Length (Default: 9):
• Period for signal line moving average calculation
• Range: 1 to 50 periods
• Shorter periods: More responsive signals, potential for more whipsaws
• Longer periods: Smoother signals, reduced frequency
• Traditional Setting: 9 periods maintains MACD compatibility
Signal MA Type:
• SMA: Simple average, uniform weighting
• EMA: Exponential weighting, faster response (default)
• RMA: Wilder's smoothing, moderate response
• WMA: Linear weighting, balanced characteristics
Parameter Optimization Guidelines:
• Trending Markets: Increase Fast Limit to 0.15-0.2 for quicker response
• Sideways Markets: Decrease Fast Limit to 0.05-0.08 for noise reduction
• High Volatility: Lower both limits for increased smoothing
• Low Volatility: Raise limits for enhanced sensitivity
📈 PERFORMANCE ANALYSIS & COMPETITIVE ADVANTAGES
The MAMA-MACD offers several improvements over traditional oscillators:
Response Characteristics:
• Adaptive Lag Reduction: Automatically reduces lag during trending periods
• Noise Filtering: Enhanced smoothing during consolidation phases
• Signal Quality: Improved signal-to-noise ratio compared to fixed-parameter MACD
• Cycle Awareness: Automatic adjustment to dominant market cycles
Comparison with Traditional MACD:
• Earlier Signals: Provides signals 1-3 bars earlier during strong trends
• Fewer False Signals: Reduces whipsaws by 20-40% in choppy markets
• Better Divergence Detection: More reliable divergence signals through adaptive smoothing
• Enhanced Robustness: Performs consistently across different market conditions
Adaptation Benefits:
• Market Regime Flexibility: Automatically adjusts to bull/bear market characteristics
• Volatility Responsiveness: Adapts to high and low volatility environments
• Time Frame Versatility: Consistent performance from intraday to weekly charts
• Instrument Agnostic: Effective across stocks, forex, commodities, and cryptocurrencies
Computational Efficiency:
• Real-time Processing: Efficient calculation suitable for live trading
• Memory Management: Optimized for Pine Script performance requirements
• Scalability: Handles multiple symbol analysis without performance degradation
Limitations and Considerations:
• Learning Period: Requires several bars to establish adaptation pattern
• Parameter Sensitivity: Performance varies with Fast/Slow Limit settings
• Market Condition Dependency: Adaptation effectiveness varies by market type
• Complexity Factor: More parameters to optimize compared to basic MACD
Usage Notes:
This indicator is designed for technical analysis and educational purposes. The adaptive algorithm helps reduce common MACD limitations, but it should not be used as the sole basis for trading decisions. Algorithm performance varies with market conditions, and past characteristics do not guarantee future results. Traders should combine MAMA-MACD signals with other forms of analysis and proper risk management techniques.
CCI MACDCCI and MACD in one indicator. CCI implementation with MACD like histogram. The result is the same as MACD with zero log.
Anchored Volume-Weighted RSI & Multi-Normalized MACDAnchored Volume-Weighted RSI & Multi-Normalized MACD
Author: NEPOLIX
Overview
The "Anchored Volume-Weighted RSI & Multi-Normalized MACD" is a sophisticated Pine Script v6 indicator designed for TradingView. It combines an Anchored Volume-Weighted Relative Strength Index (VW-RSI) with a Multi-Normalized Moving Average Convergence Divergence (MACD) to provide traders with enhanced market analysis tools. This indicator allows for customizable anchoring, multiple normalization techniques, and stepped visualization for precise trend and momentum analysis.
Features
Anchored VW-RSI: Calculates a volume-weighted RSI anchored to a user-defined or auto-detected time point, offering a unique perspective on momentum with volume influence.
Multi-Normalized MACD: Supports various normalization methods, including Volume-Weighted, Min-Max, Volatility, Hyperbolic Tangent, Arctangent, and Min-Max with Smoothing, ensuring adaptability to different market conditions.
Flexible Anchoring: Choose from auto-detected anchor modes (1-day, 5-day, 30-day) or manual anchor time selection for tailored analysis starting from a specific point.
Stepped Visualization: Optional stepped mode for RSI and MACD values, reducing noise and highlighting significant changes based on user-defined thresholds.
Smoothing Options: Supports multiple moving average types (SMA, EMA, SMMA, WMA, VWMA) for RSI smoothing, with optional Bollinger Bands for volatility analysis.
Derivative Analysis: Plots derivatives for RSI and MACD to identify rate-of-change trends, with adjustable scaling and filtering.
Customizable Display: Options to toggle MACD line, signal line, histogram, and cross-point dots, with dynamic color changes based on market conditions.
Multi-Timeframe Support: Fetch data from higher timeframes for broader market context.
User-Friendly Inputs: Comprehensive input settings for general parameters, anchor settings, RSI, MACD, derivatives, and display options, organized into clear groups.
How It Works
VW-RSI: Computes a volume-weighted RSI by anchoring calculations to a specified time, using volume-weighted gains and losses for a more robust momentum indicator.
MACD Normalizations: Applies user-selected normalization techniques to the MACD, scaling it within defined bounds (-50 to 50 by default) for consistent comparison across instruments.
Anchoring Mechanism: Aligns calculations to a user-defined or auto-calculated anchor point (e.g., market open time adjusted for America/New_York timezone).
Stepped Mode: Discretizes RSI and MACD values into sections for clearer trend identification, with customizable section width and zero range.
Visualization: Plots RSI, MACD, signal lines, and histograms, with optional Bollinger Bands, derivatives, and stepped lines. Dynamic coloring highlights crossovers and histogram trends.
Use Cases
Trend Analysis: Use the anchored VW-RSI and normalized MACD to identify momentum shifts and trend strength.
Reversal Detection: Monitor overbought/oversold levels and MACD crossovers for potential reversal points.
Volatility Assessment: Leverage Bollinger Bands and volatility-normalized MACD for insights into market volatility.
Custom Strategies: Export variables (RSI, MACD, signal, etc.) for use in companion scripts or automated trading strategies.
Settings
General: Adjust section width, zero range, timeframe, and enable stepped mode.
Anchor Settings: Select auto or manual anchor modes, with options for 1-day, 5-day, or 30-day auto-anchoring, or manual bar selection.
RSI: Configure price source, length, smoothing type, Bollinger Bands multiplier, and derivative settings.
MACD: Set price source, fast/slow/signal lengths, normalization types, and derivative parameters.
Derivatives: Customize scale factors and filters for RSI and MACD derivatives.
Display Options: Toggle visibility of MACD, signal line, histogram, and crossover dots, with options for color changes.
Notes
Ensure the anchor time is valid when using manual mode by selecting a bar on the chart.
Normalization options should be chosen based on the instrument and market conditions for optimal results.
Stepped mode is ideal for reducing noise in volatile markets but requires careful threshold tuning.
The indicator is computationally intensive due to multiple normalizations; test on smaller datasets if performance issues arise.
MACD Aspray Hybrid Strategy The MACD Aspray Hybrid Strategy is a trend-following trading system based on a modified version of the MACD indicator.
MACD Aspray Hybrid Strategy The MACD Aspray Hybrid Strategy is a trend-following trading system based on a modified version of the MACD indicator.
Sk-Macd TrendPublication Note for "Sk Macd Trend" IndicatorWe are excited to announce the release of the "Sk Macd Trend" indicator, a robust and versatile tool designed for traders to identify market trends, momentum, and potential reversal points. This indicator, developed by Sujeetjeet1705, is licensed under the Mozilla Public License 2.0 (mozilla.org).Key Features:Wave Trend Oscillator:Customizable channel length, average length, and overbought/oversold levels.
Optional Laguerre smoothing for enhanced signal clarity using a configurable gamma factor.
Visualizes MACD and Signal lines to track momentum and trend direction.
Histogram:Displays the difference between MACD and Signal as a histogram (Hist), with color-coded bars to indicate bullish or bearish momentum strength.
Supports both SMA and EMA for oscillator and signal line calculations, with adjustable signal smoothing.
Trailing Stop:Implements ATR-based trailing stops for bullish and bearish positions, with customizable multiplier and line width.
Option to filter signals based on trend direction (MACD above/below zero).
Visual cues for trailing stop initiations and stop-loss hits, enhancing trade management.
Divergence Detection:Identifies regular and hidden bullish/bearish divergences on both the Signal line and Hist (histogram).
Configurable lookback periods and range settings for precise divergence detection.
Clear visual labels and color-coded plots for easy interpretation of divergence signals.
Usage:Wave Trend Settings: Adjust channel length, average length, and overbought/oversold levels to suit your trading style.
Histogram Settings: Enable/disable the histogram and choose between SMA or EMA for smoothing.
Trailing Stop: Enable trend-based filtering and tweak the ATR multiplier for tighter or looser stops.
Divergence Settings: Customize pivot lookback and range parameters to detect divergences that align with your strategy.
Notes:The indicator is non-overlay and designed for use in a separate panel below the price chart.
Visual elements include MACD and Signal lines, Hist bars, buy/sell signals, trailing stop lines, and divergence labels for comprehensive analysis.
The code is optimized for performance with a maximum of 100 polylines for trailing stops.
Licensing:This indicator is released under the Mozilla Public License 2.0. For details, visit mozilla.org by ©Sujeetjeet1705, this indicator combines advanced technical analysis tools to empower traders with actionable insights. We encourage feedback and suggestions to further enhance its functionality.Happy trading!
Sujeetjeet1705
Volume-Weighted RSI & Multi-Normalized MACD Overlay**Description**:
The "Volume-Weighted RSI & Multi-Normalized MACD Overlay" is a sophisticated indicator that plots a volume-weighted Relative Strength Index (VW-RSI) and a customizable Moving Average Convergence Divergence (MACD) directly on the price chart, enhancing momentum and trend analysis for traders. Designed for stocks, forex, crypto, and more, it supports multi-timeframe (MTF) analysis and offers flexible normalization and scaling options for precise visualization.
**Key Features**:
- **Volume-Weighted RSI**: A volume-sensitive RSI normalized to a configurable range (default: -50/+50), with optional smoothing (SMA, EMA, WMA, VWMA, SMMA, or Bollinger Bands). Overbought (+20) and oversold (-20) lines are plotted relative to a user-defined price source (default: ohlc4).
- **Multi-Normalized MACD**: Supports five bounded normalization methods: Min-Max, Volatility Min-Max, Hyperbolic Tangent, Arctangent, and Min-Max with Smoothing, scaled to the same range as RSI for unified analysis.
- **Price Chart Overlay**: Plots RSI, RSI MA, MACD, MACD Signal, zero-line, overbought (+20), and oversold (-20) lines, anchored to a customizable price source (e.g., ohlc4, hl2).
- **Flexible Scaling**: Choose between high/low range (default) or ATR-based scaling, with separate lookbacks for RSI and MACD (default: 128). Adjust offset and scale factor multipliers for fine-tuned visuals.
- **Customizable Display**: Toggles for RSI (with MA), MACD (with Signal), zero-line, overbought/oversold lines, and RSI background coloring (>20/< -20). Dynamic MACD colors (cyan/magenta) and transparency options enhance clarity.
**How to Use**:
1. Add to any chart (e.g., BTCUSD, SPY, 1H, 1D).
2. Configure settings:
- **General**: Set bounds (-50/+50), timeframe, scaling (high/low or ATR), zero-line source (e.g., ohlc4), and multipliers.
- **RSI**: Adjust price source, length (9), and smoothing options.
- **MACD**: Select price source, lengths (9/21/9), and normalization (e.g., Volatility Min-Max).
- **Display Options**: Toggle lines and background; adjust transparency.
3. Interpret signals: RSI > +20 (overbought), < -20 (oversold); MACD/Signal crosses for momentum; zero-line as reference.
4. Use with the companion "Volume-Weighted RSI & Multi-Normalized MACD" script for pane-based analysis if desired.
**Why Use It?**
Ideal for traders seeking a visually intuitive overlay of RSI and MACD on price action, with customizable scaling and MTF support. Perfect for trend-following, mean-reversion, and cross-market strategies.
**Notes**:
- Ensure a bounded normalization (e.g., Volatility Min-Max) is selected for MACD plotting.
- Adjust scaling multipliers for optimal visibility on volatile assets.
- Feedback welcome to enhance future versions!
**Author**: nepolix
BR Cross Swing - MACD HistRawThis strategy looks at the MACD Relationship through the same logic but mainly focuses on breaking things down and the application on raw values.
Sols Day Trading Signals (5m / 10m)This indicator is designed for day trading on the 5-minute and 10-minute charts.
Includes:
EMA 9 & EMA 21 crossover signals
MACD momentum confirmation
RSI trend filter (50+)
Buy/Sell labels directly on the chart
💡 How to Use:
Go long when EMA 9 crosses above EMA 21, MACD is positive, and RSI is above 50
Go short when EMA 9 crosses below EMA 21, MACD is negative, and RSI is below 50
Best used with proper risk management (1-2% per trade)
⚠️ Disclaimer: This is for educational purposes only — always backtest and trade responsibly.
AlgoPilotX - Breakout & Breakdown Meter (v1)Version Note:
This is a revised and improved version of the AlgoPilotX – Breakout & Breakdown Meter. It includes expanded explanations of the underlying logic, variable usage, and originality to comply with TradingView guidelines.
AlgoPilotX – Breakout & Breakdown Meter is a structured trading tool that combines Fair Value Gap (FVG) detection, session-based support/resistance breakouts, and a clean market condition info panel. It’s designed to help traders spot potential setups early and confirm stronger breakouts or breakdowns with context from momentum, volatility, and trend indicators.
How It Works
Session Levels → The first candle high/low of the session defines dynamic support/resistance. Unlike static pivots, these levels update with each new trading session and reflect real intraday sentiment.
Fair Value Gaps (FVGs) → A three-candle imbalance highlights inefficiencies. When detected, the script marks the open of the third candle as a potential entry (light green/red arrow).
Pullback Confirmations → If price pulls back into session support/resistance and then breaks away strongly, a stronger entry signal (dark green/red arrow) is plotted.
Breakouts & Breakdowns → Additional arrows appear when price crosses decisively above resistance or below support.
Signal Hierarchy → Arrows vary by color/size:
Light = early/potential setups.
Dark/Large = stronger confirmations.
Info Panel Dashboard → RSI, MACD, Bollinger Bands, and EMAs are displayed in a compact table with both numeric values and Bullish/Bearish/Neutral states, color-coded for quick interpretation.
How the Functions and Variables Work Together
Session Levels (Support & Resistance)
The script uses time() and session inputs to identify the first candle of the chosen trading session.
Variables sessionHigh and sessionLow are stored with var so they persist until the next session.
These levels are then plotted as dynamic support/resistance lines. This approach is different from static pivots or daily highs/lows, because it adapts in real-time to the market open.
Fair Value Gap (FVG) Detection
Conditions check for three-candle imbalances ( low > high for bullish, high < low for bearish).
When detected, a potential entry is marked at the open of the third candle.
Variables fvgBull and fvgBear define this logic , making FVGs a core entry condition rather than a side overlay.
Entry Hierarchy (Light vs. Dark Arrows)
longPotentialEntry and shortPotentialEntry mark light green/red arrows as early signals.
pullbackToSupport and pullbackToResistance build on these by requiring price to return to session levels and then break away again.
This creates the dark green/red arrows for stronger entries, introducing a two-step filtering process.
Breakout & Breakdown Detection
breakAbove = ta.crossover(close, sessionHigh)
breakBelow = ta.crossunder(close, sessionLow)
These conditions confirm true breakouts or breakdowns beyond support/resistance, reducing noise.
Info Panel Construction
A table is created and updated each bar.
Functions like ta.rsi(), ta.ema(), ta.sma(), and ta.stdev() calculate RSI, MACD, EMAs, and Bollinger Bands.
Each indicator’s state is summarized into human-readable text (e.g., “Bullish,” “Bearish,” “Above,” “Oversold”) and displayed with color coding using the helper function f_stateColor().
Values are also displayed numerically (RSI, MACD histogram, EMA levels, BB width), making this a dashboard rather than just arrows on a chart.
Helper Function for States
f_stateColor(state) translates qualitative states into consistent colors (green for bullish/above, red for bearish/below, orange for neutral, purple for overbought/oversold).
This ensures that every signal in the info panel has a visual identity that traders can read instantly.
Alerts Integration
alertcondition() is tied to each major event: FVG potential entries, strong pullback confirmations, and breakout/breakdown signals.
This allows the script to be used for alerts, notifications and automation , not just visual charting.
How to Use
1. Default timeframe = 15m (adjustable).
2. The first session candle defines support & resistance.
3. Watch for arrows:
Light green (▲) below candle → Potential breakout long (FVG detected).
Dark green (▲) below candle → Strong breakout confirmation after pullback.
Light red (▼) above candle → Potential breakdown short (FVG detected).
Dark red (▼) above candle → Strong breakdown confirmation after pullback.
Larger arrows = higher confidence signals.
4. Check the Info Panel for context:
RSI → momentum
MACD → trend confirmation
Bollinger Bands → overbought/oversold
EMA20 & EMA50 → short- and medium-term trend bias
5. Always confirm with your own price action, volume, and risk management rules.
6. Easily move the Info Panel to any corner of the chart via settings to keep your view clear.
Why This Structure Is Original
Not a mashup : Instead of simply overlaying RSI, MACD, or EMAs, the script integrates them into a signal-filtering framework.
Dynamic anchoring: Session-based high/low variables make levels adaptive to intraday structure, unlike fixed pivots.
Dual entry tiering: Light vs. dark arrows are built by combining FVGs + pullback conditions, offering nuance most breakout scripts lack.
Dashboard-style panel: Variables are summarized into a real-time info box with both numbers and state labels, replacing multiple chart overlays with one compact tool.
Modular functions: Breakout, pullback, FVG detection, and indicator states are modularized with separate variables — making the script flexible, extendable, and unique in design.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice and does not guarantee profitable outcomes. Always backtest thoroughly, paper trade, and use proper risk management before trading live.
MACD ProThe MACD Pro is a modern take on the classic MACD, designed to give traders deeper insights into market momentum, trend conditions, and potential turning points. While it keeps the standard MACD foundation, it introduces a few enhancements to make it more adaptive and visually intuitive.
At its core, the indicator calculates the traditional MACD line, Signal line and Histogram. The histogram can be optionally displayed.
One of the things that set this version apart is the addition of the MACD Leader, an optional feature that makes the MACD more responsive to price action. By applying an adaptive smoothing factor (Leader Sensitivity), the Leader line can provide earlier momentum cues compared to the standard MACD and help anticipate shifts before they become obvious on a standard MACD indicator.
Another enhancement is the regime-based color system for the MACD line. Instead of simply coloring based on the MACD or histogram itself, this indicator identifies the overall market regime using momentum and trend strength conditions.
Bullish Regime: Momentum is positive and trend strength is above average.
Bearish Regime: Momentum is negative and trend strength is above average.
Sideways Regime: Momentum remains weak and within noise levels.
This regime detection allows the MACD line to visually adapt, giving traders an extra layer of context beyond standard MACD signals to blend momentum analysis with market conditions, helping distinguish between trending and ranging environments.
MACD DIVERGENCE MACD DIVERGENCE is a momentum oscillator that combines the power of multi-timeframe (MTF) MACD with a regular divergence engine (bullish/bearish) and bias-shift alerts, providing a professional, actionable read of the impulse–correction cycle. 📈🧭
Key Benefits ✅
Selectable MTF MACD: compute MACD from 1m…W or use the chart’s timeframe to align entries with the higher-timeframe bias.
Intelligent visual read: histogram and line colors adapt to reflect inertia and pace changes (acceleration/deceleration).
Robust regular divergences: detects bullish/bearish by comparing oscillator pivots vs. price extremes within configurable search ranges (helps avoid false positives from pivots too far apart or too close).
Ready-to-trade alerts:
Strong Buy: histogram crosses > 0 (bullish bias).
Strong Sell: histogram crosses < 0 (bearish bias). 🔔
Versatile by design: works on crypto, indices, forex, commodities; from intraday to swing.
Recommended Workflow ⚙️
Bias (MTF): choose the MACD timeframe to inherit context (e.g., trade 15m using a 1h MACD).
Trigger: prioritize zero-line crosses accompanied by regular divergences (confluence).
Management: apply your risk plan (position size, SL/TP) and use alerts to synchronize execution.
Core Parameters 🔧
MACD Timeframe (MTF): “same as chart” or manual selection (1, 5, 15, 30, 60, 240, D, W).
MACD Lengths: fast/slow/signal (defaults 12/26/9).
Divergences: enable bullish/bearish, set pivot left/right, and min/max search range to control sensitivity.
Best Practices 🛡️
Match pivot windows and range to the asset’s structure and volatility.
Don’t rely on a single condition; seek confluence (MTF + zero-cross + divergence).
Run backtests/forward tests and document results before scaling up.
Compatibility 🌐
Works on any asset and timeframe supported by TradingView; plotted in a separate panel (overlay=false) to keep the main chart clean.
Disclaimer ⚠️
This product is not financial advice and does not guarantee results. Performance depends on the asset, market conditions, chosen configuration, and the user’s risk management. Trade responsibly.
[DEM] RMEMA Bars RMEMA Bars is a multi-factor trend confirmation indicator that combines a double-smoothed moving average with momentum, trend direction, and price position analysis to generate color-coded bar signals. The indicator uses an RMA-smoothed EMA (21-period EMA smoothed by 5-period RMA) as its primary trend filter, while incorporating four additional technical conditions: price position relative to recent highs/lows over a 20-period window, Parabolic SAR directional bias, relative positioning of recent highs versus lows, and MACD momentum direction using extended parameters (50/100/21). Green bars appear when price is above SAR, recent highs dominate recent lows, MACD is positive, and the smoothed moving average is rising, while red bars signal the opposite conditions with price below SAR, recent lows dominating, negative MACD, and falling moving average. Purple bars indicate mixed or transitional conditions where not all criteria align, creating a comprehensive visual system that requires multiple technical factors to confirm before signaling strong bullish or bearish conditions.
[DEM] Multiple Linear Regression Score Multiple Linear Regression Score is a composite momentum indicator that evaluates market conditions by analyzing a reference symbol (defaulting to NDX) across multiple technical dimensions and combining them into a single predictive score. The indicator processes ten different technical variables including RSI, MACD components (line, signal, and histogram), price relationships to various moving averages (10, 50, 100, 200), and short-term price changes (1-day and 5-day), converting most into binary signals (1 or 0) based on whether they're above or below zero. These binary and continuous inputs are then weighted using regression-derived coefficients and combined into a final percentage score that oscillates around zero, with the indicator also calculating a 20-period standard deviation of the score to measure volatility. This approach creates a data-driven sentiment gauge that quantifies the overall technical health of the reference market by mathematically weighting the importance of each technical factor based on historical relationships.
[DEM] MACD Bars MACD Bars is designed to color price bars based on the relationship between the MACD line and its histogram to provide immediate visual feedback about momentum conditions and potential trend changes. The indicator calculates the standard MACD using the default parameters (12, 26, 9) and applies a three-color system to the candlesticks: green bars when the MACD line is above both the histogram and zero (indicating strong bullish momentum), red bars when the MACD line is below both the histogram and zero (indicating strong bearish momentum), and purple bars for all other conditions where momentum signals are mixed or transitional. This color-coding system helps traders quickly identify periods of strong directional momentum versus periods of uncertainty or potential reversal without needing to reference a separate MACD indicator pane.
[DEM] Combo Signal (With Backtesting) Combo Signal (With Backtesting) is designed to generate buy and sell signals by combining seven different trading strategies that incorporate multiple technical indicators including SuperTrend, Parabolic SAR, MACD, and RSI. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table. The strategy triggers buy signals when any of seven long conditions are met (including ATR-based reversal patterns, SuperTrend confirmations, RSI oversold crossovers, MACD bullish crossovers, and SuperTrend line breaks), while sell signals are generated when any of the corresponding seven short conditions occur, creating a multi-faceted approach that aims to capture various market conditions and trading opportunities while tracking signal accuracy, average returns, and signal frequency through its integrated backtesting system.
AA1 MACD 09.2025this is a learing project i want to share
the script is open for anyone
I combain some ema's mcad and more indicators to help find stocks in momentum
KK🚦LightKK Light is for 5min ~ 15min ETH/BTC only
The red triangles indicate selling, and the green ones indicate buying.
When the colored lights appear, you should be more careful.
The colored squares mean that you should stop what you're doing right now.
You can contact me for more details
Adaptive MACD Suite (MAMA / FAMA / KAMA) By Tehreem 2.0Adaptive MACD built without simple moving averages.
Choose your engine: MAMA–FAMA (Ehlers), MAMAx2, FAMAx2, or KAMAx2 (Kaufman Adaptive). The histogram is the classic MACD histogram (MACD − Signal), plotted with rising/falling tint just like the standard indicator—only smarter and fully adaptive.
Why this indicator?
Traditional MACD relies on simple or exponential MAs that lag in fast markets. This tool replaces them with adaptive baselines so your MACD reacts to real-time market dynamics:
MAMA–FAMA (John Ehlers) adapts with instantaneous phase/alpha.
KAMA (Perry Kaufman) adapts using Efficiency Ratio (ER).
MAMAx2 / FAMAx2 let you compare two adaptive lines of the same family (fast vs slow).
Result: faster trend detection, cleaner momentum shifts, and fewer whipsaws across forex, crypto, stocks, indices, gold (XAUUSD), and more.
What it does (at a glance)
MACD Line: difference between selected adaptive fast & slow lines (per mode).
Signal Line: EMA of MACD (length adjustable).
Histogram: MACD − Signal with positive/negative & rising/falling colors for instant read.
Source Option: Use Heiken Ashi close or regular close to fit HA-based systems.
Alerts: Bull/Bear crosses and zero-line shifts (ready to hook into your trade rules).
Modes (pick one)
MAMA_FAMA: Classic Ehlers pair. MACD = MAMA − FAMA. Great all-rounder for momentum + trend confirmation.
MAMAx2: MACD = MAMA(fast) − MAMA(slow). Keeps the Ehlers feel while separating pace.
FAMAx2: MACD = FAMA(fast) − FAMA(slow). A smoother, slightly slower flavor of the Ehlers family.
KAMAx2: MACD = KAMA(fast ER) − KAMA(slow ER). Excellent in choppy assets; adapts to noise.
All engines are coded from scratch (no built-ins), Pine v6, and calibrated to behave like a “real” MACD—just without SMA/EMA as the core trend inputs.
How to use it (practical playbook)
Trend confirmation: Trade in the direction of MACD above/below zero.
Entry timing: Look for MACD crossing Signal in trend direction.
Momentum strength: Expanding histogram indicates acceleration; contracting suggests a pause or pullback.
Divergence spotting: Price vs. MACD divergences remain valid—adaptive baselines can reveal them earlier.
Heiken Ashi workflows: Flip “Use Heiken Ashi Close as Source” on to align with HA entries (e.g., HA green above baseline + MACD > 0).
Suggested starting settings
MAMA_FAMA: fastLimit = 0.50, slowLimit = 0.05, Signal = 9
MAMAx2: M1: 0.60/0.04, M2: 0.30/0.02
FAMAx2: M1: 0.50/0.05, M2: 0.25/0.03
KAMAx2: Fast ER = 10, Slow ER = 30, FastLen = 2, SlowLen = 30, Signal = 9
Tweak signal length a bit higher for very noisy symbols (e.g., some crypto pairs) and a bit lower for smoother indices.
Included alerts (ready to use)
MACD Bull/Bear Cross (MACD ↔ Signal)
MACD > 0 / < 0 (regime shifts)
Optional Histogram Rising/Falling momentum alerts
Who is it for?
Traders who prefer adaptive indicators over fixed-period SMAs/EMAs.
Trend-followers and swing traders needing cleaner momentum confirmation.
Scalpers and intraday traders on volatile instruments (crypto, gold, NASDAQ) who want faster reaction without overfitting.
Tips & best practices
Pair with a baseline (e.g., EMA/MAMA on price) for structure; use Adaptive MACD for timing.
On higher timeframes, MAMA_FAMA often gives very clean signals.
In range markets, KAMAx2 typically filters noise better.
For 1:3 RR systems, use MACD for confirmation, not as the sole trigger.
Notes & disclaimer
Built for Pine v6.
This is a tool, not financial advice. Always validate on your market/timeframe and use proper risk management.
Aljane's 1348ema strategy13/48ema crossover powerful setup
EMAs (13, 48, 200)
VWAP
buy/sell labels
Candles turn white on bullish , red on bearish
Ideal for traders who want a simplified but powerful chart setup without clutter.