Type/to search

Mean Reversion Reverse Strategy Based on Moving Average

Common strategy
Created: 2023-12-21 15:45:23
Last modified: 3 years ago
1
Follow
1802
Followers

img

The strategy is named "Mean Reversion Reverse Strategy Based on Moving Average". The main idea is to buy when price breaks through key moving averages and take profit when reaching preset targets.

The main principle of this strategy is to capture rebound opportunities in range-bound markets by using the reversion of short-term moving averages. Specifically, when prices break through longer cycle moving averages (such as 20-day and 50-day MAs) and show signs of strong overselling, prices tend to rebound to some extent due to the mean reversion characteristic of market fluctuations. At this time, if shorter cycle moving averages (such as 10-day MA) show upward reversal signal, it would be a good timing to buy. In this strategy, it will buy when the close price is below 20-day MA while above 50-day MA, in order to capture its rebound with short-term MA reversal.

The specific entry logic is: Buy 1 lot when price breaks through 20-day MA, add 1 lot when breaking through 50-day MA, continue to add 1 lot when breaking through 100-day MA, and add up to 1 lot when breaking through 200-day MA, for a maximum of 4 lots. Take profit after reaching the preset targets. It also sets time and stop loss conditions.

Advantage Analysis

  1. Effectively identify short-term rebound opportunities by using the reversal characteristics of moving averages
  2. Reduce risks of single point by pyramiding orders
  3. Lock in profits by setting take profit targets
  4. Avoid false breakouts by using open price and previous low price filters

Risk Analysis

  1. May face reversal risks in long holding periods. Losses would expand if market continues to fall.
  2. MA signals may give false signals, leading to losses
  3. May fail to fully or partially take profits if profit target is not reached

Optimization Directions

  1. Test profitability and stability under different parameter settings
  2. Consider combining other indicators like MACD, KD to decide entries
  3. Choose suitable MA periods based on characteristics of different products
  4. Introduce machine learning algorithms to dynamically optimize parameters

Summary

In general, this is a classic and universal MA trading strategy. It correctly utilizes the smoothing feature of MAs, combined with multiple MAs to identify short-term buying opportunities. It controls risks by pyramiding orders and timely profit taking. But its response to market events like significant policy news may be more passive. This is something that can be further optimized. Overall, with appropriate improvements in parameter optimization and risk control, this strategy can obtain steady excess returns.

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

//@version=5
strategy("EMA_zorba1", shorttitle="zorba_ema", overlay=true)

// Input parameters
Strategy parameters
Strategy parameters
Quantity 1
Quantity 2
Quantity 3
Quantity 4
Profit Percentage
Pyramiding
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)