Ichimoku + Daily Candle X + Hull MA X + MACD Ichimoku + Daily-Candle X + Hull MA X + Hull‑Based MACD — Strategy Description
A high-confluence, multi-indicator strategy that blends trend, momentum, and multi-timeframe confirmation to deliver precision entries for traders of all levels.
Core Components & Trading Logic
Ichimoku Cloud (Trend Confirmation)
Confirms trend direction using Senkou Span A & B. A bullish bias is triggered when Span A > Span B, and bearish when vice versa.
Daily Candle Cross (Multi-Timeframe Momentum)
Compares today’s daily close with yesterdays. A bullish signal arises when today's price exceeds yesterdays, providing higher-timeframe momentum context.
Hull MA Cross (Fast, Smooth Trend Detection)
Utilizes Hull Moving Average, known for its rapid responsiveness and smooth behavior. A bullish signal occurs when the current HMA crosses above the previous HMA.
Hull-Based MACD (Filtered Momentum)
Derived by subtracting a slow HMA from a fast HMA to form the MACD line, with the signal line being another HMA of that difference. Bullish when MACD > Signal.
Strategy Benefits
Multi-Layer Confirmation: Armed with trend (Ichimoku), momentum (Daily Candle), quick signal (HMA), and noise-filtered momentum (Hull MACD), this approach filters out weak signals for higher-quality entries.
Adaptive & Smooth: Hull-based indicators offer the speed of rapid responsiveness while maintaining smoothness—ideal for dynamic market environments.
Customizable & Scalable: Easily tweak input parameters to align with your preferred market, timeframe, and risk thresholds.
Hareketli Ortalamanın Yakınsaması / Iraksaması (MACD)
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.
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.
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).
MACD StrategyOverview
The "MACD Strategy" is a straightforward trading strategy tested for BTCUSDT Futures on the 1-minute timeframe, leveraging the Moving Average Convergence Divergence (MACD) indicator to identify momentum-based buy and sell opportunities. Developed with input from expert trading analyst insights, this strategy combines technical precision with risk management, making it suitable for traders of all levels on platforms like TradingView. It focuses on capturing trend reversals and momentum shifts, with clear visual cues and automated alerts for seamless integration with trading bots (e.g., Bitget webhooks).
#### How It Works
This strategy uses the MACD indicator to generate trading signals based on momentum and trend direction:
- **Buy Signal**: Triggered when the MACD line crosses above the signal line, and the MACD histogram turns positive (above zero). This suggests increasing bullish momentum.
- **Sell Signal**: Triggered when the MACD line crosses below the signal line, and the MACD histogram turns negative (below zero), indicating growing bearish momentum.
Once a signal is detected, the strategy opens a position (long for buy, short for sell) with a position size calculated based on your risk tolerance. It includes a stop-loss to limit losses and a take-profit to lock in gains, both dynamically adjusted using the Average True Range (ATR) for adaptability to market volatility.
#### Key Features
- **MACD-Based Signals**: Relies solely on MACD for entry points, plotted in a separate pane for clear momentum analysis.
- **Risk Management**: Automatically calculates position size based on a percentage of your account balance and sets stop-loss and take-profit levels using ATR multipliers and a risk:reward ratio.
- **Visual Feedback**: Plots entry, stop-loss, and take-profit lines on the chart with labeled markers for easy tracking.
- **Alerts**: Includes Bitget webhook-compatible alerts for automated trading, notifying you of buy and sell signals in real-time.
#### Input Parameters
- **Account Balance**: Default 10000 – Set your initial trading capital to determine position sizing.
- **MACD Fast Length**: Default 12 – The short-term EMA period for MACD sensitivity.
- **MACD Slow Length**: Default 26 – The long-term EMA period for MACD calculation.
- **MACD Signal Length**: Default 9 – The smoothing period for the signal line.
- **Risk Per Trade (%)**: Default 3.0 – The percentage of your account balance risked per trade (e.g., 3% of 10000 = 300).
- **Risk:Reward Ratio**: Default 3.0 – The ratio of potential profit to risk (e.g., 3:1 means risking 1 to gain 3).
- **SL Multiplier**: Default 1.0 – Multiplies ATR to set the stop-loss distance (e.g., 1.0 x ATR).
- **TP Multiplier**: Default 3.0 – Multiplies ATR to set the take-profit distance, adjusted by the risk:reward ratio.
- **Line Length (bars)**: Default 25 – Duration in bars for displaying trade lines on the chart.
- **Label Position**: Default 'left' – Position of text labels (left or right) relative to trade lines.
- **ATR Period**: Default 14 – The number of periods for calculating ATR to measure volatility.
#### How to Use
1. **Add to Chart**: Load the "MACD Strategy" as a strategy and the "MACD Indicator" as a separate indicator on your TradingView chart (recommended for BTCUSDT Futures on the 1-minute timeframe).
2. **Customize Settings**: Adjust the input parameters based on your risk tolerance and market conditions. For BTCUSDT Futures, consider reducing `Risk Per Trade (%)` during high volatility (e.g., 1%) or increasing `SL Multiplier` for wider stops.
3. **Visual Analysis**: Watch the main chart for trade entry lines (green for buy, red for sell), stop-loss (red), and take-profit (green) lines with labels. Use the MACD pane below to confirm momentum shifts.
4. **Set Alerts**: Create alerts in TradingView for "Buy Signal" and "Sell Signal" to automate trades via Bitget webhooks.
5. **Backtest and Optimize**: Test the strategy on historical BTCUSDT Futures 1-minute data to fine-tune parameters. The short timeframe requires quick execution, so monitor closely for slippage or latency.
#### Tips for Success
- **Market Conditions**: This strategy performs best in trending markets on the 1-minute timeframe. Avoid choppy conditions where MACD crossovers may produce false signals.
- **Risk Management**: Start with the default 3% risk per trade and adjust downward (e.g., 1%) during volatile periods like BTCUSDT news events. The 3:1 risk:reward ratio targets consistent profitability.
- **Timeframe**: Optimized for 1-minute charts; switch to 5-minute or 15-minute for less noise if needed.
- **Confirmation**: Cross-check MACD signals with price action or support/resistance levels for higher accuracy on BTCUSDT Futures.
#### Limitations
- This strategy relies solely on MACD, so it may lag in fast-moving or sideways markets. Consider adding a secondary filter (e.g., RSI) if needed.
- Stop-loss and take-profit are ATR-based and may need adjustment for BTCUSDT Futures’ high volatility, especially during leverage trading.
#### Conclusion
The "MACD Strategy" offers a simple yet effective way to trade momentum shifts using the MACD indicator, tested for BTCUSDT Futures on the 1-minute timeframe, with robust risk management and visual tools. Whether you’re scalping crypto futures or exploring short-term trends, this strategy provides a solid foundation for automated or manual trading. Share your feedback or customizations in the comments, and happy trading!
MACD Lissé Smoothed MACD – Custom Indicator
This indicator is an enhanced version of the classic MACD, designed to balance responsiveness and noise reduction. It uses a short HMA (Hull Moving Average) smoothing to track price movements faster while keeping the signal smooth.
Key Features:
HMA-Smoothed MACD: Tracks trends with less lag than a standard MACD.
Signal Line: A simple EMA applied to the smoothed MACD to identify crossovers and generate buy/sell signals.
Filtered Histogram: Shows the difference between the smoothed MACD and its signal line, with an optional threshold to focus on meaningful movements and reduce visual noise.
Customizable Parameters:
Fast EMA Length and Slow EMA Length to adjust the classic MACD
HMA MACD Smoothing for faster or smoother MACD response
Signal Smoothing to fine-tune the signal line
Histogram Threshold to filter small movements and reduce noise
This indicator is ideal for traders who want a MACD that is responsive but not ultra-smoothed, perfect for spotting trend changes quickly without being overwhelmed by minor price fluctuations.
Colors and Display:
Smoothed MACD: Blue
Signal Line: Orange
Histogram: Green (positive) / Red (negative)
MACD/ATR with Histogram(MACD-VH)MACD cannot be used directly as it is non-stationary and needs to be divided by ATR.
The values such as color, style, and ATR can all be modified.
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 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.
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
RSI + MACD Long-Only StrategyRSI + MACD Long-Only Strategy
Overview: Momentum-based, long-only strategy combining RSI and MACD. Entries favor upside momentum; exits trigger on momentum fades or risk targets. Signals are state-gated so you get one exit per entry (no multiple exits without a prior entry).
Entry conditions:
RSI crosses above the midline (default 50) while MACD is bullish (MACD > Signal, optionally MACD > 0), OR
MACD crosses above its Signal while RSI is at/above the midline.
Optional filters:
EMA trend filter: only enter if price > EMA(n).
Oversold context: only enter within N bars after RSI dipped below the oversold threshold.
Exit conditions:
RSI crosses below the midline, OR
MACD crosses below its Signal with MACD histogram ≤ 0.
Optional risk exit: Take Profit / Stop Loss based on percentage from average entry price.
Risk management:
Inputs: Use TP/SL (on/off), TP% (default 3.0), SL% (default 1.5).
Implements protective strategy.exit (limit/stop) while in position.
Signal-based exit uses strategy.close to flatten.
Position management:
Long-only, no pyramiding (single position at a time).
Internal state ensures entries occur only when flat and exits only when in a position.
Inputs you can tune:
RSI: length, overbought, oversold, midline.
MACD: fast length, slow length, signal length; toggle “Require MACD > 0”.
Signals: oversold lookback window; EMA trend on/off and EMA length.
Risk: TP% and SL%.
Visuals: show entry/exit markers, bar coloring; optional debug background on raw triggers.
Visuals and alerts:
Plots EMA (optional), draws entry/exit markers, optional bar coloring, and a faint background on raw long triggers to aid tuning.
Alert conditions provided for entries and exits.
Notes:
Designed for bar-close evaluation; performance varies by symbol/timeframe—tune inputs accordingly.
Long-only; intended for trend-following momentum with basic risk control.
Not financial advice.
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.