OPEN-SOURCE SCRIPT
Atualizado

CM MACD Ultimate MTF + SuperTrend Strategy [PickMyTrade]

82
Overview
This strategy is built upon ChrisMoody's legendary "CM_MacD_Ult_MTF" indicator (one of the most popular MACD indicators on TradingView with over 1.7 million views). The PickMyTrade team has converted this powerful indicator into a fully automated trading strategy with an essential SuperTrend filter for improved trade quality.
What Makes This Different?
While ChrisMoody's original MACD indicator provides excellent momentum signals with multi-timeframe analysis and 4-color histogram visualization, our strategy adds a critical enhancement:
SuperTrend Trend Filter – We only take trades when both momentum AND trend agree:

Long trades: MACD crosses above Signal Line AND SuperTrend is bullish (green)
Short trades: MACD crosses below Signal Line AND SuperTrend is bearish (red)

This combination dramatically reduces false signals in choppy markets and keeps you on the right side of the trend.
How It Works
The MACD Calculation

Fast EMA (12) - Slow EMA (26) = MACD Line
Signal Line = 9-period SMA of MACD
Histogram = MACD - Signal (shows momentum strength)

4-Color Histogram Logic (ChrisMoody's Innovation)
The histogram changes color based on direction AND position:
Above Zero Line (Bullish Territory):

Aqua → Histogram rising (strengthening bullish momentum)
Blue → Histogram falling (weakening bullish momentum)

Below Zero Line (Bearish Territory):
Maroon → Histogram rising (weakening bearish momentum)
Red → Histogram falling (strengthening bearish momentum)

SuperTrend Filter
Green background = Bullish trend (SuperTrend below price)
Red background = Bearish trend (SuperTrend above price)
Uses ATR (Average True Range) to adapt to market volatility

Entry Signals
Long Entry (Green Background Flash):

MACD Line crosses above Signal Line
SuperTrend is bullish (green)
Optional: MACD above zero line for extra confirmation

Short Entry (Red Background Flash):
MACD Line crosses below Signal Line
SuperTrend is bearish (red)
Optional: MACD below zero line for extra confirmation

Exit Signals:
Opposite MACD/Signal crossover (configurable)
SuperTrend reversal (configurable)
Stop Loss / Take Profit levels (configurable)

Key Features
Multi-Timeframe Support – Analyze MACD on higher timeframes while trading on lower timeframes
Visual Crossover Dots – Clear markers when MACD crosses Signal Line
4-Color Histogram – Instant visual feedback on momentum strength and direction
SuperTrend Filter – Only trade with the trend, not against it
Flexible Exit Options – Exit on opposite signal, SuperTrend flip, or fixed targets
Risk Management Built-In – Customizable Stop Loss and Take Profit percentages
Prop Firm Friendly – Conservative approach with trend confirmation
Works on All Markets – Stocks, Forex, Crypto, Futures, Indices
No Repainting – All signals are confirmed on bar close

Recommended Settings
For Stocks & Indices:

MACD: 12/26/9 (default)
SuperTrend: ATR Period 10, Multiplier 3.0
Timeframes: 1H, 4H, Daily
Stop Loss: 2%

For Crypto:
MACD: 8/17/9 (faster settings for crypto volatility)
SuperTrend: ATR Period 10, Multiplier 2.0
Timeframes: 15M, 1H, 4H
Stop Loss: 3%

For Forex:
MACD: 12/26/9 (default)
SuperTrend: ATR Period 10, Multiplier 3.0
Timeframes: 4H, Daily
Stop Loss: 1.5%

Input Parameters
Timeframe Settings

Use Current Chart Resolution: Toggle ON for current timeframe, OFF for custom MTF
Custom Timeframe: Select higher timeframe for MACD calculation (e.g., 60 = 1 hour)

MACD Settings
Fast Length (12): Fast EMA period
Slow Length (26): Slow EMA period
Signal Length (9): Signal line smoothing period
Source: Price input (default: close)

SuperTrend Filter
Use SuperTrend Filter: Toggle trend filter ON/OFF
ATR Period (10): Period for ATR calculation
ATR Multiplier (3.0): Sensitivity (lower = more signals, higher = stronger trends)

Display Settings
Show MACD & Signal Line: Toggle line display
Show Dots at Crossovers: Visual markers at crosses
Show Histogram: Toggle histogram display
Change MACD Line Color: Dynamic coloring based on Signal Line cross
MACD Histogram 4 Colors: Enable ChrisMoody's color scheme

Strategy Settings
Allow Short Positions: Enable/disable short trades
Only Trade in Trend Direction: Extra filter (MACD > 0 for longs)
Exit on Opposite Signal: Close position on reverse crossover
Exit on SuperTrend Reversal: Close when trend changes

Risk Management
Use Stop Loss: Enable fixed stop loss
Stop Loss % (2.0): Percentage from entry
Use Take Profit: Enable fixed take profit
Take Profit % (4.0): Percentage from entry

Usage Tips
Entry Tips:
Wait for alignment – Don't force trades. Wait for both MACD cross AND SuperTrend confirmation
Higher timeframe confirmation – Check the trend on a higher timeframe before entering
Avoid low volatility – Best results during active trading sessions
Volume confirmation – Look for above-average volume on entry signals

Exit Tips:
Let winners run – Consider using trailing stops instead of fixed take profits
Cut losers quickly – Respect your stop loss levels
Watch for divergences – If price makes new highs/lows but MACD doesn't, consider exiting
Exit on SuperTrend flip – Strong signal that trend is changing

Optimization Tips:
Backtest thoroughly – Test on at least 6 months of data for your specific market
Adjust for volatility – Lower ATR multiplier in volatile markets, higher in stable markets
Match your timeframe – Shorter timeframes need faster MACD settings
Consider session times – Some markets perform better during specific sessions

Best Practices
DO:
Use on trending markets for best results
Combine with higher timeframe analysis
Test on demo account before going live
Adjust parameters for each market/timeframe
Use proper position sizing (1-2% risk per trade)

DON'T:
Trade during major news events without experience
Use on choppy, range-bound markets
Ignore the SuperTrend background color
Overtrade – quality over quantity
Risk more than you can afford to lose

Performance Notes
The strategy performs best when:
Markets are trending (avoid ranging markets)
Volatility is moderate to high
Volume is above average
Multiple timeframes align

The strategy may underperform when:
Markets are choppy or sideways
During major news events (whipsaw risk)
In extremely low volatility conditions
Against strong macro trends

Credits
Original MACD Indicator: ChrisMoody - "CM_MacD_Ult_MTF" (April 10, 2014)
Special thanks to ChrisMoody for creating one of the most comprehensive and visually intuitive MACD indicators on TradingView. His 4-color histogram and multi-timeframe features are preserved in this strategy.
Strategy Conversion & Enhancement: PickMyTrade Team
Added SuperTrend filter, automated trading logic, and risk management system.
About PickMyTrade
Strategy Automation:
Love this strategy? Automate it with real-time execution!
For Stock, Crypto, Futures & Options Trading:
Visit pickmytrade.io
Supported Brokers: Rithmic, TradeStation, TradeLocker, Interactive Brokers, ProjectX
For Tradovate Futures Trading:
Visit pickmytrade.trade
Transform your TradingView strategies into fully automated trading systems with:

Real-time order execution
Alert-based automation
Multiple broker connectivity
Risk management controls
Portfolio management
24/7 trading (crypto/forex)

Disclaimer
This strategy is for educational and informational purposes only.
Important Risk Disclosure:

Past performance does NOT guarantee future results
Trading involves substantial risk of loss
Never risk more than you can afford to lose
Always test strategies on paper/demo accounts first
This is not financial advice – consult a professional advisor
Results will vary based on market conditions and individual execution
Slippage, commissions, and spread costs will affect real-world performance

Recommended:
Start with small position sizes
Use proper risk management (stop losses)
Backtest thoroughly on your specific market
Paper trade for at least 30 days before live trading
Keep a trading journal to track performance
Notas de Lançamento
CM MACD Ultimate MTF + SuperTrend Enhanced Strategy [PickMyTrade]

Overview
This is Version 2 of our strategy conversion of ChrisMoody's legendary "CM_MacD_Ult_MTF" indicator (1.7M+ views on TradingView). The PickMyTrade team has transformed this powerful indicator into a fully automated trading system with five professional-grade filters designed to reduce drawdown and improve win rate.
Version 2 Enhancements:

ADX trend strength filter (avoids choppy markets)
Volume confirmation filter (institutional participation)
Histogram strength filter (eliminates weak signals)
ATR-based dynamic stops (volatility-adjusted)
Trailing stop system (locks in profits)

What Makes This Different?
While ChrisMoody's original MACD indicator provides excellent momentum signals with 4-color histogram visualization, our V2 strategy adds five critical filters:

SuperTrend Filter - Only trades aligned with the dominant trend
ADX Trend Strength Filter - Avoids choppy markets (ADX > 25)
Volume Confirmation Filter - Requires above-average volume (1.2x)
Histogram Strength Filter - Filters weak signals (minimum 0.5 strength)
ATR-Based Dynamic Stops - Volatility-adjusted stop losses instead of fixed percentages

Result: Significantly fewer trades, but much higher quality signals with better risk/reward.
How It Works
MACD Foundation (ChrisMoody's Original)

Fast EMA (12) - Slow EMA (26) = MACD Line
Signal Line = 9-period SMA of MACD
Histogram = MACD - Signal

4-Color Histogram:
Aqua = Bullish momentum strengthening (above zero, rising)
Blue = Bullish momentum weakening (above zero, falling)
Maroon = Bearish momentum weakening (below zero, rising)
Red = Bearish momentum strengthening (below zero, falling)

The Five Filters Explained
1. SuperTrend (Trend Direction)
Green background = Bullish trend
Red background = Bearish trend
Keeps you on the right side of major moves

2. ADX (Trend Strength) - NEW IN V2
Orange line shows trend strength
ADX > 25 = Strong trend (safe to trade)
ADX < 25 = Choppy market (stay out)
This single filter can improve win rate by 10-15%

3. Volume Filter - NEW IN V2
Only trades when volume exceeds 1.2x average
Ensures institutional participation
Confirms conviction behind the move

4. Histogram Strength - NEW IN V2
Filters weak MACD crosses (minimum 0.5)
Eliminates low-conviction signals
Reduces whipsaw losses

5. ATR-Based Stops - NEW IN V2
Stop loss = Entry +/- (ATR × 2.0)
Adapts to market volatility automatically
Prevents premature stop-outs
Trailing stop locks in profits

Entry & Exit Signals
Long Entry (ALL Must Be True)

MACD crosses above Signal Line
SuperTrend is bullish (green)
ADX > 25 (strong trend)
Volume > 1.2x average
Histogram strength > 0.5

Visual: Green background flash
Short Entry (ALL Must Be True)

MACD crosses below Signal Line
SuperTrend is bearish (red)
ADX > 25 (strong trend)
Volume > 1.2x average
Histogram strength > 0.5

Visual: Red background flash
Exit Options
Opposite MACD cross (configurable)
SuperTrend reversal (configurable)
ATR-based stop loss (dynamic)
ATR-based trailing stop (locks in profits)
Optional fixed take profit

Recommended Settings
Conservative (Best for Beginners)
Stocks/ETFs:
MACD: 12/26/9
SuperTrend: ATR 10, Multiplier 3.0
ADX: 30
Volume: 1.5x
Histogram: 0.8
Timeframes: 4H, Daily

Crypto:
MACD: 12/26/9
SuperTrend: ATR 10, Multiplier 2.5
ADX: 28
Volume: 1.3x
Histogram: 0.6
Timeframes: 1H, 4H

Balanced (Recommended)
All Markets:
MACD: 12/26/9
SuperTrend: ATR 10, Multiplier 3.0
ADX: 25
Volume: 1.2x
Histogram: 0.5
ATR Stop: 2.0x
Trailing Stop: 1.5x ATR

Key Parameters
MACD Settings
Fast/Slow/Signal Length: Standard 12/26/9 works best
Minimum Histogram Strength: 0.5 = balanced, 0.8 = conservative, 0.3 = aggressive

SuperTrend Filter
ATR Multiplier: 3.0 = fewer signals but stronger trends, 2.0 = more signals

ADX Filter (Most Important)
ADX Threshold: 25 = balanced, 30 = conservative, 20 = aggressive
Higher threshold = fewer trades but higher win rate

Volume Filter
Volume Multiplier: 1.2x = moderate, 1.5x = strong confirmation required

Risk Management
ATR Stop Multiplier: 2.0 = swing trading, 1.5 = day trading, 3.0 = position trading
Use Trailing Stop: Highly recommended for letting winners run

Usage Tips
Best Practices
DO:
Backtest on 6+ months of data for your market
Paper trade for 30 days before live trading
Start with all filters enabled (conservative)
Use 1-2% risk per trade maximum
Trade during active market sessions
Keep a trading journal

DON'T:
Trade against higher timeframe trend
Disable ADX filter (most important one)
Trade during major news events
Use overly tight stops
Overtrade - quality over quantity
Ignore the red flags when filters don't align

Optimization Guide
Too Few Trades?
Lower ADX threshold to 20-22
Reduce volume multiplier to 1.0
Lower histogram strength to 0.3

Too Many Losses?
Increase ADX threshold to 28-30
Increase histogram strength to 0.8
Increase volume multiplier to 1.5

Stops Too Tight?
Increase ATR stop multiplier to 2.5-3.0
Trade higher timeframes

Performance Expectations
Target Metrics:
Win Rate: 45-55% (with all filters)
Profit Factor: > 1.5
Average Win/Loss Ratio: > 2:1
Max Drawdown: < 15%

Best Market Conditions:
Strong trending markets (ADX > 25)
Active trading sessions
Liquid instruments with tight spreads

Avoid:
Choppy/sideways markets (ADX < 20)
Low liquidity periods
Major news announcements

About PickMyTrade

Automate This Strategy
Stop manually placing trades. Connect this strategy to your broker for 24/7 automated execution.
pickmytrade.io - Stocks, Crypto, Futures, Options

Brokers: Rithmic, TradeStation, Interactive Brokers, TradeLocker, ProjectX

pickmytrade.trade - Tradovate Futures

Features:
Real-time TradingView alert execution
No coding required
Risk management automation
Position sizing controls
Multi-strategy support
24/7 trading while you sleep

Credits
Original Indicator: ChrisMoody - "CM_MacD_Ult_MTF" (April 10, 2014)
Special thanks to ChrisMoody for his innovative 4-color histogram and multi-timeframe MACD system that has helped millions of traders.
Strategy Enhancement: PickMyTrade Team
Version 2 adds ADX filter, SuperTrend, Volume confirmation, Histogram strength filter, and ATR-based risk management.
Disclaimer
This strategy is for educational purposes only. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always backtest thoroughly, paper trade first, and never risk more than you can afford to lose. This is not financial advice.

Developed by PickMyTrade Team

Questions or feedback? Leave a comment below!
If this strategy improves your trading, please like and share.
Follow for more professional trading strategies and automation tools.
Notas de Lançamento
CM MACD MTF + ADX Enhanced Strategy [PickMyTrade]

Overview
Version 2 of ChrisMoody's popular "CM_MacD_Ult_MTF" indicator (1.7M+ views) converted into a fully automated strategy with 5 professional filters to reduce drawdown and improve win rate.

V2 Enhancements
SuperTrend Filter - Trend direction confirmation
ADX Filter - Avoids choppy markets (ADX > 25)
Volume Filter - Requires 1.2x average volume
Histogram Strength - Filters weak signals (min 0.5)
ATR-Based Stops - Dynamic, volatility-adjusted stops + trailing

How It Works
Entry Requirements (ALL must be true):

MACD crosses Signal Line
SuperTrend confirms trend direction
ADX > 25 (strong trend)
Volume > 1.2x average
Histogram strength > 0.5

4-Color Histogram (ChrisMoody's Original):
Aqua/Blue = Bullish momentum (above zero)
Maroon/Red = Bearish momentum (below zero)
Color intensity shows momentum strength

Recommended Settings
Stocks/Forex: MACD 12/26/9, SuperTrend ATR 10/3.0, ADX 25, Timeframes: 1H-Daily
Crypto: MACD 12/26/9, SuperTrend ATR 10/2.5, ADX 25, Timeframes: 1H-4H
Risk Management: ATR Stop 2.0x, Trailing Stop 1.5x ATR (highly recommended)

Key Tips
ADX filter is most important (improves win rate 10-15%)
Start conservative with all filters enabled
Backtest 6+ months, paper trade 30 days
Use 1-2% risk per trade maximum
Avoid trading when ADX < 20 (choppy markets)

Optimization
Too few trades? Lower ADX to 20, reduce histogram strength to 0.3
Too many losses? Increase ADX to 30, histogram strength to 0.8
Stops too tight? Increase ATR multiplier to 2.5-3.0

About PickMyTrade
Automate this strategy with real broker execution:
pickmytrade.io - Stocks, Crypto, Futures, Options (Rithmic, TradeStation, Interactive Brokers, TradeLocker, ProjectX)
pickmytrade.trade - Tradovate Futures
Features: Real-time alerts, 24/7 execution, risk management, no coding required.
Credits
Original Indicator: ChrisMoody - "CM_MacD_Ult_MTF" (April 2014)
V2 Enhancement: PickMyTrade Team (Added ADX, Volume, Histogram filters, ATR stops)
Disclaimer
Educational purposes only. Trading involves substantial risk. Past performance doesn't guarantee future results. Always backtest thoroughly and paper trade first. Not financial advice.

Version History:
V2: Added ADX, Volume, Histogram filters, ATR stops, Trailing stops
V1: SuperTrend filter only

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.