MACD + AO + Supertrend Buy/Sell (Dual Timeframe)This indicator combines the MACD, Awesome Oscillator and Supertrend to create buy and sell signals when certain criteria is met.
Parameters are standard except for Supertrend uses ATR 13, factor 1.5, MACD fast length is 8 and slow is 13.
Once the MACD line, histogram, Awesome Oscillator are above zero, and price is above the Supertrend indicator, a buy signal will be printed. The opposite should print a sell signal.
There is an option to set a higher time frame bias too, this should filter out some of the signals.
Use at your own discretion but I suggest having the MACD/AO and Supertrend on the charts to verify it's working correctly, then I will tend to ignore signals when the price has already moved too far in the trade direction.
Another suggestion would be to use the Supertrend indicator as your stop loss area and then trail that stop once the price moves in a favorable direction.
Disclaimer
This indicator is provided for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. Trading involves risk, and past performance is not indicative of future results. Use this tool at your own risk, and always do your own research or consult a licensed financial professional before making trading decisions.
Hareketli Ortalamanın Yakınsaması / Iraksaması (MACD)
SMA+MACD+RSI+Stoch Entry📌 Tools Used:
• SMA 21, SMA 50, SMA 200
• MACD (12, 26, 9)
• Pivot Point Standard
• RSI (length 75)
• Stochastic (14, 3, 3)
Trading Timeframe:
• Usable on all timeframes
Chart Preparation:
• Analyze the overall market trend and the instrument being traded
• Set an appropriate timeframe according to the market
• Apply SMA 21, SMA 50, SMA 200
• Apply MACD and Pivot Point Standard
• Ensure a proper market trend by checking the position of SMA 21, SMA 50, and SMA 200 relative to each other
If there are too many crossings between SMA 21, SMA 50, and SMA 200, do not enter any trades until the market trend stabilizes
Conditions for Entering a Long Trade (Bullish Trigger):
• Candle closes above the pivot line
• Confirm an uptrend by checking that SMA 21 is above SMA 50, and SMA 50 is above SMA 200
• RSI is above the midpoint
• Presence of a suitable corrective step with normal slope, considering the strength of the previous step
• MACD histogram indicates bullish momentum
• Stochastic shows a bullish crossover from below
Conditions for Entering a Short Trade (Bearish Trigger):
• Candle closes below the pivot line
• Confirm a downtrend by checking that SMA 21 is below SMA 50, and SMA 50 is below SMA 200
• RSI is below the midpoint
• Presence of a suitable corrective step with normal slope, considering the strength of the previous step
• MACD histogram indicates bearish momentum
• Stochastic shows a bearish crossover from above
MACD Quadrant Matrix – 10 US MajorsThis script provides a quadrant matrix visualization of the MACD indicator across 10 major U.S. stocks (AAPL, MSFT, NVDA, AMZN, GOOGL, META, TSLA, BRK.B, UNH, LLY).
It is designed as a visual screening tool to quickly analyze the relative MACD conditions of large-cap U.S. equities.
# Quadrant Logic
Q1 (Green): MACD > 0 and MACD > Signal
Q2 (Orange): MACD > 0 and MACD < Signal
Q3 (Blue): MACD < 0 and MACD > Signal
Q4 (Red): MACD < 0 and MACD < Signal
# Features
Adjustable timeframe (default: Daily)
Quadrant background visualization
Optional jitter to reduce overlap of bubbles
Tooltip display with MACD, Signal, and Delta values
Counts of how many symbols fall into each quadrant
# Limitations
Symbol list is fixed to 10 large-cap U.S. stocks (modifiable in code).
This is a visualization tool only. It does not generate buy/sell signals.
Results and quadrant positioning will vary depending on timeframe selection.
# Disclaimer
This script is for educational and analytical purposes only.
It is not financial advice, and should not be relied upon for trading or investment decisions.
Trading and investing carry risk, and users should perform their own due diligence.
Slow Stochastic D-line SignalWhile the standard Slow Stochastic generates signals when its %K- and %D-lines cross, this modified indicator introduces a filter: a signal is only confirmed when the price has shown a consistent upward movement for a predetermined number of periods.
Signal Validation: A signal is generated only when the %K-line crosses above the %D-line, and the price has also consistently increased for a predefined number of periods. This method filters out momentary noise and provides a higher-conviction signal.
Relative Performance vs BTC/ETH# 📌 Indicator: Relative Performance vs BTC & ETH (Simplified)
This indicator compares the **relative performance** of the current coin against **BTC** and **ETH**, normalizing values at the first visible bar.
It helps traders quickly identify whether a coin is **outperforming or underperforming** the two main crypto benchmarks.
- 🟠 **Orange line (vs BTC)** → performance relative to Bitcoin
- 🟣 **Purple line (vs ETH)** → performance relative to Ethereum
---
## 🔍 How to read it
- If the **vs BTC line rises** → the coin is outperforming BTC
- If the **vs ETH line rises** → the coin is outperforming ETH
- If the lines **fall** → the coin is underperforming that benchmark
- If the two lines **intersect** → performance is equal vs BTC and ETH, possibly signaling a **shift in market leadership**
---
## 🎯 Practical use cases
- Compare the strength of any coin against both BTC and ETH in one chart
- Spot moments when the coin shifts correlation (following BTC vs ETH)
- Identify potential **rotation signals** in the crypto market (investor preference between BTC and ETH)
EMAs CrossoverThis Pine Script strategy identifies bullish and bearish crossovers among four EMAs (5, 13, 26, and 50 periods) with an additional alignment condition for the EMAs. It can generate alert when:
Bullish Condition: An EMA crossover occurs (5 crossing over 13, 13 over 26, or 26 over 50), and all the shorter-period EMAs are above the longer-period EMAs, indicating a strong upward trend.
Bearish Condition: An EMA crossunder happens (5 crossing under 13, 13 under 26, or 26 under 50), and all shorter EMAs are below the longer EMAs, suggesting a strong downward trend.
The strategy uses these conditions to enter long positions on bullish signals and short positions on bearish signals.
Volume-MACD-RSI combined Multi-Ticker Scanner -V1 Aug 2025This scanner is adopted from a similar indicator "Volume-MACD-RSI Integrated Strategy" by Aldugrham.
The aim is to conducted automatic screening of 20 selected tickers using volume, macd and rsi and trigger alert when there is / are tickers satisfying Buy or Sell Signal, and list those tickers in the indicator pane. It can run in same time frame as the chart.
Triple EMA with Alert | 21, 50, 200 EMA Strategy + Crossover🚀 Boost your trading edge with the Triple EMA with Alert — a professional-grade indicator designed for traders who want precise, real-time trend confirmation across short, medium, and long-term market movements.
🔹 What Makes This Indicator Powerful?
Three Adjustable EMAs — Default: 21, 50, 200 periods (fully customizable 1–200).
Toggle Visibility — Show only the EMAs you need for your strategy.
Real-Time Alerts — Get notified instantly when:
EMA 1 crosses EMA 2 → short-term trend change.
EMA 2 crosses EMA 3 → medium-term trend alignment.
Works on All Markets & Timeframes — Forex, crypto, stocks, indices, and commodities.
🔹 Why Traders Love It
📊 Multi-Timeframe Trend Confirmation — Filter out noise and trade with market momentum.
🎯 Accurate Crossover Signals — Identify bullish and bearish momentum shifts.
🔔 Hands-Free Monitoring — Alerts keep you informed even when you’re away from the chart.
💡 Versatile for Any Strategy — Perfect for scalping, swing trading, or long-term investing.
🔹 How to Use It
Bullish Signal — EMA 1 crossing above EMA 2 or EMA 2 crossing above EMA 3.
Bearish Signal — EMA 1 crossing below EMA 2 or EMA 2 crossing below EMA 3.
Combine with support/resistance zones, RSI, or volume for higher probability trades.
📌 Pro Tip:
Use EMA 21 & EMA 50 for momentum confirmation.
Use EMA 200 to spot the overall market direction.
If you’re serious about trend trading with precision, the Triple EMA with Alert will keep you one step ahead of market moves — no more missed entries or exits.
THE TRINTY - Multi-Timeframe MACD Alignment (Single Alert)Analyzes up to 3 timeframes at the same time waiting for MACD alignment plus determines when it's very bullish, very bearish, or just mixed. Ideal for traders who only want to trade in high probability markets to increase your chances at success. Also, there's only 1 single alert system that you can set for each pair making things much easier instead of setting separate bullish and bearish alerts like most other indicators.
MACD (Panel) with Histogram-Confirmed Signals - Middle LineMacd indicator with buy and sell signals to help spot the macd signal crossover and histogram
The Golden TriggerThe Golden Trigger - XAUUSD
Unlock your trading potential with The Golden Trigger, a powerful technical analysis strategy designed for XAUUSD. This custom indicator combines the synergy of moving averages and the MACD to provide clear buy and sell signals, optimizing your trading decisions.
Key Features:
SMA Crossovers: Utilizes the 2-period and 7-period Simple Moving Averages (SMAs) to spot short-term price momentum shifts, triggering buy or sell signals.
MACD Confirmation: The strategy only acts when the MACD aligns with the price action, ensuring you’re trading with the market's momentum.
Long-Term Trend Filter: The 200-period SMA ensures that your trades align with the overall market trend, helping you avoid counter-trend moves.
Real-Time Alerts: Get notified when it's time to act with the built-in alert conditions for both Buy and Sell signals.
Customizable and User-Friendly: Tailor the strategy to your preferences and trade with confidence.
This indicator is perfect for traders looking to catch short-term trends in gold (XAUUSD), with clear visual buy and sell markers that appear directly on the chart.
Why You Need This Indicator:
Stay ahead of the market with real-time signals
Filter trades to match the prevailing market trend
Enhance your trading strategy with a clear, simple-to-follow system
Unlock the power of The Golden Trigger today and make smarter, more confident trades!
Hierarchical Resonance Analyzer with macd# Hierarchical Resonance Analyzer (HRA) v8.6
## Overview
The Hierarchical Resonance Analyzer is an advanced multi-timeframe technical analysis system designed for professional traders seeking comprehensive market structure analysis. This proprietary indicator combines multiple analytical dimensions to provide enhanced market insights and timing precision.
## Key Features
### 🎯 Multi-Dimensional Analysis
- Advanced pattern recognition system
- Multi-timeframe resonance confirmation
- Integrated momentum analysis
- Dynamic market structure evaluation
### 📊 Flexible Display Options
- Clean overlay interface
- Customizable visual elements
- Multiple analysis modes
- Adaptive color schemes
### ⚙️ Professional Configuration
- Extensive customization options
- Multiple timeframe settings
- Advanced filtering capabilities
- Professional-grade parameters
### 🔔 Smart Alert System
- Multi-condition alert framework
- Resonance confirmation alerts
- Momentum change notifications
- Customizable alert messages
## Analysis Modes
### Resonance Analysis
- **Top-Down Mode**: Higher timeframe analysis with lower timeframe confirmation
- **Bottom-Up Mode**: Current timeframe signals with higher timeframe validation
- **Dual Mode**: Combined analysis for maximum precision
- **Disabled Mode**: Focus on local signals only
### Signal Processing
- Advanced pattern detection algorithms
- Multi-layer confirmation system
- Dynamic threshold adjustments
- Noise reduction techniques
## Visual Components
### Primary Indicators
- Moving average systems with cross detection
- Bollinger Bands with multiple themes
- Custom overlay symbols and markers
- Dynamic background coloring options
### Secondary Features
- MACD overlay integration
- Momentum visualization
- Trend strength indicators
- Market structure highlights
## Professional Applications
- Swing trading optimization
- Scalping precision enhancement
- Multi-timeframe strategy development
- Risk management integration
- Portfolio timing decisions
## Technical Specifications
- **Version**: 8.6 (Unified Resonance)
- **Compatibility**: TradingView Pine Script v5
- **Performance**: Optimized for real-time analysis
- **Reliability**: Extensively backtested algorithms
## Usage Guidelines
This indicator is designed for experienced traders who understand multi-timeframe analysis and market structure concepts. Proper risk management and position sizing are essential when using any technical analysis tool.
## Important Notes
- This is a proprietary analysis system
- Results may vary based on market conditions
- Past performance does not guarantee future results
- Suitable for various asset classes and timeframes
- Requires understanding of technical analysis principles
MACD Overlay In main chart# MACD Overlay Indicator
## Overview
This indicator displays MACD (Moving Average Convergence Divergence) signals directly on the price chart without creating a separate window. It shows the momentum and trend changes through simple + and - symbols positioned relative to candlesticks.
## Features
- **Overlay Display**: Shows MACD information on the main price chart
- **Clean Interface**: Uses minimal + and - symbols instead of complex charts
- **Position Logic**: Symbol placement indicates MACD position relative to zero line
- **Energy Analysis**: Symbols represent histogram energy changes (absolute value)
- **Color Coding**: Different colors for golden cross and death cross signals
## Symbol Meaning
### Position Logic
- **Above Candlesticks**: MACD is above zero line (bullish territory)
- **Below Candlesticks**: MACD is below zero line (bearish territory)
### Symbol Meaning
- **+ Symbol**: MACD histogram absolute value is increasing (momentum strengthening)
- **- Symbol**: MACD histogram absolute value is decreasing (momentum weakening)
### Color Coding
- **Yellow**: Golden cross (MACD line above signal line)
- **Red**: Death cross (MACD line below signal line)
## Settings
- **Fast Length**: Default 12 (EMA fast period)
- **Slow Length**: Default 26 (EMA slow period)
- **Signal Smoothing**: Default 9 (Signal line period)
- **Oscillator MA Type**: EMA or SMA for MACD calculation
- **Signal Line MA Type**: EMA or SMA for signal line
## How to Use
1. **Trend Identification**:
- Symbols above candlesticks = Bullish MACD territory
- Symbols below candlesticks = Bearish MACD territory
2. **Momentum Analysis**:
- + symbols = Momentum is strengthening
- - symbols = Momentum is weakening
3. **Signal Confirmation**:
- Yellow symbols = MACD above signal line (bullish signal)
- Red symbols = MACD below signal line (bearish signal)
## Advantages
- **Space Efficient**: No separate indicator window required
- **Clean Chart**: Maintains price chart clarity
- **Quick Analysis**: Instant visual feedback on MACD status
- **Non-Intrusive**: Doesn't alter candlestick colors or backgrounds
## Best Practices
- Use in conjunction with price action analysis
- Combine with other technical indicators for confirmation
- Pay attention to symbol color changes for trend shifts
- Monitor symbol position changes for momentum shifts
---
*This indicator provides a simplified way to monitor MACD signals without cluttering your chart with additional windows.*
MACD + RSI Signal ArrowsA small green arrow up (↑) when there's a buy signal
A small red arrow down (↓) when there's a sell signal
Spot the Peak & BottomCombines Heikin-Ashi candlesticks with MACD histogram analysis to identify potential market reversals and trend continuations. The script provides advanced pattern recognition with visual signals and alerts.
Core Components
1. Technical Foundation
Heikin-Ashi Candlesticks: Modified candlestick calculation that smooths price action
MACD Histogram: Custom STMC (Smooth Trend Momentum Change) oscillator
Multiple Price Sources: Support for open, high, low, close, and various averages (hl2, hlc3, ohlc4, hlcc4)
2. Pattern Detection System
Bullish Patterns:
HA D ↑ → HA ↑: Divergence resolution (Heikin-Ashi bearish but histogram strengthening, then turning bullish)
Normal Rise: HA rising + histogram strengthening/maintaining
Bottom Reversal: HA falling but histogram strengthening
Bearish Patterns:
HA U ↓ → HA ↓: Divergence resolution (Heikin-Ashi bullish but histogram weakening, then turning bearish)
Top Reversal: HA rising but histogram weakening
Strong Downtrend: HA falling + histogram weakening
Divergence Patterns:
HA D ↓: Heikin-Ashi bullish but momentum weakening
HA D ↑: Heikin-Ashi bearish but momentum strengthening
3. Signal Classification System
Bullish Signals (▲):
Bull Highlight: Higher HA close than previous signal (strongest)
Bull Normal: Normal signal within neutral range (-100 to 100)
Bull Gray: Normal signal outside neutral range
Bearish Signals (▼):
Bear Highlight: Lower HA close than previous signal (strongest)
Bear Normal: Normal signal within neutral range (-100 to 100)
Bear Gray: Normal signal outside neutral range
Transition Signals:
HA DD: Hollow green to hollow red transition
HA UU: Hollow red to hollow green transition
4. Visual Features
Color Coding:
Green/Lime: Bullish patterns and signals
Red/Orange: Bearish patterns and signals
Pink/Cyan: Divergence conditions
White: Neutral signals
Background Zones:
Upper Zone (50-500): Overbought/extreme high areas
Lower Zone (-50 to -500): Oversold/extreme low areas
Reference Lines: Do Not Short (-500), Do Not Long (500), Semi-lines (±250)
Display Modes:
Hybrid: Shows both MACD and Heikin-Ashi
MACD: MACD line and signal only
Histogram: Histogram only
5. Alert System
The script provides comprehensive alerts for:
Bull/Bear signal types (Highlight, Normal, Neutral Area)
HA DD/UU transitions
Divergence start/end conditions
6. Customization Options
MACD Settings: Fast/slow lengths, signal parameters
UI Options: Colors, display modes, background fills
Pattern Detection: Enable/disable various pattern types
Divergence Styling: Custom colors for divergence conditions
This indicator is particularly useful for traders who want to combine the smoothing benefits of Heikin-Ashi with the momentum insights of MACD for more accurate entry and exit timing.
Stochastic MACDStochastic MACD Indicator: Quick Guide
This Pine Script indicator, "Stochastic MACD" (SMACD), blends MACD and Stochastic Oscillator principles to help you spot momentum shifts and potential reversals.
What it Shows:
SMACD Line: Tracks momentum.
Signal Line: Averages the SMACD line, creating crossovers.
Histogram: Visualizes momentum strength, changing color with direction.
Overbought/Oversold Levels: (Default 10 and -10) Help identify stretched market conditions. Adjustable in settings.
Visual Signals (Triangles):
Red Down Arrow (Overbought Signal): Appears when both SMACD and Signal lines are above the Overbought level (default 10) AND SMACD crosses the Signal line upwards. This suggests strong overbought conditions and a potential reversal down.
Green Up Arrow (Oversold Signal): Appears when both SMACD and Signal lines are below the Oversold level (default -10) AND SMACD crosses the Signal line upwards. This suggests potential buying opportunities from oversold conditions and a possible reversal up.
How to Use It:
Confirm Trends: Use the histogram and line directions.
Spot Reversals: Look for the red and green triangles for quick alerts.
Combine: Always use with other analysis like price action or support/resistance.
Important: This is an analytical tool, not financial advice. Trading involves risk.
<162> 25_0804 MACD + ICHIMOKU + DONCHIAN"This script is a simple yet powerful indicator. It modifies and presents well-known traditional indicators—MACD, Ichimoku, and Donchian Channel—according to my preferences. It can be used for everything from 1-minute scalping to daily swing trading and even long-term investing."
RSI and MACD Divergence IndicatorThe RSI and MACD Divergence Indicator is a custom Pine Script v6 indicator designed for TradingView that identifies and visualizes divergences between price movements and two technical indicators: the Relative Strength Index (RSI) and the Moving Average Convergence Divergence (MACD). Here's a brief explanation of its functionality:
Divergence Detection: The indicator detects both regular and hidden divergences for RSI, MACD (MACD Line), and Histogram. Regular bullish divergences occur when price makes a lower low but the indicator makes a higher low (suggesting a potential reversal upward), while regular bearish divergences occur when price makes a higher high but the indicator makes a lower high (suggesting a potential reversal downward). Hidden divergences indicate continuation patterns (e.g., higher low in price with a lower low in the indicator for bullish continuation).
Customizable Inputs:
Pivot Bars: Sets the number of bars used to confirm pivot highs and lows (default: 5).
RSI and MACD Parameters: Allows adjustment of RSI length (default: 14) and MACD settings (fast: 12, slow: 26, signal: 9).
Toggle Options: Enables/disables detection of regular and hidden divergences for RSI, MACD, and Histogram individually.
Confirmation: Option to wait for pivot confirmation (default: true), delaying divergence display until the pivot is fully formed.
Show Only Last Divergence: Toggles between showing only the most recent divergence (default: true) or all detected divergences (false), with previous lines and labels cleared when true.
Minimum Divergences: Sets the minimum number of divergence types required at a pivot to display (default: 1, max: 6).
Maximum Pivot Points: Limits the number of historical pivot points to check (default: 10).
Maximum Bars to Check: Restricts analysis to the last specified number of bars (default: 500).
Visualization:
Draws lines connecting the price pivot points where divergences are detected, with customizable colors, widths, and styles (solid, dashed, dotted) for RSI and MACD.
Displays a single label per pivot with vertically stacked text listing all detected divergence types (e.g., "RSI Bull Div MACD Bull Div"), using semi-transparent backgrounds (green for bullish, red for bearish) and white text.
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.
[volfgang] wave.liteThe wave.lite indicator is a simplified version of my WAVE momentum tracker indicator, designed to help traders identify market trends by analysing price action across multiple timeframes. As a simplified version of my full WAVE script, it focuses on core momentum signals and confluence for the current timeframe only.
Quick Summary
The Lite WAVE features a signal line that alternates between Red (bearish) and Blue (bullish).
It turns Blue when the WAVE line crosses above the signal and holds for 1 bar.
It turns Red when the WAVE line crosses below the signal and holds for 1 bar.
Under The Hood
The Lite WAVE aggregates close, high, low, and EMA data over a set period to measure recent price extremes and midpoint deviations, emphasizing newer action. It calculates averages for high-to-high and low-to-low differences to derive the WAVE value, smoothed for trend determination.
This lite version omits advanced divergence, specialist info box, confluence scanner and signal features from the full WAVE, focusing on momentum tracking for simplicity. It's suitable for all markets and assets; always combine with other analysis—past performance doesn't guarantee future results.
day trading check indicatorDay Trading Check Indicator
By Trades per Minute · Creator: Trader Malik
Overview
The Day Trading Check Indicator is an on‐chart status panel that gives you a quick “go/no-go” snapshot of four key metrics—MACD, VWAP, Float, and Bearish Sell-Off—directly in TradingView’s top-right corner. It’s designed for fast decision-making during high-velocity intraday sessions, letting you instantly see whether each metric is “bullish” (green) or “bearish” (red), plus live float data.
What It Shows
Column Description
Metric The name of each metric: MACD, VWAP, Float, Bearish Sell-Off
Status/Value A color-coded status (“GREEN”/“RED” or “YES”/“NO”) or the float value formatted in K/M/B
Metrics & Calculations
MACD (1-Minute)
Calculation: Standard MACD using EMA (12) – EMA (26) with a 9-period signal line, all fetched from the 1-minute timeframe via request.security().
Status:
GREEN if MACD ≥ Signal
RED if MACD < Signal
VWAP (Session-Anchored)
Calculation: Built-in session VWAP (ta.vwap(close)) resets each new trading session.
Status:
GREEN if current price ≥ VWAP
RED if current price < VWAP
Float
Calculation: Retrieves syminfo.shares_outstanding_float (total float), then scales it into thousands (K), millions (M), or billions (B), e.g. “12.3 M.”
Display: Always shown as the absolute float value, white on semi-transparent black.
Bearish Sell-Off
Calculation: Checks the last five 1-minute bars for any “high-volume down” candle (volume above its 20-bar SMA and close < open).
Status:
YES if at least one such bar occurred in the past 5 minutes
NO otherwise
Key Features
Dynamic Table: Automatically shows only the metrics you enable via the Display Options group.
Size Selector: Choose Small, Medium, or Large text for easy visibility.
Clean Styling: Distinct header row with custom background, consistent row shading, centered status text, and a subtle gray border.
Lightweight Overlay: No cluttering plots—just a concise status panel in the corner.
Published by Trader Malik / Trades per Minute
Version: Pine Script v5
MACD Trend StatusOverview:
The Dynamic MACD Trend Status indicator is a sophisticated yet easy-to-interpret tool designed to provide instant, color-coded insights into the current MACD momentum and trend strength directly on your chart. Unlike traditional MACD indicators that clutter your main price panel, this indicator distills complex MACD calculations into a single, prominent text label, ideal for quick confirmations and fast-paced trading.
It features two distinct logic modes, allowing you to customize its sensitivity and confirmation level, making it adaptable to various market conditions and trading styles.
Key Features & How It Works:
Two Selectable Logic Modes:
This indicator offers a unique dropdown setting (Logic Selection) to switch between two powerful MACD interpretation algorithms:
a) Option 3 (Robust) - (Default)
This is the most stringent and reliable mode, designed to filter out market noise and highlight only strong, accelerating trends. It declares a "Bullish" or "Bearish" status when ALL of the following conditions are met:
Bullish: MACD Line is above Signal Line AND MACD Histogram is positive AND MACD Histogram is increasing (momentum is accelerating) AND both MACD Line and Signal Line are above the Zero Line (confirming an overall uptrend).
Bearish: MACD Line is below Signal Line AND MACD Histogram is negative AND MACD Histogram is decreasing (momentum is accelerating) AND both MACD Line and Signal Line are below the Zero Line (confirming an overall downtrend).
Neutral: If none of the above strong conditions are met, indicating sideways movement, weakening momentum, or a transition phase.
b) Option 4 (Simplified + Enhanced)
This mode offers a more responsive signal while still providing a clear distinction for exceptionally strong moves. It determines status based on:
"MACD Bullish +" (Super Bullish): If all the rigorous conditions of "Option 3 (Robust) - Bullish" are met. This provides an immediate visual cue of extreme bullish strength within the simpler logic.
"MACD Bearish +" (Super Bearish): If all the rigorous conditions of "Option 3 (Robust) - Bearish" are met. This highlights exceptional bearish strength.
"MACD Bullish": MACD Line is above Signal Line AND MACD Histogram is positive (basic bullish momentum).
"MACD Bearish": MACD Line is below Signal Line AND MACD Histogram is negative (basic bearish momentum).
"MACD Neutral": If none of the above conditions are met.
Instant Color-Coded Status:
The indicator provides clear visual feedback through dynamic text colors:
Green: "MACD Bullish" (Standard Bullish)
Red: "MACD Bearish" (Standard Bearish)
Gray: "MACD Neutral" (Choppy/Unclear)
Blue: "MACD Bullish +" (Enhanced Strong Bullish - when using Option 4)
Fuchsia/Purple: "MACD Bearish +" (Enhanced Strong Bearish - when using Option 4)
(Note: Colors for "+" signals are customizable in the code if you wish)
Unobtrusive Display:
The status is displayed in a transparent, discreet table positioned at the middle-right of your main chart panel. This avoids cluttering the top corners or the indicator sub-panel, keeping your price action clear.
Ideal Use Cases:
Quick Confirmation: Rapidly confirm your trade ideas with a glance at the MACD's underlying momentum.
Scalping & Day Trading: The instant visual feedback is invaluable for fast-paced short-term strategies.
Momentum Filtering: Use it to filter trades, ensuring you're entering when MACD momentum is in your favor.
Complementary Tool: Designed to work hand-in-hand with your primary analysis (price action, support/resistance, other indicators). It's not intended as a standalone signal but as a powerful re-confirmation tool.
Customization Options:
MACD Settings: Adjust Fast Length, Slow Length, and Signal Length.
Logic Selection: Toggle between "Option 3 (Robust)" and "Option 4 (Simplified)" for different sensitivities.
Show Status Text: Toggle the visibility of the status text On/Off.
Text Size: Choose from "tiny", "small", "normal", "large", "huge" for optimal visibility.
Important Disclaimer:
This indicator is a technical analysis tool and should be used as part of a comprehensive trading strategy. It is not financial advice. Trading in financial markets involves substantial risk, and you could lose money. Always perform your own research and risk management.
Better MACD📘 Better MACD – Adaptive Momentum & Divergence Suite
Better MACD is a comprehensive momentum-trend tool that evolves the traditional MACD into a multi-dimensional, divergence-aware oscillator. It leverages exponential smoothing across logarithmic rate-of-change of OHLC data, adaptive signal processing, and intelligent divergence detection logic to provide traders with earlier, smoother, and more reliable momentum signals.
This indicator is built for professional-level analysis, suitable for scalping, swing trading, and trend-following systems.
🧬 Core Concept
Unlike the classic MACD which subtracts two EMAs of price, Better MACD constructs a signal by:
Applying logarithmic transformation on the change between OHLC components (Close, High, Low, Open).
Using double EMA smoothing to filter noise and volatility, Triangular method. 1st to 2nd Smoothing.
Averaging and de-biasing the results through a custom linear regression model, 4th Smoothing.
Subtracting a fast SMA and slow SMA response to yield a dynamic MACD value, 3rd Smoothing.
The result is a smooth, adaptive, and high-resolution MACD-style oscillator that responds more naturally to trend conditions and price geometry.
🧠 Features Breakdown
1. 📈 Multi-Layer MACD Engine
Src1: Smoothed Log Rate-of-Change on Close
Src2: Smoothed Log Rate-of-Change on High
Src3: Smoothed Log Rate-of-Change on Low
Src4: Smoothed Log Rate-of-Change on Open
These are blended using highest high, lowest low, and average Close price over a configurable window for more complete trend detection. The open-based Src4 is subtracted using SMA.
2. 🧮 Signal Line
A fast EMA (signalLength) of the Better MACD value is used for crossover logic.
Crossovers of MACD and Signal line signal potential entries or exits.
3. 📊 MACD Histogram
Visualizes the difference between MACD and Signal line.
Dynamically color-coded:
Green/Light Green for bullish impulse
Red/Pink for bearish impulse
Width and color intensity reflect strength and momentum slope.
🎨 Visual Enhancements
Feature Description
✅ Ribbon Fill Optional fill between MACD and Signal line, colored by trend direction
✅ Zero-Line Background Background highlights above/below 0 to easily read bullish/bearish bias
✅ Crossover Highlights Tiny circles plotted when MACD crosses Signal line
🔍 Divergence Detection Suite
The script includes a full Divergence Engine to detect:
🔼 Bullish Regular Divergence (Price lower lows + Indicator higher lows)
🔽 Bearish Regular Divergence (Price higher highs + Indicator lower highs)
🟢 Bullish Hidden Divergence (Price higher lows + Indicator lower lows)
🔴 Bearish Hidden Divergence (Price lower highs + Indicator higher highs)
🧩 Divergence Modes:
Supports both Regular, Hidden, or Both simultaneously
Detects from either Close Price or Heikin Ashi-derived candles
Uses dynamic pivot tracking with configurable lookback and divergence sensitivity
Divergence lines are labeled, colored, and plotted in real-time
🔁 Styling & Customization:
Choose from Solid, Dashed, or Dotted line styles
Configure separate colors and widths for all divergence types
Control number of divergence lines visible or only show the most recent
Divergences update live without repainting
⚠️ Alerts
Alerts are built-in for real-time notification:
MACD Histogram reversals (rising → falling, or vice versa)
Divergence signals (all 4 types, grouped and individually)
Combines seamlessly with TradingView alerts for actionable triggers
🔧 Input Controls (Grouped by Purpose)
Better MACD Group
1st–4th Smoothing Lengths: Controls responsiveness of MACD core engine
Signal Length: Smoothness of signal line
Toggles for crossover highlights, zero cross fills, and ribbon fills
Divergence Settings
Enable/disable divergence lines
Choose divergence type (Regular, Hidden, Both)
Set confirmation requirements
Customize pivot detection and bar search depth
Styling Options
Colors, line widths, and line styles for each divergence type
Heikin Ashi Mode for smoother pivots and divergences
🧠 How to Use
✅ For Trend Traders:
Use MACD > Signal + Histogram > 0 → Bullish confirmation
MACD < Signal + Histogram < 0 → Bearish confirmation
Wait for pullbacks with hidden divergences to enter in trend direction
✅ For Reversal Traders:
Look for Regular Divergences at trend exhaustion points
Combine with price action (e.g., support/resistance or candle pattern)
✅ For Swing & Day Traders:
Enable Heikin Ashi Mode for smoother divergence pivots
Use zero line background + histogram color to time entries
📌 Summary
Feature Description
🚀 Advanced MACD Core Smoother, more reliable, multi-source-based MACD
🔍 Divergence Engine Detects 4 divergence types with pivot logic
🎯 Real-Time Alerts Alerts for histogram slope and divergences
🎛️ Deep Customization Full styling, smoothing, and detection controls
📉 Heikin Ashi Support Improved signal quality in trend-based markets