Type/to search

SMA-RSI-MACD Multi-Indicator Dynamic Limit Order Trading Strategy

SMA
1
Follow
1780
Followers

img

Overview

This strategy is a multi-technical indicator trading system that primarily uses EMA crossover, RSI oversold conditions, and MACD golden cross for trade confirmation. It employs dynamic limit orders for entry and multiple exit mechanisms for risk management. The strategy uses 9-period and 21-period Exponential Moving Averages (EMA) as primary trend indicators, combined with Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) to filter trading signals.

Strategy Principles

The core trading logic includes the following key components:

  1. Entry signals are triggered when 9-period EMA crosses above 21-period EMA
  2. Entry price is set as a limit order below the 9-period EMA at a specified offset
  3. Trade confirmation requires RSI below threshold and MACD golden cross
  4. Exit signals include MACD death cross, fixed profit/loss points, and forced closing at market end
  5. Trading time is restricted between 9:30 AM and 3:10 PM

The strategy uses limit orders for entry to achieve better entry prices and combines multiple technical indicators to improve trading accuracy.

Strategy Advantages

  1. Multiple signal confirmation mechanism improves trade reliability
  2. Limit order entries provide better execution prices
  3. Fixed profit/loss points facilitate risk control
  4. Forced closing at market end eliminates overnight risk
  5. Trading time restrictions avoid opening volatility
  6. EMA indicators provide faster trend response
  7. RSI and MACD combination helps filter false signals

Strategy Risks

  1. Multiple signal confirmation may cause missed opportunities
  2. Limit orders might not execute in rapid price movements
  3. Fixed point stops may result in larger losses during high volatility
  4. MACD signals may lag behind price action
  5. Strategy doesn't account for changes in market volatility
  6. Parameter optimization may lead to overfitting

Strategy Optimization Directions

  1. Introduce adaptive stop-loss and take-profit points based on market volatility
  2. Add volume indicators as additional confirmation signals
  3. Consider adding trend strength filters
  4. Optimize limit order offset calculation using ATR
  5. Include market sentiment indicators to filter unfavorable conditions
  6. Add position sizing mechanism based on signal strength

Summary

This is a well-structured multi-indicator trading strategy that identifies trends using moving averages, filters signals with RSI and MACD, and controls risk through limit orders and multiple stop mechanisms. The strategy's strengths lie in its signal reliability and comprehensive risk control, though it faces challenges with signal lag and parameter optimization. There is significant room for improvement through dynamic parameter adjustment and additional auxiliary indicators. It is suitable for conservative investors in trending market conditions.

Source
Pine
/*backtest
start: 2019-12-23 08:00:00
end: 2024-12-09 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
strategy("SMA 9 & 21 with RSI and MACD Buy Strategy", overlay=true)

// Inputs for Simple Moving Averages
Strategy parameters
Strategy parameters
RSI Length (Optional)
RSI Threshold (Optional)
MACD Fast Length (Optional)
MACD Slow Length (Optional)
MACD Signal Length (Optional)
Limit Order Offset (Optional)
Simulation Dates
Simulation Start Date (Optional)
Simulation End Date (Optional)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)