Type/to search

Double VWAP Oscillation Breakthrough Strategy

Cryptocurrency
Created: 2023-11-23 11:10:28
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

The double VWAP oscillation breakthrough strategy analyzes market trends using double VWAP bands and seeks breakthrough opportunities in oscillating markets. It combines the ADX indicator to determine if the market is oscillating and utilizes two VWAP bands of different standard deviations to identify breakout entry points.

Strategy Principles

The strategy consists of the following main components:

  1. VWAP Settings: Calculate VWAP bands and their width. The inner VWAP width is controlled by stDevMultiplier, default to 1. The outer VWAP width is controlled by stDevMultiplier, default to 2.

  2. ADX Settings: Calculate ADX values to determine if the market is oscillating. The market is considered oscillating when ADX is below the threshold. ADX parameters are configurable.

  3. Entry Settings: Enter the market when prices break through the outer VWAP bands during oscillation. Stop loss price and take profit prices are configurable.

  4. Limit Entries: Optional EMA or time frame filters to avoid entering during unfavorable time periods.

  5. Profit Taking: Close positions when tracking stop loss or take profit prices are breached. Option to exit when prices break the outer VWAP bands.

The strategy identifies oscillating markets using the ADX indicator and seeks entry opportunities when prices break VWAP bands. The double VWAP bands provide additional filters to ensure strong entry signals. The trailing stop locks in profits in a more stable way.

Advantages Analysis

  1. The double VWAP bands provide extra filters for stronger entry signals.

  2. The ADX oscillator identifies oscillation and avoids wrong entries during trends.

  3. The trailing stop locks in profits and prevents being trapped.

  4. Highly configurable parameters adapt to different market conditions.

  5. Simple logic makes it easy to understand, replicate and modify.

Risks and Solutions

  1. Improper parameter tuning can lead to over-eager entry and exits. Optimize parameter combinations to ensure strategy stability.

  2. Trailing stops can be too aggressive or conservative. Dynamically adjust based on volatility indicators.

  3. Performance depends heavily on trading sessions. Optimize using time filters to capture efficiency.

  4. VWAP bands sensitive to erratic prices. Confirm prices with additional indicators.

Optimization Directions

  1. Dynamically adjust stop loss ranges based on volatility and other metrics.

  2. Add higher timeframe trend and institution signals to avoid counter-trend entries.

  3. Consider position sizing based on volatility and total capital.

  4. Test different VWAP anchor periods. VWAP periods determine overall strategy holding period.

Summary

The double VWAP oscillation breakout strategy identifies oscillation with ADX and provides additional entry filters with the VWAP bands. The logic is simple to implement. Parameters tuning, stop loss optimization and position sizing can significantly improve stability.

Source
Pine
/*backtest
start: 2023-10-23 00:00:00
end: 2023-11-22 00:00:00
period: 1h
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/
// © jordanfray

//@version=5
Strategy parameters
Strategy parameters
Close early if price crosses outer VWAP band
VWAP Settings
Anchor Period
Inner VWAP Source
Inner Bands Multiplier
Outer Bands Multiplier
ADX Settings
ADX Smoothing
DI Length
ADX Threshold
Entry Settings
Stop Loss (%)
Take Profit (%)
Long Entry Limit Lookback
Short Entry Limit Lookback
Start Trailing After (%)
Trail Behind (%)
Limit Entries
Use EMA Filter
    Timeframe (Optional)
    Length
    Source
Use Time Session Filter
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)