logo
Developers

EMA and MACD with Trailing Stop Loss (by Coinrule)

Script from: TradingViewSwingTrend followingMomentumScalping

This strategy combines EMA and MACD indicators for entry/exit signals, executed with a trailing stop loss to secure profits and limit losses. It entails going long when the MACD histogram is bearish and EMA7 exceeds EMA14 and exiting when the price trails up by 3% or down by 1%. For improvement, adjusting EMAs and trailing stop loss parameters to match the market condition is suggested. A test run on XRPUSDT has shown promising results.

PAX Gold / TetherUS (PAXGUSDT)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 2 h

2.12

Risk Reward

104.51 %

Total ROI

70

Total Trades

RUNE / US Dollar (RUNEUSD)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 2 h

1.20

Risk Reward

12.37 %

Total ROI

140

Total Trades

Dogecoin / TetherUS (DOGEUSDT)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 4 h

1.18

Risk Reward

111.36 %

Total ROI

177

Total Trades

RNDR / US Dollar (RNDRUSD)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 2 h

1.15

Risk Reward

11.20 %

Total ROI

150

Total Trades

MKR / US Dollar (MKRUSD)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 4 h

1.14

Risk Reward

5.46 %

Total ROI

69

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

8.27

Risk Reward

96.44 %

Total ROI

16

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

7.93

Risk Reward

128.76 %

Total ROI

25

Total Trades

Sandisk Corporation (SNDK)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 1 h

2.86

Risk Reward

502.51 %

Total ROI

66

Total Trades

SEALSQ Corp (LAES)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 1 h

2.74

Risk Reward

30.74 %

Total ROI

18

Total Trades

Enovix Corporation (ENVX)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 4 h

2.56

Risk Reward

21.38 %

Total ROI

16

Total Trades

Sandisk Corporation (SNDK)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 2 h

2.44

Risk Reward

277.98 %

Total ROI

41

Total Trades

Gap, Inc. (The) (GPS)

+ EMA and MACD with Trailing Stop Loss (by Coinrule)

@ 4 h

2.30

Risk Reward

11.56 %

Total ROI

17

Total Trades
Create your account for free to see all 127+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account to see on which symbols EMA and MACD with Trailing Stop Loss (by Coinrule) is currently trading on.

Guide

How does the EMA and MACD with Trailing Stop Loss (by Coinrule) strategy work ?

The "EMA and MACD with Trailing Stop Loss" trading strategy relies on combining two popular indicators: the Exponential Moving Average (EMA) and the Moving Average Convergence Divergence (MACD). The strategy dictates entering a long position when the EMA7 is above EMA14, suggesting an upward trend, and the MACD histogram flips to the bullish side. This indicates increasing momentum and adds confirmation to the trend suggested by the EMAs.

Exit conditions are based on a trailing stop loss strategy. This involves a sell-off if the price either increases by 3%, locking in the profit, or falls by 1%, mitigating losses. The strategy uses a trailing stop loss to capitalize on the trend's upside while protecting from sudden downturns without a preset exit point.

This strategy has been back-tested from the beginning of 2022, simulating its effectiveness in a bear market, and showing strong performance on pairs like XRPUSDT in a 1-minute timeframe. This implies frequent trade entries and exits due to the small timeframe. To tailor the strategy to individual risk profiles and market conditions, adjustments can be made to the EMA settings and the trailing stop loss percentages. The strategy simulation assumes trading with 30% of holdings and includes a realistic 0.1% trading fee, aligning with Binance's base fee.

How to use the EMA and MACD with Trailing Stop Loss (by Coinrule) strategy ?

This trading strategy uses an EMA crossover and MACD signal crossover to determine buy entries, and employs a trailing stop loss for exits.

To trade this strategy manually on TradingView:

  • Add two Exponential Moving Averages (EMAs) to your chart. Use 7 periods for the fast EMA and 14 periods for the slow EMA.
  • Add the Moving Average Convergence Divergence (MACD) indicator with default settings (12, 26, 9).
  • Enter a trade when the fast EMA crosses above the slow EMA (buy condition 1) and the MACD line crosses above the MACD signal line (buy condition 2).
  • Set a trailing stop loss at a percentage below the current price (e.g., 3% for long positions).
  • Remain in the trade until the trailing stop loss is triggered, then exit the trade.

