Type/to search

RSI Bollinger Bands Trading Strategy

Common strategy
Created: 2024-01-24 14:56:02
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy mainly uses the Relative Strength Index (RSI) combined with Bollinger Bands for trading signal judgment. Specifically, it goes long when the RSI crosses above the oversold level and below the lower Bollinger Band, and goes short when the RSI crosses below the overbought level and above the upper Bollinger Band.

Strategy Logic

The strategy first calculates the RSI indicator and Bollinger Bands. The RSI indicator reflects the relative strength of the trading instrument. When the RSI is below the oversold zone (default 30), it means the instrument is oversold and should buy. Bollinger Bands include upper band, middle band and lower band, which reflects well the fluctuation range of prices. Buying near the lower band and selling near the upper band can provide relatively reliable signals. This strategy combines the RSI indicator and Bollinger Bands for trading signal judgment. It generates buy signal when the RSI rises from the oversold zone to above it (default 30), and price rises from below the lower band to above it; it generates sell signal when the RSI falls from the overbought zone to below it (default 70), and price falls from above the upper band to below it.

Advantages

  1. Combining RSI and Bollinger Bands improves signal accuracy
  2. RSI filters out some noise
  3. Bollinger Bands reflect current market volatility range, reliable signals
  4. Strict trading rules, avoids invalid trades

Risks

  1. Improper Bollinger Bands parameters may cause inaccurate signals
  2. Inappropriate RSI overbought/oversold zone setup may impact judgements
  3. Strategy is strict, may miss some opportunities

Solutions:

  1. Optimize Bollinger Bands and RSI parameters to find best combination
  2. Relax conditions moderately, allow some invalid trades for more chances

Optimization Directions

  1. Test and optimize RSI and Bollinger parameters for optimum
  2. Add stop loss to control risks
  3. Consider adding other indicators like MACD for signal verification
  4. Test optimization results across different products and timeframes

Summary

The overall strategy is robust, effectively combines RSI and Bollinger Bands for stop loss. Further improvement can be achieved by testing and optimizing parameters. Also need to be aware of potential signal missing risks due to strict rules. In general, this is a reliable quantitative trading strategy.

Source
Pine
/*backtest
start: 2023-12-01 00:00:00
end: 2023-12-31 23:59:59
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
strategy("BB + RSI 20MIN,", shorttitle="BBRSI 20MIN", overlay=true )
     
     // Strategy Tester Start Time
Strategy parameters
Strategy parameters
Start Year
Start Month
Start Day
Start Hour
Start Minute
RSI Period Length
RSIL
RSIh
Bollinger Period Length
Bb
Enable Bar Color?
Enable Background Color?
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)