Type/to search

RSI Based Bullish Trend Following Strategy

Common strategy
Created: 2023-12-25 14:32:19
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy is designed based on the Relative Strength Index (RSI) indicator for buying on RSI low points and taking profit and stop loss on RSI high points. It generates buy signals when RSI drops below the oversold line and sell signals when RSI rises above the overbought line. The strategy is optimized to track trends with effective risk control.

Strategy Logic

The strategy uses the RSI indicator to determine if a stock is overvalued or undervalued. RSI combined with overbought and oversold lines forms buy and sell signals. Specifically, if RSI crosses above the 20 oversold line, a buy signal is generated; if RSI crosses below the 80 overbought line, a sell signal is generated.

After entering a long position, the strategy sets an initial stop loss to control the downside risk. At the same time, two take profit lines with different ratios are set to take profits in batches and lock in profits. Specifically, 50% of the position will take profit first at 3% above the entry price; then the remaining 50% position will take profit at 5% above the entry price.

The strategy effectively utilizes the RSI indicator to determine entry timing. The stop loss and take profit settings are reasonable to effectively control risks.

Advantages

  • Utilize RSI indicator to determine long/short positions and avoid trading blindly
  • Optimized RSI parameters for better indicator effect
  • Reasonable dual take profit design allows taking profits in batches to lock in more profits
  • Initial stop loss and trailing stop loss prevent huge losses

Risks

  • Poor performance in a bull market that cannot sustain profits
  • Probability of incorrect signals from RSI exists and can increase losses from improper signal judgement
  • Risk that stops cannot be triggered if stop loss points are set too deep
  • Risk of magnified losses without limit on pyramiding times and ratio

Improvements

  • Add other indicators to filter RSI signals and improve accuracy
  • Set limits on pyramiding times and ratios
  • Test effects of different RSI parameters
  • Optimize stop loss and take profit points to lower risks

Summary

The strategy utilizes RSI to judge market condition and has reasonable stop loss and take profit configuration. It can effectively determine market trend and control trading risks, suitable as a bullish trend following strategy. Signal filtering, parameter testing, stop loss optimization etc. can further improve the stability of the strategy.

Source
Pine
/*backtest
start: 2023-12-17 00:00:00
end: 2023-12-24 00:00:00
period: 1m
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/

//@version=5
Strategy parameters
Strategy parameters
Strategy Direction
length
overSold
overBought
Display info panels?
fibs label offset
fibs label size
trend
stop loss
qty_percent1
qty_percent2
Take profit1
Take profit2
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)