Type/to search

Dual Timeframe Supertrend with RSI Optimization System

RSI
1
Follow
1780
Followers

img

Overview

This strategy is a dual timeframe trading system based on the SuperTrend indicator and RSI. It combines technical analysis indicators from 120-minute and 15-minute timeframes, using SuperTrend to capture medium-term trend direction while utilizing RSI for profit-taking. The strategy implements position sizing through percentage allocation and includes percentage-based take-profit conditions.

Strategy Principles

The core logic is built on several key elements:

  1. Uses 120-minute timeframe SuperTrend indicator as the main trend determination tool, with ATR period of 14 and factor of 3.42
  2. Generates trading signals through price crossovers with SuperTrend line - upward crosses for long entries and downward crosses for short entries
  3. Employs 15-minute timeframe RSI indicator with period 5 as a supplementary tool for market overbought/oversold conditions
  4. Closes long positions when RSI reaches overbought zone (95) and short positions at oversold zone (5)
  5. Sets 30% take-profit level calculated relative to entry average price

Strategy Advantages

  1. Multiple timeframe combination improves signal reliability and reduces false signals
  2. Optimized SuperTrend parameters balance trend sensitivity while avoiding excessive trading
  3. Strict RSI extreme values (5 and 95) ensure position closing only in extreme conditions
  4. Position sizing uses fixed percentage of equity (35%), effectively controlling risk while maintaining profit potential
  5. Automatically closes reverse positions before opening new ones, avoiding simultaneous long and short exposure

Strategy Risks

  1. Dual timeframe approach may create lag in ranging markets, requiring drawdown management
  2. Strict RSI extreme values might cause missed profit-taking opportunities
  3. 30% take-profit level is aggressive, potentially leading to early exits in volatile markets
  4. Lack of stop-loss conditions could result in significant losses during sudden trend reversals
  5. 35% position sizing is relatively aggressive, creating high risk during extreme volatility

Optimization Directions

  1. Recommend adding dynamic stop-loss mechanism, considering ATR-based trailing stops
  2. RSI overbought/oversold thresholds could be adjusted to 10 and 90 for better adaptability
  3. Volume indicators could be added for signal confirmation
  4. Consider dynamic position sizing based on market volatility using ATR or volatility indicators
  5. Suggest adding trend strength filters like DMI or ADX to filter weak trends

Summary

This is a well-structured trend-following strategy with clear logic. It combines different timeframe technical indicators to capture trends while maintaining risk control. While there's room for optimization, the overall design aligns with quantitative trading principles. Traders should backtest and optimize parameters before live trading and adjust position sizing according to their risk tolerance.

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

// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © felipemiransan

//@version=5
Strategy parameters
Strategy parameters
Supertrend Factor (Optional)
ATR Period (Optional)
Supertrend Timeframe (Optional)
RSI Timeframe (Optional)
RSI Length (Optional)
RSI Upper Limit (Optional)
RSI Lower Limit (Optional)
Take Profit (Optional)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)