Type/to search

Modified Relative Strength Index Trend Following Strategy

Common strategy
Created: 2024-03-29 16:16:37
Last modified: 2 years ago
1
Follow
1802
Followers

img

Overview

This strategy captures market trends based on the Modified Relative Strength Index (Modified RSI). The main idea of the strategy is to use the crossover signals and histogram signals of the Modified RSI indicator to determine the market trend and make trades according to the trend direction.

Strategy Principle

  1. Calculate the EMA of price as the input for Modified RSI
  2. Calculate the Modified RSI indicator
  3. Calculate the EMA of Modified RSI as the signal line
  4. Calculate the difference between Modified RSI and signal line as the histogram
  5. When Modified RSI crosses above the signal line and the histogram is greater than 0, generate a buy signal
  6. When Modified RSI crosses below the signal line and the histogram is less than 0, generate a sell signal

Strategy Advantages

  1. The Modified RSI indicator can better capture trends compared to the traditional RSI indicator
  2. Combining the crossover signals and histogram signals of Modified RSI can effectively filter out false signals
  3. Parameters are adjustable and applicable to different markets and timeframes
  4. The program is concise and computationally efficient

Strategy Risks

  1. The Modified RSI indicator is prone to generating false signals in range-bound markets
  2. The capture of trend turning points may have a lag
  3. A single indicator is easily affected by price noise

Strategy Optimization Directions

  1. It can be combined with other trend indicators such as moving averages to improve signal reliability
  2. A stop-loss and take-profit module can be added to control single transaction risk
  3. Parameters can be optimized based on different market characteristics
  4. A position management module can be added to dynamically adjust positions

Summary

This strategy utilizes the characteristics of the Modified RSI indicator to build a trading system from the perspective of trend following. The Modified RSI indicator overcomes some of the defects of the traditional RSI indicator and has relatively strong trend capture ability. However, strategies based on a single indicator often have limitations and need to be improved in combination with other technical means. By optimizing strategy parameters, enriching signal sources, adding risk control modules, and other methods, the stability and profitability of this strategy can be further improved.

Source
Pine
/*backtest
start: 2023-03-23 00:00:00
end: 2024-03-28 00:00:00
period: 1d
basePeriod: 1h
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/
// © YogirajDange

//@version=5
Strategy parameters
Strategy parameters
Price_EMA
RSI_Period
RSI_Avg_EMA
Fast_EMA
Slow_EMA
Source
Histogram
Above   Grow
Fall
Below Grow
Fall
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)