How to optimize the EMA and MACD with Trailing Stop Loss (by Coinrule) trading strategy ?

Improving the "EMA and MACD with Trailing Stop Loss" strategy when trading manually involves refining the existing framework with more nuanced entries, exits, and additional confirmatory indicators. The aim is to enhance accuracy and profitability while keeping the strategy simple and actionable for manual execution.

  • Optimize EMA Periods: Begin by experimenting with different EMA periods to better suit varying market conditions. Consider using an EMA period that aligns with a commonly watched time-frame by traders, such as the EMA50 or EMA200, to potentially get entries that coincide with the market sentiment.
  • MACD Histogram Tweaks: Instead of purely relying on crossovers, focus on the MACD histogram for additional confirmation. Look for divergences such as the price reaching new highs while the histogram fails to do so, potentially signaling a reversal.
  • Include Volume: Integrate volume analysis to confirm entries and exits. Rising volume on trend continuations or reversals can provide additional confidence in the signals provided by the EMA and MACD.
  • Refine Trailing Stop Loss: Customize the trailing stop loss based on volatility. Use indicators like the Average True Range (ATR) to set dynamic trailing stops that adjust to the market's current volatility, offering protection against whipsaws.
  • Multiple Time Frame Analysis: Cross-verify signals by looking at multiple time frames. Confirm that the trend on a longer time frame matches the trade direction on your trading time frame for stronger signals.
  • Price Action Confirmation: Before acting on EMA and MACD signals, validate them against price action patterns like support and resistance levels, or bullish and bearish candlestick patterns, ensuring the market structure supports your trade.
  • Set Profit Targets: In addition to trailing stop losses, set clear profit targets based on significant price levels or a risk-reward ratio that suits your trading style, to lock in profits preemptively.
  • Implement Risk Management: Adjust position sizes based on the stop loss distance and the volatility of the asset, ensuring each trade risks only a small percentage of your total capital.

Implementing these improvements to the "EMA and MACD with Trailing Stop Loss" strategy requires continuous backtesting and refinement. Keep a trade journal to record the outcome of strategy tweaks and understand their impact on your trading performance.

For which kind of traders is the EMA and MACD with Trailing Stop Loss (by Coinrule) strategy suitable ?

The "EMA and MACD with Trailing Stop Loss" trading strategy is best suited for day traders and those who prefer a rigorous, technical analysis-based approach to trading. Given that it uses a 1-minute timeframe, it requires attentiveness and swift decision-making, characteristics typically associated with an active trading style. This strategy is ideal for:

  • Traders who can dedicate time to monitor the markets closely due to the frequent trade signals generated by the short timeframe.
  • Individuals looking for systematic entry and exit points, thereby reducing the emotional aspects of trading.
  • Traders who are comfortable adjusting strategy parameters like EMA periods and trailing stop percentages to optimize performance.

This strategy is not recommended for long-term investors or traders with a low risk tolerance, due to the inherent volatility of the assets traded on such short timeframes.

Key Takeaways of EMA and MACD with Trailing Stop Loss (by Coinrule)

  • Strategy Essence: Employs EMAs and MACD for trend following and momentum, with trailing stop loss for exits.
  • Working Mechanism: Trades are entered when EMA7 surpasses EMA14 and MACD line crosses above the signal line; exits are triggered by a percentage-based trailing stop loss.
  • Manual Execution: Real-time monitoring of EMA and MACD indicators on TradingView, coupled with dynamic trailing stop loss adjustments.
  • Automation Potential: Can be automated with alerts or by utilizing built-in functions on TradingView, reducing the need for constant chart observation.
  • Optimization Approach: Adjust EMA periods, analyze volume, add price action patterns, and utilize multi-timeframe analysis for enhanced decision-making.
  • Risk Management: Incorporate volatility assessments and strict capital allocation to maintain consistent risk per trade.
  • Trader Suitability: Ideal for day traders adept in technical analysis, willing to make fast decisions, and capable of frequent trade management.
Explore the best Trading & TradingView strategies

Stop trading blindly. Explore the best strategies among 100K+ backtests and improve your trading skills with data.

Start for free