Type/to search

SMA RSI & Sudden Buy Sell Strategy

Cryptocurrency
Created: 2023-12-20 17:33:04
Last modified: 2 years ago
1
Follow
1779
Followers

img

Overview

This strategy mainly uses the average value of RSI and sudden price changes to identify market trend and reversal points. The core idea is to consider establishing positions when RSI is overbought or oversold, and look for reversal opportunities when sudden price changes occur. EMA is also used as a filter.

Principles

  1. Calculate the SMA of RSI. When RSI SMA crosses above 60 or falls below 40, it is considered overbought or oversold, and reverse positions will be considered.

  2. When the change of RSI exceeds a certain value, it is regarded as a sudden change. Combined with the actual close price verification, it serves as a signal to establish reverse position.

  3. Use multiple EMAs for filtering. Only when price crosses above shorter period EMA, long position will be considered. Only when price falls below shorter period EMA, short position will be considered.

  4. By combining the use of RSI average, sudden changes and EMA filtering, better entry points can be identified.

Advantage Analysis

  1. Using RSI average can accurately judge overbought and oversold conditions, which is conducive to capturing reversal opportunities.

  2. Sudden changes often signify shifts in price trend and direction, using this signal can improve the timeliness of entries.

  3. Multi-level EMA filtering can further avoid false signals and reduce unnecessary losses.

  4. The combination of multiple parameters as decision criteria can enhance the stability and reliability of the strategy.

Risks and Mitigations

  1. RSI performance may be unstable and SMA hit rate may be low. RSI parameters can be optimized or other indicators can replace it.

  2. Sudden changes could just be short-term fluctuations rather than true reversals. Increase sensing cycle length to improve judgment accuracy.

  3. There is lag in EMA direction filtering. Test shorter period EMAs to improve sensitivity.

  4. In general, this strategy is quite sensitive to parameter tuning. Careful tests are needed to find optimum parameter combinations. Use stop loss to control risks.

Optimization Suggestions

  1. Test other indicators like ADX, MACD combined with RSI to find better entry points.

  2. Increase machine learning algorithms to judge the authenticity and stability of sudden buy/sell signals.

  3. Further enhance EMA direction filtering such as using composite judgment of different period EMAs.

  4. Add adaptive stop loss strategy to dynamically adjust stop loss range based on market volatility.

  5. Continue parameter optimization to find optimum parameter combinations. Evaluation criteria could be Sharpe Ratio etc.

Conclusion

This strategy firstly uses RSI average to determine overbought/oversold conditions. Reverse positions are then established when sudden changes occur. EMA is also used as an auxiliary filter. With proper parameter settings, this strategy can effectively determine market trend shifts. Overall speaking, it has good stability and practical value. There is still room for further improvement, requiring persistent testing and optimization.

Source
Pine
/*backtest
start: 2023-12-12 00:00:00
end: 2023-12-19 00:00:00
period: 3m
basePeriod: 1m
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/
// © samwillington

//@version=5
Strategy parameters
Strategy parameters
length
inst_length
bars
lookbackno2
input_ema20
input_ema50
input_ema100
input_ema200
input_ema400
input_ema800
over40
over60
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)