Type/to search

RSI and OTT Bands Strategy Analysis

Cryptocurrency
Created: 2023-10-09 16:21:20
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This strategy is named RSI_OTT-TP/SL. It combines RSI indicator and OTT bands to determine trading signals, belonging to trend following strategies. The strategy judges market trend direction through RSI indicator and uses OTT bands to locate specific entry points. It also allows users to set take profit and stop loss ratios to lock in profits or avoid losses automatically.

Strategy Logic

  1. This strategy uses RSI and OTT indicators to determine trend and entry points.

  2. RSI is used to judge the overall trend direction. RSI can show whether the market is overbought or oversold. RSI crossing above the overbought level is a buy signal, while crossing below the oversold level is a sell signal. The default RSI length is 6, overbought level is 50 and oversold level is also 50 in this strategy.

  3. OTT bands are used to discover entry points. They are bands formed based on the Volatility Rate of Change (VAR) indicator. When price breaks through the lower band upwards, it is a buy signal. When price breaks the upper band downwards, it is a sell signal.

  4. After determining the trend and confirming the entry point, this strategy will open long or short positions when price breaks the OTT bands.

  5. Take profit and stop loss can be set via input boxes for users to customize. The strategy will close positions automatically when take profit or stop loss price is touched.

  6. The strategy also allows long only, short only or both directions trading.

Advantages

  1. Combining RSI and OTT bands can find high probability entry points under accurate trend judgement.

  2. OTT bands utilize momentum indicator and are very sensitive to price fluctuations, which can discover turning points early.

  3. The take profit and stop loss functions help lock in profits and limit losses before they expand, which benefits risk control.

  4. The code structure is clear with sufficient comments, easy to understand and modify.

  5. Strategy parameters can be flexibly adjusted via the interface to adapt to different market environments.

Risks

  1. RSI has lagging issue and may miss trend reversal points, leading to unnecessary losses.

  2. OTT bands can also generate false signals. It's better to confirm with candlestick patterns.

  3. Improper take profit and stop loss settings will impact strategy performance. Parameters need to be adjusted for different products.

  4. The strategy is only backtested on a single product. Parameters should be separately optimized for different products in live trading.

  5. The backtest time window is short and may not fully validate the strategy effectiveness. It's recommended to expand the backtest period.

Optimization Directions

  1. Consider adding other indicators for filtration, such as MACD, KD etc to reduce false entries.

  2. Take profit and stop loss ranges can be dynamically adjusted based on volatility.

  3. Research parameter optimization for different products to establish parameter selection criteria.

  4. Try machine learning methods to dynamically optimize strategy parameters.

  5. Add volume confirmation to avoid false breakouts. Volume indicators can also be used to determine trends.

  6. Consider using MA penetration as stop loss instead of simple percentage stop loss.

Summary

In summary, this is a typical trend following strategy. It first judges the trend direction through RSI, then uses OTT bands to assist in determining specific entry points, and finally sets take profit and stop loss to lock in profits and control risks. The advantages of this strategy are simple and effective indicator combinations and good backtest results. But there are also some risks like RSI lag and OTT band false signals. This requires us to optimize parameters carefully in live trading, and add other technical indicators for confirmation to improve strategy stability. With continuous optimization and verification, this strategy can become a very practical trend following strategy template.

Source
Pine
/*backtest
start: 2023-09-08 00:00:00
end: 2023-10-08 00:00:00
period: 2h
basePeriod: 15m
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/
// © BigCoinHunter

//@version=5
Strategy parameters
Strategy parameters
Source
RSI Length
RSI OverSold
RSI OverBought
OTT Period
OTT Percent
OTT MA Type
OTT Upper Line Coeff
OTT Lower Line Coeff
Take Profit:
Stop Loss:
Long Entry
Short Entry
From Day
From Month
From Year
To Day
To Month
To Year
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)