Pesquisar nos scripts por "macd"
MACD ScaledMACD scaled and re-centered for 0-100 range (user adjustable)
+ Leader
+ Stochastic RSI
Details: A simple MACD re-centered to 50 lines rather than 0 line. Also added MACD Leader and Stochastic RSI to show possible usefulness of re-scaling the MACD.
NOTE: Due to nature of MACD, could not get the lines cannot be contained within top/bottom borders without excess distortion.
Credit to lazybear for leader formula.
MACD Nexus Pro [OXE]MACD Nexus Pro
Institutional-Grade Momentum Intelligence System
Transform How You Read Market Momentum
Standard MACD indicators show you what happened. MACD Nexus Pro shows you what's about to happen.
Built for serious traders who demand more than basic crossovers, this indicator combines 8 proprietary analysis engines into one powerful momentum intelligence system. Whether you trade forex, crypto, stocks, or commodities — MACD Nexus Pro gives you the institutional edge.
What Makes This Different?
Most MACD indicators are stuck in the 1970s. They show you two lines, a histogram, and leave you guessing. MACD Nexus Pro was engineered from the ground up to answer the questions professional traders actually ask:
"Is this signal confirmed across multiple timeframes?"
"Is this momentum move real or a fake-out?"
"Are smart money players accumulating or distributing?"
"Is this trend exhausted or just getting started?"
Core Benefits for Traders
🎯 Eliminate False Signals with MTF Confluence
Stop getting chopped up by single-timeframe noise. The Multi-Timeframe Confluence Matrix scans 4 timeframes simultaneously and calculates a unified alignment score from -5 to +5.
How it helps you:
Only take trades when multiple timeframes agree
See instantly if higher timeframes support your entry
Avoid counter-trend trades that fail 80% of the time
Build confidence knowing the "big picture" backs your trade
📊 Know Your Market Regime Instantly
Markets behave differently in trending vs ranging conditions. The Regime Detection Engine automatically classifies current conditions as TRENDING, VOLATILE, RANGING, or NEUTRAL.
How it helps you:
Adjust your strategy to match market conditions
Avoid momentum trades in choppy, ranging markets
Capitalize on trending markets with confidence
Stop forcing trades when conditions don't favor your style
🔄 Catch Reversals Early with Smart Divergence Detection
Divergences signal potential reversals before they happen — but spotting them manually is tedious and error-prone. The Divergence Engine automatically detects both Regular and Hidden divergences, then rates their strength.
How it helps you:
Get early warning of trend exhaustion
Find high-probability reversal entries
Use Hidden divergences for trend continuation trades
Prioritize strong divergences (★★★★) over weak ones
🏦 Trade Alongside Smart Money
Institutional players leave footprints. The Smart Money Momentum Zones detect when volume-weighted momentum enters extreme territory — signaling potential accumulation (buying) or distribution (selling) by large players.
How it helps you:
Identify where institutions are likely positioning
Buy in accumulation zones with smart money
Sell or short in distribution zones
Avoid buying into institutional selling
⚡ Distinguish Impulse Moves from Corrections
Not all momentum is created equal. The Impulse Wave Detection system identifies whether current momentum is an impulse (strong, directional) or a correction (weak, counter-trend).
How it helps you:
Enter on impulses, not corrections
Hold winners through corrections without panic
Recognize when a trend is resuming
Time entries at the start of new momentum waves
📍 Never Miss True Equilibrium
Static zero lines are outdated. The Dynamic Zero Line adapts to the market's true momentum equilibrium, shifting based on long-term bias.
How it helps you:
Understand the market's real neutral point
Recognize bullish/bearish bias at a glance
Better time zero-line crossover trades
Filter signals based on positioning above/below equilibrium
⚠️ Get Warned Before Momentum Dies
Chasing extended moves is how traders lose money. The Momentum Exhaustion Detector calculates the thrust-to-follow-through ratio and warns you when momentum is overextended.
How it helps you:
Avoid late entries into tired trends
Take profits before reversals hit
Spot when bulls/bears are running out of steam
Stay patient for better entries after exhaustion
🌈 Read Momentum Strength at a Glance
The Gradient Histogram Heatmap shows momentum acceleration through color intensity — brighter colors mean momentum is building, faded colors mean it's dying.
How it helps you:
Instantly see if momentum is accelerating or fading
Confirm breakouts with strengthening momentum
Spot weakening moves before price confirms
Make faster decisions with visual clarity
The Signal System You Can Trust
Every buy/sell signal comes with a Star Rating (★ to ★★★★★) based on:
Multi-timeframe alignment
Position relative to dynamic zero
Market regime confirmation
Volume confirmation
Exhaustion status
Choose your signal mode:
Standard: Classic MACD crossovers
Confluence: Only signals with MTF agreement (recommended)
Aggressive: Early entries with directional confluence
All signals are 100% non-repainting — what you see is what happened, permanently.
Two Professional Dashboards
MTF Confluence Panel (Top-Right)
TimeframeTrendAbove ZeroCurrent▲/▼✓/✗15min▲/▼✓/✗1H▲/▼✓/✗4H▲/▼✓/✗Daily▲/▼✓/✗
Nexus Status Panel (Bottom-Right)
Regime: TRENDING / VOLATILE / RANGING / NEUTRAL
Confluence: Net score (-5 to +5)
Zone: ACCUMULATION / DISTRIBUTION / NEUTRAL
Momentum: IMPULSE / CORRECTION / NORMAL
Exhaustion: BULL TIRED / BEAR TIRED / OK
Built-In Alerts
Never miss a trade. Set alerts for:
✅ Buy/Sell signals
✅ High-confluence signals (4+ stars)
✅ Momentum exhaustion warnings
✅ Impulse wave starts
✅ Zero line crosses
✅ Bullish/Bearish divergences
Who Is This For?
✓ Day Traders — Filter noise with MTF confluence, catch impulse moves early
✓ Swing Traders — Ride trends confidently with regime detection and exhaustion warnings
✓ Scalpers — Use aggressive mode with volume-confirmed signals
✓ Position Traders — Align with smart money accumulation/distribution zones
✓ Crypto Traders — Essential for volatile markets where exhaustion detection saves accounts
✓ Forex Traders — Multi-session momentum tracking across timeframes
What Traders Are Saying
"Finally, a MACD that tells me more than just 'line crossed line.' The exhaustion warnings alone have saved me from so many bad trades."
"The MTF confluence is a game-changer. I only trade 4+ star setups now and my win rate has never been better."
"I love how the regime detection stops me from forcing momentum trades in ranging markets. Should have had this years ago."
Summary: Your Edge in 8 Features
FeatureWhat It DoesYour BenefitMTF ConfluenceScans 4 timeframesHigher probability entriesRegime DetectionClassifies market conditionsRight strategy, right timeDivergence EngineFinds reversal signalsCatch turns earlySmart Money ZonesDetects institutional activityTrade with the big playersImpulse DetectionIdentifies momentum qualityEnter on strength, not weaknessDynamic Zero LineAdapts to market biasTrue equilibrium referenceExhaustion DetectorWarns of tired momentumAvoid late, losing tradesGradient HistogramShows acceleration visuallyInstant momentum read
Settings Overview
Fully customizable for any trading style:
MACD lengths (Fast/Slow/Signal)
4 MTF timeframes
Divergence sensitivity
Regime detection parameters
Signal mode selection
Minimum confluence threshold
Zone thresholds
Visual colors and toggles
Risk Disclaimer
No indicator guarantees profits. MACD Nexus Pro is a decision-support tool designed to improve your analysis — not replace sound risk management. Always use stop losses and never risk more than you can afford to lose.
Upgrade Your Momentum Analysis Today
Stop guessing. Start trading with institutional-grade momentum intelligence.
MACD Nexus Pro — See Momentum Differently.
MACD (Panel) with Histogram-Confirmed Signals - Middle LineMacd indicator with buy and sell signals to help spot the macd signal crossover and histogram
MACD (with alerts)MACD with highlight bars and alertcondition for setting alarm on crossover and crossunder
MacD Indicator-Multiple Time Frame+All Available Options HAINTMacD Custom Indicator-Multiple Time Frame+All Available Options! by HAINT
MACD With Crossings and Above Below ZeroMACD with MACD Derivative, Crossings Above and Below Zero, Shading for ADX Smoothing and Overlayed RSI
Primarily a moving average convergence divergence (MACD) momentum indicator. Also includes a MACD Derivative overlay to show when momentum has peaked. Displays triangle symbols when the MACD line crosses the signal line (larger triangle when MACD crosses above/below zero to indicator stronger momentum trend). Includes shading for average directional index (ADX) to futher determine when the price is trending strongly (red when the ADX value is greater than 25, and idicating a strong trend; otherwise blue). Lastly, has a relative strength index (RSI) momentum indicator overlayed to help evaluate periods of overbought or oversold conditions.
MACD percentage price oscillatorMACD Percentage Price Oscillator is a variation of the MACD indicator. Signal line crossovers are almost identical. The major difference is the MACD Percentage scale which enables comparison between stocks at different prices.
MACD Percentage Price Oscillator's trading signals are the same as for the MACD indicator. The MACD indicator is primarily used to trade trends and should not be used in a ranging market. Signals are taken when MACD crosses its signal line, calculated as a 9 day exponential moving average of MACD.
First check whether price is trending. If the MACD indicator is flat or stays close to the zero line, the market is ranging and signals are unreliable.
Signals are far stronger if there is either:
- a divergence on the MACD indicator; or
- a large swing above or below the zero line.
- Unless there is a divergence, do not go long if the signal is above the zero line, nor go short if the signal is below zero. Place stop-losses below the last minor Low when long, or the last minor High when short.
The main advantage of MACD Percentage over MACD is the ability to compare indicator values across stocks.
The only difference with MACD Percentage Price Oscillator is that the difference between the fast and slow moving averages is calculated as a percentage of the slow moving average: MACD = (12 Day EMA - 26 Day EMA) / 26 Day EMA
MACD Infinity Indicator(MACDI)MACDI is the macd of macd indicators and macd of macd indicators of macd indicatrs and so on...!!
I used macd algo to find slopes of macd of price and it can helpfull when we want to find best signalls it can make amazing shapes that can be usable to everyone!
author: Masoud Azizi
github: mablue
MACD-V Adaptive FluxProMACD-V Adaptive FluxPro
Type: Multi-Factor Volatility-Normalized Momentum & Regime Framework
Overlay: ✅ Yes (on price chart)
Purpose: Detect high-probability trend continuation or reversal zones through volatility-adjusted momentum, VWAP structure, and adaptive filters.
🧩 Concept Overview
MACD-V Adaptive FluxPro is a next-generation, multi-factor analytical framework that merges the principles of Linda Raschke’s 3-10-16 MACD with modern volatility normalization and adaptive filtering.
Instead of generating raw buy/sell signals, it builds a probability-driven environment model — showing when price action, volatility, and structure align for high-confidence trades.
The “V” in MACD-V stands for Volatility Normalization: every MACD component is divided by ATR to stabilize amplitude across fast or slow markets.
This enables the indicator to remain consistent across timeframes, instruments, and volatility regimes.
⚙️ Core Components
1️⃣ Volatility-Normalized MACD (MACD-V)
A traditional MACD built on Linda Raschke’s 3-10-16 structure, but adjusted by ATR to create a volatility-invariant momentum profile.
You can toggle to alternative presets (Scalp / Swing / Trend) for faster or slower environments.
2️⃣ Dynamic Regime Detection
A slope-based classifier that identifies whether the market is:
Trend Up 🟢
Trend Down 🔴
Compression / Squeeze 🟧
Transition / Neutral ⚫
The background color updates dynamically as momentum, volatility, and slope shift between these states.
3️⃣ VWAP Structure Bands
Adaptive VWAP with inner and outer ATR-scaled envelopes.
These act as short-term mean-reversion and breakout zones.
The indicator can optionally gate entries to occur only within defined VWAP proximity.
4️⃣ EMAs for Micro-Trend Confirmation
Includes 9-EMA and 21-EMA, color-configurable for visual crossovers and short-term momentum bias.
5️⃣ Multi-Timeframe Confirmation Tiles
Top-center dashboard tiles display directional bias from higher timeframes (e.g., 15m / 1h / 4h).
When all align, it confirms multi-frame trend coherence.
6️⃣ Adaptive Probability Engine
All subsystems — MACD-V, slope, compression, volume z-score, and VWAP distance — feed into a logistic scoring model that outputs a real-time AOI Probability (0-100%).
When conditions align, probabilities rise above 60% (long bias) or drop below 40% (short bias).
These are your high-probability “Areas of Interest.”
7️⃣ Dashboard HUD
The top-right status console provides a one-glance view of system state:
Field Meaning
AOI Prob Long Real-time probability of bullish bias
Regime Market state (Trend, Transition, Compression)
Risk Gate ATR-based volatility filter
News Mute Manual toggle for event-risk suppression
ATR (≈ risk) Real-time volatility readout
Status ✅ Trading OK / 🧱 Risk Gate / 🔇 News Mute / 🟧 Compression
🎯 Interpretation Guide
Visual Meaning
🟢 Green background Confirmed uptrend regime
🔴 Red background Confirmed downtrend regime
🟧 Orange background Volatility compression (squeeze forming)
⚫ Gray background Transitional / indecisive structure
Teal % (AOI Prob Long) Bullish probability > 60%
Arrows Optional: appear only when all gates align (rare, filtered signals)
🧮 Mathematical Notes
MACD-V = (EMA_fast(src) − EMA_slow(src)) / ATR(n)
Normalized score is smoothed, scaled 0–100 via logistic curve
Slope = Δ(EMA(src, n)) / ATR(n)
Probabilities gated by:
Minimum slope magnitude (minAbsSlope)
VWAP proximity (maxVWAPDistATR)
Multi-TF agreement
Cooldown interval (cooldownBars)
ATR-based risk gate
No repainting — all calculations use barstate.isconfirmed.
⚡ Use Cases
✅ Identify trend regime changes before major expansions
✅ Filter breakout vs. compression setups
✅ Quantify volatility conditions before entries
✅ Confirm multi-timeframe alignment
✅ Serve as a visual regime map for automated systems or discretionary traders
🧠 Recommended Presets
Market Type Setting Preset Behavior
Index Futures (ES/NQ) LBR 3-10-16 SMA (default) Classic swing/momentum balance
Scalping (1m–5m) Fast Adaptive Higher frequency, shorter cooldown
Swing Trading (1h–4h) Smooth ATR Broader, trend-only signals
Trend-Following Futures Wide ATR Bands Filters noise, favors strong continuation
⚠️ Notes
Non-repainting, bar-confirmed calculations
Signal arrows are optional and rare — intended for precision setups
ATR and slope thresholds should be tuned per instrument
Compatible with all TradingView markets and resolutions
🏁 Summary
“MACD-V Adaptive FluxPro” is not a simple MACD — it’s a volatility-normalized market state engine that adapts to changing conditions.
It fuses Linda Raschke’s timeless MACD logic with modern volatility, slope, and multi-timeframe analytics — giving you a live market dashboard that tells you when not to trade just as clearly as when you should.
MACD Boundary PSA - CoffeeKillerMACD Boundary PSA - CoffeeKiller Indicator Guide
Welcome traders! This guide will walk you through the MACD Boundary PSA indicator, a powerful market analysis tool developed by CoffeeKiller that enhances the traditional MACD with advanced boundary detection and peak signaling features.
🔔 **Warning: This Indicator Has No Signal Line or MACD Line** 🔔 This indicator is my version of the MACD, that I use in conjunction with the Rev&Line indicator.
Core Concept: Enhanced MACD Analysis
The foundation of this indicator builds upon the classic Moving Average Convergence Divergence (MACD) indicator, adding boundary tracking and peak detection systems to provide clearer signals and market insights.
Histogram Bars: Market Momentum
- Positive Green Bars: Bullish momentum
- Negative Red Bars: Bearish momentum
- Color intensity varies based on momentum strength
- Special coloring for new high/low boundaries
Marker Lines: Dynamic Support/Resistance
- High Marker Line (Magenta): Tracks the highest point reached during a bullish phase
- Low Marker Line (Cyan): Tracks the lowest point reached during a bearish phase
- Acts as dynamic boundaries that help identify strength of current moves
Peak Detection System:
- Triangular markers identify significant local maxima and minima
- Background highlighting shows important momentum peaks
- Helps identify potential reversal points and momentum exhaustion
Core Components
1. MACD Calculation
- Customizable fast and slow moving averages
- Signal line smoothing options
- Flexible MA type selection (SMA or EMA)
- Custom source input options
2. Boundary Tracking System
- Automatic detection of highest values in bullish phases
- Automatic detection of lowest values in bearish phases
- Step-line visualization of boundaries
- Color-coded for easy identification
3. Peak Detection System
- Identification of local maxima and minima
- Background highlighting of significant peaks
- Triangle markers for peak visualization
- Zero-line cross detection for trend changes
4. Time Resolution Control
- Normal mode: calculations based on chart timeframe
- Custom resolution mode: calculations based on specified timeframe
Main Features
Time Resolution Settings
- Normal mode: calculations match your chart's timeframe
- Custom resolution mode: calculations based on specified timeframe
- Helps identify stronger signals from other timeframes
Visual Elements
- Color-coded histogram bars
- Dynamic marker lines for boundaries
- Peak triangles for significant turning points
- Background highlighting for peak identification
Signal Generation
- Zero-line crosses for trend change signals
- Boundary breaks for momentum strength
- Peak formation for potential reversals
- Color changes for momentum direction
Customization Options
- MA types and lengths
- Signal smoothing
- Color schemes
- Marker line visibility
- Peak background display options
Trading Applications
1. Trend Identification
- Histogram crossing above zero: bullish trend beginning
- Histogram crossing below zero: bearish trend beginning
- Histogram color: indicates momentum direction
- Consistent color intensity: trend strength
2. Reversal Detection
- Peak triangles after extended trend: potential exhaustion
- Background highlighting: significant reversal points
- Histogram approaching marker lines: potential trend change
- Color shifts from bright to muted: decreasing momentum
3. Momentum Analysis
- Histogram breaking above previous high boundary: accelerating bullish momentum
- Histogram breaking below previous low boundary: accelerating bearish momentum
- Special coloring (magenta/cyan): boundary breaks indicating strength
- Distance from zero line: overall momentum magnitude
4. Market Structure Assessment
- Consecutive higher peaks: strengthening bullish structure
- Consecutive lower troughs: strengthening bearish structure
- Peak comparisons: relative strength of momentum phases
- Boundary line steps: market structure levels
Optimization Guide
1. MACD Settings
- Fast Length: Shorter values (8-12) for responsiveness, longer values (20+) for smoother signals
- Slow Length: Shorter values (21-34) for more signals, longer values (72+) for major moves
- Default settings (22, 72, 9): balanced approach for most timeframes
- Consider using 8, 21, 5 for shorter timeframes and 34, 144, 5 for longer timeframes
2. MA Type Selection
- EMA: More responsive, follows price more closely
- SMA: Smoother, fewer false signals, potentially more lag
- Mix and match for oscillator and signal lines based on your preference
3. Time Resolution
- Match chart timeframe: for aligned analysis
- Use higher timeframe: for filtering signals
- Lower timeframe: for earlier entries but more noise
4. Color Customization
- Normal bullish/bearish colors: represent standard momentum
- High/low marker line colors: customize visibility
- Peak marker colors: adjust for your visual preference
- Consider chart background when selecting colors
Best Practices
1. Signal Confirmation
- Wait for zero-line crosses to confirm trend changes
- Look for peak formations to identify potential reversals
- Check for boundary breaks to confirm strong momentum
- Use custom timeframe option for higher timeframe confirmation
2. Timeframe Selection
- Lower timeframes: more signals, potential noise
- Higher timeframes: cleaner signals, less frequent
- Custom resolution: allows comparison across timeframes
- Consider using multiple timeframes for confirmation
3. Market Context
- Strong bullish phase: positive histogram breaking above marker line
- Strong bearish phase: negative histogram breaking below marker line
- Histogram approaching zero: potential trend change
- Peak formations: potential exhaustion points
4. Combining with Other Indicators
- Use with trend indicators for confirmation
- Pair with oscillators for overbought/oversold conditions
- Combine with volume analysis for validation
- Consider support/resistance levels with boundary lines
Advanced Trading Strategies
1. Boundary Break Strategy
- Enter long when histogram breaks above previous high marker line
- Enter short when histogram breaks below previous low marker line
- Use zero-line as initial stop-loss reference
- Take profits at formation of opposing peaks
2. Peak Trading Strategy
- Identify significant peaks with triangular markers
- Look for consecutive lower peaks in bullish phases for shorting opportunities
- Look for consecutive higher troughs in bearish phases for buying opportunities
- Use zero-line crosses as confirmation
3. Multi-Timeframe Strategy
- Use custom resolution for higher timeframe MACD trend
- Enter trades when both timeframes align
- Higher timeframe for trend direction
- Chart timeframe for precise entry
4. Histogram Color Strategy
- Enter long when histogram turns bright green (increasing momentum)
- Enter short when histogram turns bright red (increasing momentum)
- Exit when color intensity fades (decreasing momentum)
- Use marker lines as dynamic support/resistance
Practical Analysis Examples
Bullish Market Scenario
- Histogram crosses above zero line
- Green bars grow in height and intensity
- High marker line forms steps upward
- Peak triangles appear at local maxima
- Background highlights appear at significant momentum peaks
Bearish Market Scenario
- Histogram crosses below zero line
- Red bars grow in depth and intensity
- Low marker line forms steps downward
- Peak triangles appear at local minima
- Background highlights appear at significant momentum troughs
Consolidation Scenario
- Histogram oscillates around zero line
- Bar colors alternate frequently
- Marker lines remain relatively flat
- Few or no new peak highlights appear
- Histogram values remain small
Understanding Market Dynamics Through MACD Boundary PSA
At its core, this indicator provides a unique lens to visualize market momentum and boundaries:
1. Momentum Strength: The histogram height/depth shows the strength of current momentum, with color intensity providing additional context about acceleration or deceleration.
2. Dynamic Boundaries: The marker lines create a visual representation of the "high water marks" of momentum in both directions, helping to identify when markets are making new momentum extremes.
3. Exhaustion Signals: The peak detection system highlights moments where momentum has reached a local maximum or minimum, often precursors to reversals or consolidations.
4. Trend Confirmation: The histogram color and intensity provide instant feedback about the current trend direction and strength, with special colors highlighting particularly significant moves.
Remember:
- Combine signals from histogram, marker lines, and peak formations
- Use appropriate timeframe settings for your trading style
- Customize the indicator to match your visual preferences
- Consider market conditions and correlate with price action
This indicator works best when:
- Used as part of a comprehensive trading system
- Combined with proper risk management
- Applied with an understanding of current market conditions
- Signals are confirmed by price action and other indicators
**DISCLAIMER**: This indicator and its signals are intended solely for educational and informational purposes. They do not constitute financial advice. Trading involves significant risk of loss. Always conduct your own analysis and consult with financial professionals before making trading decisions.
MACD Leader [ChuckBanger]MACD makes use of moving averages and therefor usually lags behind the price. It is possible to eliminate lag completely but the work around of this is usually by adding a component of the price/MA difference back to MA. This technique is called Zero-lag. It is not zero lag but it is close enough. "MACD Leader" makes use of this to form a leading signal to MACD.
First proposed by Giorgos E. Siligardos, "Leader" leads normal MACD , especially when significant trend changes are about to take place. This has the following features:
- It is similar to MACD in smoothness.
- It can be plotted along with MACD in the same window using the same scaling.
- It has the ability to lead MACD at critical situations
For detailed discussion on the various divergence patterns, refer to the PDF here: drive.google.com
This script provide an option to plot MACD and MACD leader signal on the same pane. You can enable/disable them how you want via options page. It also has the option to change to different MA types.






















