Type/to search

Dynamic RSI Oscillation Trading Strategy

Cryptocurrency
Created: 2023-11-02 16:04:07
Last modified: 3 years ago
1
Follow
1776
Followers

img

Overview

This strategy combines dynamic support/resistance levels and the relative strength index (RSI) indicator. It sets overbought/oversold thresholds for RSI and generates buy/sell signals when price breaks the dynamic support/resistance levels while RSI is not in the overbought/oversold area.

Principles

1. Dynamic Support/Resistance

Use the security function to get closing price as dynamic support/resistance levels. Trading signals are generated when price breaks through these dynamic levels.

2. RSI Indicator

Calculate the average gain and average loss over a certain period to generate RSI values and determine if RSI reaches the overbought/oversold area.

3. Trading Signals

When price breaks the dynamic levels, if RSI is not in the overbought/oversold area, buy/sell signals are generated. Otherwise, the breakout signals are ignored.

4. Exit Signals

Close positions when price falls back to the dynamic level, or when RSI returns to normal range.

Advantage Analysis

  1. Use dynamic support/resistance to determine trend direction for higher winning rate.

  2. RSI filters out false breakouts and avoids false entries.

  3. Combining trend and indicator makes the strategy adaptable to different market conditions.

  4. Simple and clear rules make it easy to implement.

Risks and Solutions

  1. Multiple tests of dynamic levels may generate false signals. Widen the breakout range to filter.

  2. Solo RSI may cause misjudgement. Add other indicators for combo filtering.

  3. Frequent trading in range-bound market leads to higher costs. Widen RSI's normal range to lower frequency.

  4. Improper parameter settings lead to missing or false signals. Optimize parameters based on different assets.

Optimization Directions

  1. Use machine learning to auto optimize RSI parameters.

  2. Add stop loss/profit taking strategy to lock in profits and reduce losses.

  3. Incorporate more indicators for combo filtering to improve stability.

  4. Add volatility indicator to lower position size when volatility is low.

  5. Optimize position sizing algorithm to dynamically adjust positions for different market environments.

Summary

This strategy combines trend judgment and indicator filtering to effectively identify trend reversal around key levels while controlling risks. Further optimizations on parameter tuning, stop loss/profit taking, more indicators etc. can improve its stability and adaptability to generate steady profits in a wider range of markets.

Source
Pine
/*backtest
start: 2022-10-26 00:00:00
end: 2023-11-01 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//Noro
//2018

//@version=2
Strategy parameters
Strategy parameters
Long
Short
Capital, %
timeframe 1
Source
antipila
color filter
RSI Period
RSI Limit
From Year
To Year
From Month
To Month
From day
To day
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)