Type/to search

MACD Trend Following Intraday Strategy

Cryptocurrency
Created: 2023-12-19 11:16:44
Last modified: 2 years ago
1
Follow
1779
Followers

img

Overview

The MACD Trend Following Intraday Strategy is an intraday trading strategy that combines moving averages, the MACD indicator and the Williams Indicator. It utilizes different combinations of the three indicators to form entry and exit criteria for long and short positions, aiming to capture the trending characteristics of short-term price movements.

Strategy Logic

The key trading logic of this strategy is based on several aspects:

  1. Go long when price breaks above the Exponential Moving Average (EMA) line, and go short when it breaks below;

  2. Go long when the MACD fast line is above the slow line, and go short when below;

  3. Go long when William Indicator’s fast MA line is above the slow MA line, and vice versa;

  4. Use the combinations of these 3 scenarios as entry conditions;

  5. Exit on reversal signals.

By combining EMA for overall trend direction and MACD for short-term momentum, this strategy can capture price trend moves at decent entry points for profits. Williams Indicator further helps avoid false breakouts by gauging overbought/oversold levels.

Advantages

This multi-indicator combo structure makes a typical short-term trend following strategy, with main edges like:

  1. Triple cross verification to reduce false signals;

  2. EMA for main trend, MACD for short-term momentum;

  3. Williams Indicator avoids chasing tops or bottom fishing during volatile moves;

  4. Reversal combo ensures risk control aligns with exits.

Risks

There are also major risks to note for this strategy:

  1. The complex structure makes parameter tuning challenging;

  2. Frequent short-term trades may lead to higher transaction costs;

  3. Failure to detect true trend reversal points may result in losses.

The main mitigations are parameter optimization and stop loss to maximize profit combos and control max single trade loss.

Enhancement Opportunities

Main aspects to enhance the strategy:

  1. Test more parameter combinations for optimum set;

  2. Add more data feeds like volume for entry validation;

  3. Employ dynamic or trailing stop loss to strengthen risk control;

  4. Incorporate machine learning for detecting true reversals.

Conclusion

This MACD trend following intraday strategy effectively combines indicators for identifying short-term trends and managing risks. Further improvements on tuning parameters, setting stop loss levels and incorporating more data feeds can lift strategy win rate and profitability. The concepts are worth researching for strategy advancement.

Source
Pine
/*backtest
start: 2023-11-18 00:00:00
end: 2023-12-18 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © platsn

//@version=5
Strategy parameters
Strategy parameters
Source
Volume MA Period
Fast Length
Slow Length
Signal Smoothing
Oscillator MA Type
Signal Line MA Type
w_length
Smoothed %R Length
Slow EMA Length
Trading window
Start Year
Start Month
Start Day
Finish Year
Finish Month
Finish Day
Trading Options
Leverage (if applicable)
Reinvest profit
Reinvest percentage
Daily ATR
ATR period
% ATR to use for SL / PT
VIX Volatility Index
VIX Threshold for entry
Moving Averages
EMA
Color Settings
MACD Line  
Signal Line  
Histogram
Above   Grow
Fall
Below Grow
Fall
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)