Type/to search

Combo Trading Strategy Based on 123 Reversal and MACD

Cryptocurrency
Created: 2023-09-19 17:17:30
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This strategy combines 123 reversal patterns and MACD indicators to generate stronger trade signals through filtering. 123 reversals capture short-term reversal opportunities while MACD provides mid-long term trend guidance. The combo signal can effectively discover high probability trade setups.

Strategy Logic

  1. 123 reversal strategy buys when the last two days were down days and today's close is up, with Stochastic below threshold; sells when last two days were up days and today is down, with Stochastic above threshold.

  2. MACD strategy goes long when fast MA is above slow MA, and short when fast MA is below slow MA.

  3. Trades are taken only when both strategies agree, otherwise no action is taken. Trade direction can be switched.

Advantage Analysis

Main advantages:

  1. Combo signal effectively filters false breakouts, improving win rate.

  2. 123 captures short-term reversals, MACD judges mid-long term trend direction.

  3. Stochastic with 123 avoids over-trading after trend reversal.

  4. Two strategies share different tasks, mutually validating, avoiding over-optimization.

  5. Easily switch between long/short, adaptable to various market environments.

Risk Analysis

Main risks:

  1. Combo signal may be too conservative, missing good opportunities.

  2. Reversals are susceptible to sudden events, prone to failure.

  3. Lack of stop loss exposes strategy to large losses.

  4. Double filtering may cause missing trend trades.

  5. Lack of parameter optimization, default values may not fit all instruments.

Optimization Directions

Improvements:

  1. Test different parameter combinations to find optimal values.

  2. Add stop loss to control loss per trade.

  3. Incorporate more filter indicators to improve signal quality.

  4. Introduce machine learning models for automatic parameter optimization.

  5. Test across more trading instruments to evaluate robustness.

  6. Switch parameter sets based on market conditions.

Summary

Overall, combining dual signals avoids over-optimization compared to single strategies. With additions like more filters, stop losses and so on, it can become a robust and practical quantitative trading strategy.

Source
Pine
/*backtest
start: 2023-09-11 00:00:00
end: 2023-09-14 02:00:00
period: 30m
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 24/07/2020
// This is combo strategies for get a cumulative signal. 
Strategy parameters
Strategy parameters
Length
KSmoothing
DLength
Level
r
LengthMACD
SmthLen
Trade reverse
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)