Type/to search

Multi-timeframe RSI+CCI+Bollinger Band DCA Strategy

Cryptocurrency
Created: 2023-11-21 16:17:34
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This strategy is a trend following strategy that determines trend direction through RSI, CCI and Bollinger Band indicators across different timeframes and gets in the market gradually via DCA to follow the trend for profits.

Strategy Logic

  1. Calculate RSI and CCI indicators on the 5min, 15min and 30min timeframes.
  2. When shorter-period RSI drops below a threshold and longer-period RSI also drops below a threshold, it is considered overbought. When shorter RSI rises above a threshold and longer RSI also rises above a threshold, it is considered oversold. CCI indicator logic is similar to RSI.
  3. Bollinger Bands judge if price has deviated too far from middle band. It serves as an auxiliary indicator.
  4. Gradually long on oversold and gradually short on overbought to achieve DCA effect.

Advantage Analysis

  1. Indicator combination across timeframes improves accuracy
  2. DCA strategy reduces average entry price
  3. Customizable position sizing controls risk

Risk Analysis

  1. Risk of missing best entry point
  2. Trend reversal risk
  3. Excessive trading risk from poor parameters

Solutions:

  1. Optimize parameters to ensure alignment
  2. Incorporate more indicators to determine trend
  3. Adjust per order position sizing

Optimization Directions

  1. Test combination of more indicators to find best combination
  2. Optimize per order position sizing
  3. Add stop loss

Summary

This strategy determines trend direction through multi-timeframe RSI and CCI, gets in the market via staged orders on overbought/oversold. It works very well when strong trend emerges. But inappropriate parameters can also lead to overtrading. Generally speaking, this strategy has large room for parameter tuning and stop loss optimization and can produce good results after optimization.

Source
Pine
/*backtest
start: 2022-11-14 00:00:00
end: 2023-11-20 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/
// © rrolik66

//@version=5
Strategy parameters
Strategy parameters
Start Time
End Time
Source Bot
Trade Direction
Show signals
weight of orders in %
1 order (%)
2 order (%)
3 order (%)
4 order (%)
5 order (%)
Long Bot
Rate cover (%)
Take Profit (%)
StopLoss
for Long Bot (%)
Short Bot
Rate cover (%)
Take Profit (%)
StopLoss
for Short Bot (%)
indicators
Source
RSI-1
RSI-1
resolution
long <
Length
short >
Length
RSI-2
RSI-2
resolution
long <
Length
short >
Length
RSI-3
RSI-3
resolution
long <
Length
short >
Length
CCI-1
CCI-1
resolution
long <
Length
short >
Length
CCI-2
CCI-2
resolution
long <
Length
short >
Length
CCI-3
CCI-3
resolution
long <
Length
short >
Length
Bollinger Bands
BB
resolution
Deviation
Length
band CCI
band CCI
resolution
CCI Length
CCI >
CCI <
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)