Type/to search

VWAP-RSI Oversold Crossunder BTC Short Strategy

Cryptocurrency
Created: 2023-12-29 14:12:54
Last modified: 2 years ago
1
Follow
1789
Followers

img

Overview

This is a BTC short strategy across timeframes based on the RSI indicator of VWAP. It calculates the Volume Weighted Average Price (VWAP) of each candlestick to get a VWAP curve, and then applies the RSI indicator to the curve. When the RSI indicator crosses down from the overbought zone, it goes short on BTC.

Strategy Logic

  1. Calculate VWAP of each candlestick to get a VWAP curve
  2. Apply RSI indicator to VWAP curve, with length of 20 days, overbought level at 85 and oversold level at 30
  3. When RSI crosses down from overbought zone (85) to oversold zone (30), open short position
  4. Close position after holding for 28 candlesticks, or if RSI crosses oversold line (30) again

Advantage Analysis

  1. Use VWAP instead of simple close price to reflect actual trading price
  2. Identify overbought/oversold status with RSI to avoid buying high and selling low
  3. Trade across timeframes to avoid being trapped
  4. Controllable risk with 28 candlesticks stop loss

Risks & Solutions

  1. Price surges rapidly due to black swan events, unable to stop loss
    • Adopt across timeframes trading to reduce risks of being trapped
  2. Inappropriate parameter settings, easily miss opportunities
    • Test and optimize RSI parameters and overbought/oversold levels
  3. RSI unable to cross into oversold zone
    • Combine with other indicators to determine trend, adjust parameters flexibly

Optimization Directions

  1. Test more parameter combinations to find optimum
  2. Combine with MACD, KD etc to judge overbought/oversold status
  3. Test parameter settings separately for different assets
  4. Optimize stop loss mechanism, set stop loss range based on volatility

Summary

This strategy identifies BTC overbought/oversold status with the combination of VWAP and RSI. By trading across timeframes, it can effectively control risks. The strategy logic is clear and easy to understand, worth further testing and optimizing for live trading.

Source
Pine
/*backtest
start: 2023-12-21 00:00:00
end: 2023-12-28 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/


//@version=4

strategy("Soran Strategy 2 - SHORT SIGNALS", pyramiding=1, initial_capital=1000, default_qty_type=strategy.percent_of_equity, default_qty_value=50, overlay=false)
Strategy parameters
Strategy parameters
Resolution (Optional)
RSI Length
RSI Oversold level
RSI Overbought level
Number of candles
Enter longs ?
Enter shorts ?
Strategy Start Year
Strategy Start Month
Strategy Start Day
Use Laguerre on RSI ?
Laguerre Gamma
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)