SLG's EMA+MACD Signal Trading Strategy M15Trading Concept Overview
This strategy combines trend-following and momentum confirmation to identify high-probability entries in both long and short directions. It uses EMA-based trend filtering and MACD signal analysis, while managing risk dynamically using ATR-based stop loss and take profit.
1. Trend Identification
The strategy calculates a Trend EMA (emaTrend) with a user-defined period (emaTrendLen) to determine the overall market direction:
Bullish Trend: Price closes above the Trend EMA → only long trades are considered.
Bearish Trend: Price closes below the Trend EMA → only short trades are considered.
This ensures trades are aligned with the larger trend, avoiding counter-trend signals.
2. Momentum Signal with MACD
MACD Calculation:
fastEMA - slowEMA generates the MACD line.
Signal line is an EMA of the MACD line.
delta = MACD - Signal measures the momentum difference.
Entry Logic:
Long Signal: delta crosses above zero AND the price is above the Trend EMA.
Short Signal: delta crosses below zero AND the price is below the Trend EMA.
This ensures that entries occur only when momentum is aligned with the overall trend.
3. Dynamic Risk Management (ATR-based SL/TP)
Uses Average True Range (ATR) to dynamically set stop loss and take profit:
Long Trade:
Stop Loss = Close - ATR * atrSLMult
Take Profit = Close + ATR * atrTPMult
Short Trade:
Stop Loss = Close + ATR * atrSLMult
Take Profit = Close - ATR * atrTPMult
This allows the strategy to adapt to market volatility, protecting capital in choppy conditions and scaling profit targets in trending markets.
4. Visual and Alert Features
Plots:
Trend EMA for visual trend guidance.
MACD delta to observe momentum.
Long/Short signals as small triangles directly on the chart.
Alerts:
Generates notifications for long and short signals to trigger timely trades.
5. Core Trading Philosophy
Trend-Following Bias: Only trade in the direction of the trend EMA.
Momentum Confirmation: Enter trades when the MACD delta confirms the move.
Volatility-Adjusted Risk: Use ATR to dynamically scale stops and targets.
Disclaimer / Risk Notice
Trading financial markets involves significant risk and may not be suitable for all investors. Past performance is not indicative of future results.
Market conditions can change rapidly and unpredictably, and no strategy can guarantee profits. Always use proper risk management and position sizing.
This strategy is for educational and informational purposes only. Users are responsible for their own trading decisions.
K-macd
MACD ProThe MACD Pro is a modern take on the classic MACD, designed to give traders deeper insights into market momentum, trend conditions, and potential turning points. While it keeps the standard MACD foundation, it introduces a few enhancements to make it more adaptive and visually intuitive.
At its core, the indicator calculates the traditional MACD line, Signal line and Histogram. The histogram can be optionally displayed.
One of the things that set this version apart is the addition of the MACD Leader, an optional feature that makes the MACD more responsive to price action. By applying an adaptive smoothing factor (Leader Sensitivity), the Leader line can provide earlier momentum cues compared to the standard MACD and help anticipate shifts before they become obvious on a standard MACD indicator.
Another enhancement is the regime-based color system for the MACD line. Instead of simply coloring based on the MACD or histogram itself, this indicator identifies the overall market regime using momentum and trend strength conditions.
Bullish Regime: Momentum is positive and trend strength is above average.
Bearish Regime: Momentum is negative and trend strength is above average.
Sideways Regime: Momentum remains weak and within noise levels.
This regime detection allows the MACD line to visually adapt, giving traders an extra layer of context beyond standard MACD signals to blend momentum analysis with market conditions, helping distinguish between trending and ranging environments.
MultiScalpMACDThis indicator, the "Custom MACD MTF," is an adaptive version of the classic Moving Average Convergence Divergence (MACD) that automatically adjusts its parameters based on the chart's timeframe. It is designed to provide more fine-tuned momentum readings for traders who focus on specific intraday timeframes.
Overview
The "Custom MACD MTF" modifies the standard MACD calculation by applying unique settings for the 5-minute, 15-minute, and 1-hour charts. For all other timeframes, it reverts to the user-defined default values. This dynamic adjustment allows the indicator to better reflect the momentum characteristics of different trading sessions without requiring manual changes from the user.
Key Features
Adaptive Parameters: The indicator automatically uses optimized MACD settings for popular timeframes:
5-minute: Fast Length = 3, Slow Length = 10, Signal Length = 16
15-minute: Fast Length = 8, Slow Length = 17, Signal Length = 9
1-hour: Fast Length = 12, Slow Length = 26, Signal Length = 9
Momentum-Based Histogram: The histogram bars are colored to provide a clear visual cue about changes in momentum. A light gray bar indicates that momentum is increasing (the current bar is higher than the previous one), while a dark gray bar indicates that momentum is decreasing.
Clear Visual Plots: The indicator plots a pink MACD line, a black signal line, and a gray zero line for easy interpretation of crossovers and trend direction.
How to Interpret
This indicator can be used in the same way as a traditional MACD, but with added sensitivity on the specified timeframes. Traders can look for MACD and signal line crossovers, zero-line crosses, and divergences to identify potential trade signals. The histogram's color change provides an early warning that momentum is either accelerating or decelerating, which can precede a change in price direction.
Settings
Fast Length (Default): The default fast EMA period used for all timeframes except 5m, 15m, and 1h.
Slow Length (Default): The default slow EMA period used for all timeframes except 5m, 15m, and 1h.
Signal Length (Default): The default signal line EMA period used for all timeframes except 5m, 15m, and 1h.
Source: The price source for the MACD calculation (default is Close).
Hierarchical Resonance Analyzer MAX 915The Hierarchical Resonance Analyzer (HRA) is a comprehensive, all-in-one technical analysis suite designed for in-depth market structure analysis. Its core philosophy is based on identifying "resonance"—the confluence of signals across multiple timeframes and analytical models.
This tool moves beyond single-indicator analysis to provide a more holistic, multi-dimensional view of the market.
Key Features:
Proprietary HRA Core Signals: A unique set of candlestick pattern detectors (A,V,H,L,B) combined with a sequential counting system to identify potential market exhaustion and key turning points.
Multi-Timeframe Resonance Analysis: The heart of the system. It analyzes signal agreement across different user-defined timeframes (both Top-Down and Bottom-Up) to identify high-conviction setups.
Advanced Divergence Modules: Includes three distinct types of divergence detection, providing a comprehensive view of momentum versus price action:
MACD Area Divergence
RSIOI Overbought/Oversold Zone Divergence
Cumulative Volume Delta (CVD) Divergence
Integrated Trend & Volatility Suite: Features fully customizable Moving Averages (with cross alerts) and Bollinger Bands to provide essential market context for the core signals.
Fully Modular Design: Every component, from the core HRA signals to each indicator module, can be toggled on or off via a central control panel. This allows for a clean, focused, and adaptable workspace tailored to your specific analysis needs.
MACD DIVERGENCE MACD DIVERGENCE is a momentum oscillator that combines the power of multi-timeframe (MTF) MACD with a regular divergence engine (bullish/bearish) and bias-shift alerts, providing a professional, actionable read of the impulse–correction cycle. 📈🧭
Key Benefits ✅
Selectable MTF MACD: compute MACD from 1m…W or use the chart’s timeframe to align entries with the higher-timeframe bias.
Intelligent visual read: histogram and line colors adapt to reflect inertia and pace changes (acceleration/deceleration).
Robust regular divergences: detects bullish/bearish by comparing oscillator pivots vs. price extremes within configurable search ranges (helps avoid false positives from pivots too far apart or too close).
Ready-to-trade alerts:
Strong Buy: histogram crosses > 0 (bullish bias).
Strong Sell: histogram crosses < 0 (bearish bias). 🔔
Versatile by design: works on crypto, indices, forex, commodities; from intraday to swing.
Recommended Workflow ⚙️
Bias (MTF): choose the MACD timeframe to inherit context (e.g., trade 15m using a 1h MACD).
Trigger: prioritize zero-line crosses accompanied by regular divergences (confluence).
Management: apply your risk plan (position size, SL/TP) and use alerts to synchronize execution.
Core Parameters 🔧
MACD Timeframe (MTF): “same as chart” or manual selection (1, 5, 15, 30, 60, 240, D, W).
MACD Lengths: fast/slow/signal (defaults 12/26/9).
Divergences: enable bullish/bearish, set pivot left/right, and min/max search range to control sensitivity.
Best Practices 🛡️
Match pivot windows and range to the asset’s structure and volatility.
Don’t rely on a single condition; seek confluence (MTF + zero-cross + divergence).
Run backtests/forward tests and document results before scaling up.
Compatibility 🌐
Works on any asset and timeframe supported by TradingView; plotted in a separate panel (overlay=false) to keep the main chart clean.
Disclaimer ⚠️
This product is not financial advice and does not guarantee results. Performance depends on the asset, market conditions, chosen configuration, and the user’s risk management. Trade responsibly.
[DEM] RMEMA Bars RMEMA Bars is a multi-factor trend confirmation indicator that combines a double-smoothed moving average with momentum, trend direction, and price position analysis to generate color-coded bar signals. The indicator uses an RMA-smoothed EMA (21-period EMA smoothed by 5-period RMA) as its primary trend filter, while incorporating four additional technical conditions: price position relative to recent highs/lows over a 20-period window, Parabolic SAR directional bias, relative positioning of recent highs versus lows, and MACD momentum direction using extended parameters (50/100/21). Green bars appear when price is above SAR, recent highs dominate recent lows, MACD is positive, and the smoothed moving average is rising, while red bars signal the opposite conditions with price below SAR, recent lows dominating, negative MACD, and falling moving average. Purple bars indicate mixed or transitional conditions where not all criteria align, creating a comprehensive visual system that requires multiple technical factors to confirm before signaling strong bullish or bearish conditions.
[DEM] Multiple Linear Regression Score Multiple Linear Regression Score is a composite momentum indicator that evaluates market conditions by analyzing a reference symbol (defaulting to NDX) across multiple technical dimensions and combining them into a single predictive score. The indicator processes ten different technical variables including RSI, MACD components (line, signal, and histogram), price relationships to various moving averages (10, 50, 100, 200), and short-term price changes (1-day and 5-day), converting most into binary signals (1 or 0) based on whether they're above or below zero. These binary and continuous inputs are then weighted using regression-derived coefficients and combined into a final percentage score that oscillates around zero, with the indicator also calculating a 20-period standard deviation of the score to measure volatility. This approach creates a data-driven sentiment gauge that quantifies the overall technical health of the reference market by mathematically weighting the importance of each technical factor based on historical relationships.
[DEM] MACD Bars MACD Bars is designed to color price bars based on the relationship between the MACD line and its histogram to provide immediate visual feedback about momentum conditions and potential trend changes. The indicator calculates the standard MACD using the default parameters (12, 26, 9) and applies a three-color system to the candlesticks: green bars when the MACD line is above both the histogram and zero (indicating strong bullish momentum), red bars when the MACD line is below both the histogram and zero (indicating strong bearish momentum), and purple bars for all other conditions where momentum signals are mixed or transitional. This color-coding system helps traders quickly identify periods of strong directional momentum versus periods of uncertainty or potential reversal without needing to reference a separate MACD indicator pane.
[DEM] Combo Signal (With Backtesting) Combo Signal (With Backtesting) is designed to generate buy and sell signals by combining seven different trading strategies that incorporate multiple technical indicators including SuperTrend, Parabolic SAR, MACD, and RSI. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table. The strategy triggers buy signals when any of seven long conditions are met (including ATR-based reversal patterns, SuperTrend confirmations, RSI oversold crossovers, MACD bullish crossovers, and SuperTrend line breaks), while sell signals are generated when any of the corresponding seven short conditions occur, creating a multi-faceted approach that aims to capture various market conditions and trading opportunities while tracking signal accuracy, average returns, and signal frequency through its integrated backtesting system.
AA1 MACD 09.2025this is a learing project i want to share
the script is open for anyone
I combain some ema's mcad and more indicators to help find stocks in momentum
MACD Area on Chart w/ DivergenceMACD Area & Divergence Suite
This is an all-in-one MACD analysis tool that overlays key information directly onto your price chart, helping you visualize momentum and potential trend changes.
Instead of looking at a separate indicator pane, this script brings all the critical data to your main chart.
Features
MACD Histogram Area: The script calculates the cumulative value (the "area") of the MACD histogram for each cycle (from one signal line cross to the next).
Cycle Boxes: It draws a border around the price bars that correspond to each positive (green) and negative (red) MACD histogram cycle.
Area Labels: Displays the calculated area value in the center of each box.
MACD Zero-Line Cross: Automatically draws a vertical dashed line when the main MACD line (not the histogram) crosses the zero line, signaling a major momentum shift.
Full Divergence Detection: This is the core feature. The script automatically finds, draws, and labels both types of divergence:
Regular Divergence: Signals a potential trend reversal.
Hidden Divergence: Signals a potential trend continuation.
Advanced Filtering: Includes a powerful option to validate divergences, ensuring they do not cross the MACD zero line. This helps filter for higher-quality signals.
Highly Customizable: Every feature can be turned on or off in the settings, including a "Divergence Only" mode for a cleaner chart. All colors and transparency are fully adjustable.
KK🚦LightKK Light is for 5min ~ 15min ETH/BTC only
The red triangles indicate selling, and the green ones indicate buying.
When the colored lights appear, you should be more careful.
The colored squares mean that you should stop what you're doing right now.
You can contact me for more details
Adaptive MACD Suite (MAMA / FAMA / KAMA) By Tehreem 2.0Adaptive MACD built without simple moving averages.
Choose your engine: MAMA–FAMA (Ehlers), MAMAx2, FAMAx2, or KAMAx2 (Kaufman Adaptive). The histogram is the classic MACD histogram (MACD − Signal), plotted with rising/falling tint just like the standard indicator—only smarter and fully adaptive.
Why this indicator?
Traditional MACD relies on simple or exponential MAs that lag in fast markets. This tool replaces them with adaptive baselines so your MACD reacts to real-time market dynamics:
MAMA–FAMA (John Ehlers) adapts with instantaneous phase/alpha.
KAMA (Perry Kaufman) adapts using Efficiency Ratio (ER).
MAMAx2 / FAMAx2 let you compare two adaptive lines of the same family (fast vs slow).
Result: faster trend detection, cleaner momentum shifts, and fewer whipsaws across forex, crypto, stocks, indices, gold (XAUUSD), and more.
What it does (at a glance)
MACD Line: difference between selected adaptive fast & slow lines (per mode).
Signal Line: EMA of MACD (length adjustable).
Histogram: MACD − Signal with positive/negative & rising/falling colors for instant read.
Source Option: Use Heiken Ashi close or regular close to fit HA-based systems.
Alerts: Bull/Bear crosses and zero-line shifts (ready to hook into your trade rules).
Modes (pick one)
MAMA_FAMA: Classic Ehlers pair. MACD = MAMA − FAMA. Great all-rounder for momentum + trend confirmation.
MAMAx2: MACD = MAMA(fast) − MAMA(slow). Keeps the Ehlers feel while separating pace.
FAMAx2: MACD = FAMA(fast) − FAMA(slow). A smoother, slightly slower flavor of the Ehlers family.
KAMAx2: MACD = KAMA(fast ER) − KAMA(slow ER). Excellent in choppy assets; adapts to noise.
All engines are coded from scratch (no built-ins), Pine v6, and calibrated to behave like a “real” MACD—just without SMA/EMA as the core trend inputs.
How to use it (practical playbook)
Trend confirmation: Trade in the direction of MACD above/below zero.
Entry timing: Look for MACD crossing Signal in trend direction.
Momentum strength: Expanding histogram indicates acceleration; contracting suggests a pause or pullback.
Divergence spotting: Price vs. MACD divergences remain valid—adaptive baselines can reveal them earlier.
Heiken Ashi workflows: Flip “Use Heiken Ashi Close as Source” on to align with HA entries (e.g., HA green above baseline + MACD > 0).
Suggested starting settings
MAMA_FAMA: fastLimit = 0.50, slowLimit = 0.05, Signal = 9
MAMAx2: M1: 0.60/0.04, M2: 0.30/0.02
FAMAx2: M1: 0.50/0.05, M2: 0.25/0.03
KAMAx2: Fast ER = 10, Slow ER = 30, FastLen = 2, SlowLen = 30, Signal = 9
Tweak signal length a bit higher for very noisy symbols (e.g., some crypto pairs) and a bit lower for smoother indices.
Included alerts (ready to use)
MACD Bull/Bear Cross (MACD ↔ Signal)
MACD > 0 / < 0 (regime shifts)
Optional Histogram Rising/Falling momentum alerts
Who is it for?
Traders who prefer adaptive indicators over fixed-period SMAs/EMAs.
Trend-followers and swing traders needing cleaner momentum confirmation.
Scalpers and intraday traders on volatile instruments (crypto, gold, NASDAQ) who want faster reaction without overfitting.
Tips & best practices
Pair with a baseline (e.g., EMA/MAMA on price) for structure; use Adaptive MACD for timing.
On higher timeframes, MAMA_FAMA often gives very clean signals.
In range markets, KAMAx2 typically filters noise better.
For 1:3 RR systems, use MACD for confirmation, not as the sole trigger.
Notes & disclaimer
Built for Pine v6.
This is a tool, not financial advice. Always validate on your market/timeframe and use proper risk management.
Aljane's 1348ema strategy13/48ema crossover powerful setup
EMAs (13, 48, 200)
VWAP
buy/sell labels
Candles turn white on bullish , red on bearish
Ideal for traders who want a simplified but powerful chart setup without clutter.
Aljane's 13/48 strategyThis indicator combines key moving averages (EMA 13, EMA 48, and EMA 200) with VWAP and SuperTrend to help identify market trends, reversals, and potential entry/exit points. EMA crosses provide momentum signals, VWAP tracks volume-weighted price, and SuperTrend highlights trend direction with buy/sell labels.
Adaptive Convergence Divergence### Adaptive Convergence Divergence (ACD)
By Gurjit Singh
The Adaptive Convergence Divergence (ACD) reimagines the classic MACD by replacing fixed moving averages with adaptive moving averages. Instead of a static smoothing factor, it dynamically adjusts sensitivity based on price momentum, relative strength, volatility, fractal roughness, or volume pressure. This makes the oscillator more responsive in trending markets while filtering noise in choppy ranges.
#### 📌 Key Features
1. Dual Adaptive Structure: The oscillator uses two adaptive moving averages to form its convergence-divergence line, with EMA/RMA as signal line:
* Primary Adaptive (MA): Fast line, reacts quickly to changes.
* Following Adaptive (FAMA): Slow line, with half-alpha smoothing for confirmation.
2. Adaptive MA Types
* ACMO: Adaptive CMO (momentum)
* ARSI: Adaptive RSI (relative strength)
* FRMA: Fractal Roughness (volatility + fractal dimension)
* VOLA: Volume adaptive (volume pressure)
3. PPO Option: Switch between classic MACD or Percentage Price Oscillator (PPO) style calculation.
4. Signal Smoothing: Choose between EMA or Wilder’s RMA.
5. Visuals: Colored oscillator, signal line, histogram with adaptive transparency.
6. Alerts: Bullish/Bearish crossovers built-in.
#### 🔑 How to Use
1. Add to chart: Works on any timeframe and asset.
2. Choose MA Type: Experiment with ACMO, ARSI, FRMA, or VOLA depending on market regime.
3. Crossovers:
* Bullish (🐂): Oscillator crosses above signal → potential long entry.
* Bearish (🐻): Oscillator crosses below signal → potential short entry.
4. Histogram: expansion = strengthening trend; contraction = weakening trend.
5. Divergences:
* Bullish (hidden strength): Price pushes lower, but ACD turns higher = potential upward reversal.
* Bearish (hidden weakness): Price pushes higher, but ACD turns lower = potential downward reversal.
6. Customize: Adjust lengths, smoothing type, and PPO/MACD mode to match your style.
7. Set Alerts:
* Enable Bullish or Bearish crossover alerts to catch momentum shifts in real time.
#### 💡 Tips
* PPO mode normalizes values across assets, useful for cross-asset analysis.
* Wilder’s smoothing is gentler than EMA, reducing whipsaws in sideways conditions.
* Adaptive smoothing helps reduce false divergence signals by filtering noise in choppy ranges.
MACD Aspray Hybrid Bars (teal/red) = raw momentum (Aspray Histogram).
Teal line = smooth curve of the histogram (Aspray Line).
Orange line = 9-EMA of that line (new signal).
Zero line for reference.
MACD X Cross with PlotThe default MACD indicator with the crossover added at the top of the MACD plot pane. Arrow up for MACD crossover signal line. Arrow down for MACD crossunder signal line.
MIT MACD • Filled/Hollow Momentum HistogramThe MIT MACD • Filled/Hollow Momentum Histogram is an enhanced version of the classic MACD.
- Dual-style histogram (filled for acceleration, hollow for deceleration).
- Customizable colors for bars, MACD/Signal lines, and background.
- Background highlight when the slow line crosses the zero-line.
- Fully adjustable parameters, keeping TradingView defaults.
此脚本是经典 MACD 的进阶版,支持实心/空心动能柱体,零轴背景高亮,参数与配色可自由调整,更直观捕捉趋势与动能变化。
MACD, RSI & Stoch + Divergences
Best results with combination My_EMA_clouds and Market Mood Maker
This script is a comprehensive technical analysis tool that combines several popular indicators and divergence detection features.
The main components of the script include:
* **MACD indicator** with histogram displaying moving averages and their divergence
* **RSI (Relative Strength Index)** for momentum analysis
* **Stochastic Oscillator** for overbought/oversold levels
* **Divergence detection** system identifying both regular and hidden bullish/bearish divergences between price action and oscillators
Key features:
* Customizable settings for each indicator (periods, smoothing parameters)
* Flexible visualization options (lines, arrows, labels)
* Multiple oscillator display modes (RSI, Stochastic, MACD, or Histogram)
* Pivot point detection for accurate divergence identification
* Configurable lookback period for analysis
* Color-coded signals for easy interpretation
* Horizontal levels for overbought/oversold zones
* Interactive settings panel for customization
The script provides traders with a comprehensive toolkit for identifying potential reversal points and confirming trend directions through divergence analysis across multiple timeframes and indicators.
анный скрипт представляет собой комплексный инструмент технического анализа, который объединяет несколько популярных индикаторов и систему обнаружения дивергенций.
Основные компоненты скрипта включают:
Индикатор MACD с гистограммой, отображающей скользящие средние и их расхождения
Индекс относительной силы (RSI) для анализа импульса
Стохастический осциллятор для определения уровней перекупленности/перепроданности
Система обнаружения дивергенций, выявляющая как обычные, так и скрытые бычьи/медвежьи дивергенции между ценовым движением и осцилляторами
REMS Snap Shot OverlayThe REMS Snap Shot indicator is a multi-factor, confluence-based system that combines momentum (RSI, Stochastic RSI), trend (EMA, MACD), and optional filters (volume, MACD histogram, session time) to identify high-probability trade setups. Signals are only triggered when all enabled conditions align, giving the trader a filtered, visually clear entry signal.
This indicator uses an optional 'look-back' feature where in it will signal an entry based on the recency of specified cross events.
To use the indicator, select which technical indicators you wish to filter, the session you wish to apply (default is 9:30am - 4pm EST, based on your chart time settings), and if which cross events you wish to trigger a reset on the cooldown.
The default settings filter the 4 major technical indicators (RSI, EMAs, MACD, Stochastic RSI) but optional filters exist to further fine tune Stochastic Range, MACD momentum and strength, and volume, with optional visual cues for MACD position, Stochastic RSI position, and volume.
EMAs can be drawn on the chart from this indicator with optional shaded background.
This indicator is an alternative to REMS First Strike, which uses a recency filter instead of a cool down.