VWMA MACD Amanita Buy/Sell Signals VWMA MACD Amanita Buy/Sell Signals – Volume-Weighted Momentum Indicator
A twist on the classic MACD: this indicator uses Volume Weighted Moving Averages (VWMA) instead of EMAs, giving more weight to price moves backed by higher volume.
Features:
VWMA-based MACD line & signal line
Histogram highlights bullish/bearish momentum
Color-coded for easy visualization
Quick Guide:
MACD above Signal → bullish
MACD below Signal → bearish
Rising histogram → strengthening trend
Falling histogram → weakening trend
Perfect for traders who want momentum confirmed by volume.
平滑異同移動平均線(MACD)
VWMA MACD AmanitaVWMA MACD (Volume-Weighted MACD)
This indicator modifies the standard MACD by replacing EMAs with VWMAs
(Volume-Weighted Moving Averages).
- Fast VWMA (default 12 bars)
- Slow VWMA (default 26 bars)
- MACD Line = Fast VWMA - Slow VWMA
- Signal Line = EMA of MACD (default 9 bars)
- Histogram = MACD - Signal
Compared to the standard MACD, this version emphasizes price moves that
are backed by higher trading volume, helping to filter out weak signals.
The script also lets you choose the price source (Close, HL2, HLC3, OHLC4).
VWMA MACD Trend Grinder Buy/Sell SignalsDescription:
This indicator combines a VWMA-based MACD with volume and trend filters to reduce false buy and sell signals.
It is designed to give more reliable entry and exit points in trending markets while avoiding low-volume noise.
Features:
1. VWMA MACD:
- MACD is calculated using Volume-Weighted Moving Averages (VWMA) instead of standard EMAs.
- Histogram shows the difference between MACD and its signal line.
2. Volume Filter:
- Signals are only triggered when current volume exceeds a multiple of its moving average.
- Reduces false signals in low-volume periods.
3. Trend Filter:
- Only triggers buy signals when price is above a long-term VWMA (uptrend).
- Only triggers sell signals when price is below the long-term VWMA (downtrend).
- Helps avoid counter-trend trades.
4. Plots:
- MACD (blue), Signal (orange), Histogram (green/red)
- Trend VWMA (purple)
- Buy and Sell arrows in the indicator pane (green/red)
5. Alerts:
- Configurable alerts for buy and sell signals filtered by volume and trend.
Inputs:
- Fast Length: VWMA period for the fast MACD line (default 12)
- Slow Length: VWMA period for the slow MACD line (default 26)
- Signal Length: EMA period for the MACD signal line (default 9)
- Volume MA Length: Length for volume moving average filter (default 20)
- Volume Threshold Multiplier: Multiplier for volume filter (default 1.2)
- Trend VWMA Length: Period for long-term trend VWMA (default 50)
- Price Source: Close, HL2, HLC3, OHLC4
Usage:
- Use as a confirmation tool along with other analysis techniques.
- Buy when the green triangle appears (MACD crossover, above trend VWMA, sufficient volume).
- Sell when the red triangle appears (MACD crossunder, below trend VWMA, sufficient volume).
- Trend VWMA helps visually confirm the market trend.
MACD Bullish Divergence + Multi-TF RSI Buy SignalsNew script to overlap MACD Bullish Divergence and RSI signals to give confluence.
Penguin Trend with RSI on DiffVisualizes volatility regime via the percent spread between the upper Bollinger Band and the upper Keltner Channel, with bar colors from a lightweight trend engine and an RSI computed on the Diff signal. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and an optional calculation timeframe. Defaults preserve the original look and behavior.
Penguin Trend with RSI on Diff shows expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB − UpperKC) / UpperKC × 100
• Diff > 0: Bollinger Bands are wider than Keltner Channels → expansion / momentum regime
• Diff < 0: BB narrower than KC → compression / squeeze regime
A white “Average Diff” line smooths Diff% (default: SMA(5)) to highlight regime shifts. Bars are colored only when Diff > 0 to focus on expansion phases. A lightweight trend engine defines four states from a fast/slow MA bias and a short “thrust” MA on ohlc4:
• Green: Bullish bias and thrust > fast MA (healthy upside thrust)
• Red: Bearish bias and thrust < fast MA (healthy downside thrust)
• Yellow: Bullish bias but thrust ≤ fast MA (pullback/weakness)
• Blue: Bearish bias but thrust ≥ fast MA (bear rally/short squeeze)
RSI on Diff:
The indicator adds an RSI applied to Diff% to gauge momentum of the expansion/compression signal itself. Choose between Built-in RSI or a manual RMA-based computation, and optionally smooth it. Default OB/OS lines are 70/30.
How it works:
• Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)); Width = StdDev × Mult (default 2.0)
• Keltner Channels (KC): Basis = selected MA of src (default SMA(20)); Width = ATR(kcATR) × Mult (defaults 20 and 2.0)
• Diff%: Safe division guards against division-by-zero
• MA engine: Select SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Average Diff, and trend components (VWAP is session-anchored)
• Calculation timeframe: Compute internals on a chosen TF via request.security() while viewing any chart TF
Inputs (key):
• Calculation timeframe: Empty = chart TF; set e.g., 60/240 to compute on that TF
• BB: Length, StdDev Mult, MA Type
• KC: Basis Length, ATR Length, Multiplier, MA Type
• Average Diff: Length and MA Type
• RSI on Diff: RSI Length, Method (Built-in or Manual RMA), Smoothing Length, OB/OS levels, show/hide
• Trend Engine: Fast/Slow lengths & MA type, Signal (kept for completeness), Thrust MA length & type
• Display/Visibility: Paint bars only when Diff > 0; show zero line; “true Blue” color toggle; show/hide Diff columns and Average Diff
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: During expansion (Diff > 0), prioritize Green/Red for aligned thrust; treat Yellow/Blue as cautionary/contrarian.
3. RSI on Diff: Use OB/OS and crossovers for timing entries/exits or for confirming/negating expansion strength.
Alerts:
• Diff crosses above/below 0
• Average Diff crosses above/below 0
• RSI(Diff) crosses above OB / below OS
• State changes: GREEN / RED / YELLOW / BLUE
Notes & limitations:
• VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
• Defaults (SMA(20) for BB/KC, multipliers 2.0, SMA(5) Average Diff, original trend coloring and bar painting) preserve the original appearance.
• RSI on Diff is plotted in the same pane for a compact workflow; you can hide it or split into a separate indicator if desired.
Release notes:
v6.0 — Upgraded to Pine v6. Added multi-MA options (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP), calculation timeframe, RSI on Diff (Built-in or Manual RMA) with smoothing, safe division guard, optional zero line, and optional true Blue color. Defaults retain the original behavior.
License / disclaimer:
© waranyu.trkm — MIT License. Educational use only; not financial advice.
Penguin TrendMeasures the volatility regime by comparing the upper Bollinger Band to the upper Keltner Channel and colors bars with a lightweight trend state. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and a selectable calculation timeframe. Default settings preserve the original look and behavior.
Penguin Trend visualizes expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB − UpperKC) / UpperKC × 100
* Diff > 0: Bollinger Bands are wider than Keltner Channels -> expansion / momentum regime.
* Diff < 0: BB narrower than KC -> compression / squeeze regime.
A white “Average Difference” line smooths Diff% (default: SMA(5)) to help spot regime shifts.
Trend coloring (kept from original):
Bars are colored only when Diff > 0 to emphasize expansion phases. A lightweight trend engine defines four states using a fast/slow MA bias and a short “thrust” MA applied to ohlc4:
* Green: Bullish bias and thrust > fast MA (healthy upside thrust).
* Red: Bearish bias and thrust < fast MA (healthy downside thrust).
* Yellow: Bullish bias but thrust ≤ fast MA (pullback/weakness).
* Blue: Bearish bias but thrust ≥ fast MA (bear rally/short squeeze).
Note: By default, Blue renders as Yellow to preserve the original visual style. Enable “Use true BLUE color” if you prefer Aqua for Blue.
How it works (under the hood):
* Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)). Width = StdDev × Mult (default 2.0).
* Keltner Channels (KC): Basis = selected MA of src (default SMA(20)). Width = ATR(kcATR) × Mult (defaults 20 and 2.0).
* Diff%: Safe division guards against division-by-zero.
* MA engine: You can choose SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Diff smoothing, and the trend components (VWAP is session-anchored).
* Calculation timeframe: Set “Calculation timeframe” to compute all internals on a chosen TF via request.security() while viewing any chart TF.
Inputs (key ones):
* Calculation timeframe: Empty = use chart TF; if set (e.g., 60), all internals compute on that TF.
* BB: Length, StdDev Mult, MA Type.
* KC: Basis Length, ATR Length, Multiplier, MA Type.
* Smoothing: Average Length & MA Type for the “Average Difference” line.
* Trend Engine: Fast/Slow lengths & MA type; Signal (kept for completeness); Thrust length & MA type (defaults replicate original behavior).
* Display: Paint bars only when Diff > 0; optional Zero line; optional true Blue color.
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: Use bar colors to qualify expansion: Green/Red indicate expansion aligned with trend thrust; Yellow/Blue flag weaker/contrarian thrust during expansion.
3. Multi-timeframe analysis: Run calculations on a higher TF (e.g., H1/H4) while trading a lower TF chart to smooth noise.
Alerts:
* Diff crosses above/below 0.
* Average Diff crosses above/below 0.
* State changes: GREEN / RED / YELLOW / BLUE.
Notes & limitations:
* VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
* Default parameters (SMA(20) for BB/KC, multipliers 2.0, SMA(5) smoothing, trend logic and bar painting) preserve the original appearance.
Release notes:
v6.0 — Rewritten in Pine v6 with structured inputs and guards. Multi-MA support (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP). Calculation timeframe via request.security() for multi-TF workflows. Safe division; optional zero line; optional true Blue color. Original visuals and behavior preserved by default.
License / disclaimer:
© waranyu.trkm — MIT License. Educational use only; not financial advice.
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.
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
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.
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
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
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.
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.
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
ANDROMEDA - TrendSyncANDROMEDA - TrendSync
Pedro Canto - Portfolio Manager | CGA/CGE
OVERVIEW
Trend Sync is a multi-layered trend-following indicator designed to help traders identify high-probability trend continuation setups while avoiding low-quality entries caused by overbought or oversold market conditions.
This indicator combines the power of Moving Averages (MA), MACD , and a visual RSI-based filter to validate both trend direction and timing for entries. It's goal is simple: filter out noise and highlight only the most technically relevant buy and sell signals based on objective momentum and trend criteria.
---
WALKTHROUGH
This indicator is built for traders seeking to operate in the direction of established trends. It's core principle is to identify and validate current trend conditions, and then signal entry opportunities during pullbacks to key moving averages.
Trend identification is achieved through the alignment of two moving averages. When these MAs are crossed and angled in the same direction, they confirm that a trend is in progress. To double-confirm trend direction, the MACD histogram is used—only. When both the MAs and MACD are aligned in the same direction, then the trend is considered valid.
Once all trend criteria are met, a dynamic coloring system is activated to visually reinforce the trend across the candles and moving averages.
To avoid poor entries during market exhaustion, an RSI-based filter is used. This short-term RSI highlights overbought or oversold zones, helping traders filter trades in extreme price conditions.
Only when the trend is validated and price pulls back to one of the MAs will a buy/sell signal be triggered, aligning momentum, price action and timing into a single actionable setup.
This combination ensures that each component plays a specific role:
i) Moving Averages define the trend
ii) MACD validates it
iii) RSI filters noise
iv) Intrabar price action triggers entries
This synchronism helps improve decision-making and entry timing, especially for swing and intraday traders.
---
USE CASES
- Identifying trend continuation setups
- Filtering false signals during consolidation phases
- Avoiding trades in overbought or oversold zones
- Enhancing entry timing for both swing and intraday strategies
- Providing visual confirmation of trend strength and momentum alignment
---
KEY FEATURES
1. Dual Moving Average Setup
The indicator allows full customization of two moving averages (MA1 and MA2), supporting both EMA and SMA types. The slope of the longer MA (MA2) acts as an essential trend filter, ensuring signals are only generated when the market shows clear directional bias.
2. MACD Histogram Trend Confirmation
A classic MACD Histogram calculation is used to validate the momentum of the prevailing trend.
- Bullish Trend: Histogram > 0
- Bearish Trend: Histogram < 0
This step filters out counter-trend signals and ensures trades are aligned with momentum.
3. Intrabar Price Trigger
Unlike standard crossover systems, this indicator waits for intrabar price action to trigger entries:
- Buy Signal: Price crosses below one of the MAs during an uptrend (dip-buy logic)
- Sell Signal: Price crosses above one of the MAs during a downtrend (rally-sell logic)
This intrabar trigger improves entry timing and helps capture retracement-based opportunities.
4. RSI Visual Filter
A short-term RSI is plotted and color-coded to visually highlight overbought and oversold conditions, acting as a discretionary filter for users to avoid low-probability trades during exhaustion points.
5. Dynamic Coloring System
Bar Colors:
- Blue: Bullish trend
- Red: Bearish trend
- Orange: RSI Overbought/Oversold zones
MA Colors:
- Blue for bullish conditions
- Red for bearish conditions
- Gray for neutral/no-trend phases
6. Signal Markers and Alerts
Clear visual buy and sell markers are plotted directly on the chart.
Additionally, the indicator includes real-time alerts for both Buy and Sell signals, helping traders stay informed even when away from the screen.
---
INPUTS AND CUSTOMIZATION OPTIONS
- Moving Average Types: EMA or SMA for both MA1 and MA2.
- MACD Settings: Customizable fast, slow, and signal periods.
- RSI Settings: Source, length, and overbought/oversold levels fully adjustable.
- Color Customization: Adjust RSI zone colors to suit your chart theme.
---
DISCLAIMER
This indicator is a technical analysis tool designed for educational and informational purposes only. It should not be used as a standalone trading system. Always combine it with sound risk management, price action analysis, and, where applicable, fundamental context.
Past performance does not guarantee future results.
Universal Sentiment Oscillator with Trade RecommendationsUniversal Sentiment Oscillator & Strategy Guide
Summary
This all-in-one indicator is designed to be a comprehensive co-pilot for your trading journey. It moves beyond simple buy/sell signals by analyzing the underlying market sentiment and providing a dynamic, risk-assessed guide of potential trading strategies. Whether you're a novice learning the ropes or an expert seeking confirmation, this tool provides a structured framework for making smarter, more informed decisions in stocks, options, and futures.
How It Works
The core of the indicator is the Sentiment Oscillator, which calculates a score from -5 (Extremely Bearish) to +5 (Extremely Bullish) on every bar. This isn't just a single measurement; it's a weighted aggregate of several key technical conditions:
Trend Analysis: Price position relative to the 20, 50, and 200 EMAs.
Momentum Analysis: The current RSI value.
Hybrid Analysis: The state of the MACD and its signal line.
These factors are intelligently combined and normalized to produce a single, intuitive sentiment score, giving you an at-a-glance understanding of the market's pulse.
Core Features
Dynamic Trade Recommendation Table:
The informational heart of the indicator. This on-chart table provides a list of potential trades perfectly aligned with the current sentiment score.
Risk-Ranked Strategies:
All suggested trades are logically ordered by risk, helping you quickly identify strategies that match your comfort level.
Adjusted Trade Suggestions:
The indicator analyzes sentiment momentum (the score vs. its signal line) to provide proactive, forward-looking trade ideas based on where the market might be heading next.
Customizable Trading Styles:
Tell the indicator if you are a Conservative, Neutral, or Aggressive trader, and the "Adjusted Trade Suggestion" will automatically tailor its recommendations to your personal risk preference.
Context-Aware Futures Mode:
When viewing a futures contract, enable this mode to switch all recommendations from stock/options to futures-specific actions (e.g., "Cautious Long," "Monitor Range").
Predictive Sentiment Cone:
Visualize the potential short-term path of sentiment based on current momentum, helping you anticipate future conditions.
Fully Customizable:
Every parameter—from EMA lengths to trade filters—can be adjusted, allowing you to fine-tune the indicator to your exact specifications.
How to Use This Indicator
This tool is flexible and can be integrated into many trading systems. Here is a powerful, professional approach:
Top-Down Analysis (for Swing or Position Trading):
Establish the Trend: Start on the higher timeframes (Monthly, Weekly, Daily). Use the oscillator's color and score to define the dominant, long-term market sentiment. You only want to look for trades that align with this macro trend.
Refine the Entry: Drop down to the medium timeframes (4-Hour, 1-Hour). Wait for the sentiment on these charts to come into alignment with the higher-timeframe trend. This pullback or consolidation is your "zone of interest."
Pinpoint the Execution: Move to a lower timeframe (e.g., 15-Minute). Use the Adjusted Trade Suggestion and Sentiment Momentum to find a precise entry as momentum begins to shift back in the direction of the primary trend. You can set alerts on the oscillator's zero-line for early warnings of a sentiment shift.
As a Confirmation Tool: If you have an existing trade idea, use the indicator to validate it. Does the sentiment score align with your bullish or bearish thesis? Does the momentum confirm that now is a good time to enter?
As an Idea Generation Tool: Unsure what to trade? Browse different assets and let the indicator's "Primary Trades" and "Adjusted Trade Suggestion" present you with a list of risk-assessed ideas that you can then investigate further.
Disclaimer: This is an analysis tool and should not be considered financial advice. All forms of trading involve substantial risk. You should not trade with money you cannot afford to lose. Always perform your own due diligence and use this indicator as one component of a complete trading plan.