Type/to search

Moving Vegas Channel Crossover Strategy

Common strategy
Created: 2024-01-02 10:53:06
Last modified: 3 years ago
1
Follow
1802
Followers

img

The core idea of this strategy is to determine the short, mid and long term trend direction of stocks based on EMAs with different cycles such as 36, 143, 169, combined with MACD indicator to issue buying and selling signals. Specifically, in short term, 5 and 10 day EMAs are used to judge, in mid term, 20 and 60 day EMAs are used to judge, in long term, 120 and 250 day EMAs are used to judge, when short term EMA crosses middle term EMA upwards, it’s bullish, otherwise it’s bearish; MACD indicator of bullish and bearish signals is used to determine buying and selling time.

The specific mechanism of the Vegas Tunnel strategy:

  1. Use EMA 36 and EMA 43 to form short term trend judgment, they make up the red channel;
  2. Use EMA 144 and EMA 169 to form medium-term trend judgment, they make up the green channel;
  3. Use EMA576 and EMA676 to form long term trend judgment, they make up the gray channel;
  4. When the price stands on the above EMA lines, go long, combined with MACD indicator breaking through 0 axis upwards as buying signal;
  5. When the price breaks below the above EMA lines, go short, combined with MACD indicator breaking through 0 axis downwards as selling signal;
  6. According to the EMA line breakthrough, three strategies are defined, short, medium and long term respectively, corresponding to different holding period.

Advantages of this strategy:

  1. Combining short, medium and long three channels to judge trend direction, relatively stable;
  2. Vegas tunnel is intuitive to determine trend;
  3. MACD helps capture better buying and selling timing;
  4. Divided into short, medium and long three strategies for more flexible operations.

Major risks:

  1. When prices fluctuate wildly, EMA lines lag, likely to make wrong judgments;
  2. When three channels show inconsistent signals, risks of wrong operations exist;
  3. Minute chart operations need stronger psychological endurance.

Coping methods:

  1. Adjust EMA cycle to better match current market characteristics;
  2. Adjust position size beforehand to limit single loss.

Optimization space:

  1. Vegas tunnels’ trend judgement capability needs improving, Bollinger bands may be added;
  2. MACD works poorly for sideways markets, indicators like KD and RSI may be better options;
  3. Add stop loss policies, like stop loss when closing price breaks key EMA lines;
  4. Short ETF to hedge given A share limit-ups and downs having greater impacts.
Source
Pine
/*backtest
start: 2022-12-26 00:00:00
end: 2024-01-01 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4

strategy("Vegas Tunnel strategy", overlay=true)
//-------------------------------------------
Strategy parameters
Strategy parameters
Use Current Chart Resolution?
Use Different Timeframe? Uncheck Box Above
12 EMA
240 SMA
BB Length
BB Source
BB StdDev
BB Offset
Start Date
Start Month
Start Year
End Date
End Month
End Year
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)