Type/to search

Super Guppy Moving Average Trading Strategy

Cryptocurrency
Created: 2023-11-21 14:05:40
Last modified: 3 years ago
1
Follow
1778
Followers

img

Overview

The core idea of this strategy is to build a "Super Guppy" trading signal with multiple moving averages of different periods to discover relatively long-term directional trends. The Super Guppy consists of two groups of lines: fast moving averages and slow moving averages. The fast lines determine specific entry points, while the slow lines determine the overall trading direction. When the fast lines cross above the slow lines, a long signal is generated; when crossing down through the slow lines, a short signal is generated.

Principles

This strategy uses multiple EMAs with different periods, specifically:

  • Fast lines: 3, 6...21 periods, 7 lines total
  • Slow lines: 24, 27...200 periods

Fast line crossovers are colored blue (up) and orange (down). Slow line crossovers are colored green (up) and red (down). When fast blue lines transition from gray to slow green lines, long signals are generated, and vice versa from green to gray for closing longs; transitions from gray to red generate short signals.

The strategy also provides two modes: stable mode only trades after fast and slow EMAs determine direction; aggressive mode generates signals on any fast EMA directional changes.

Advantages

This strategy combines the benefits of a dual moving average system, which can timely capture trading opportunities over shorter time frames, while using slower lines to filter out excessive false signals. The main advantages are:

  1. Fast and slow EMAs work together effectively managing risks.
  2. Aggressive mode allows capturing short-term opportunities in a timely manner.
  3. Stable mode provides high-probability, high risk-reward ratio setups.
  4. Large parameter tuning space for customization.

Risks

There are also some risks:

  1. In volatile markets, prolonged exposure is possible.
  2. Multiple EMA systems mean greater complexity in parameter optimization and testing.
  3. Some profits sacrificed in stable mode due to EMA lag.

Risks can be controlled by adjusting fast/slow EMA combinations or using stop losses.

Optimization Directions

The strategy can be enhanced in several aspects:

  1. Add volatility-based stops to effectively limit losses after huge spikes.
  2. Test machine learning algorithms for EMA parameter optimization to substantially improve parameter efficiency.
  3. Add price-volume filters to increase quality trading opportunities.
  4. Explore combining other indicators with EMA crosses for higher precision.

Conclusion

The Super Guppy strategy synthetically considers factors across multiple timeframes, improving profitability while controlling risks. With various viable optimization paths, it merits further research for quant traders.

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


// A strategized version Daryl Guppy Super EMA's with additional options
// by default "early signals" is enabled, which will trade any green/gray or red/gray transitions of the guppy.  Disable to only take longs while green, and shorts while red.
//@version=4
Strategy parameters
Strategy parameters
Test w/Shorts?
Use Early Signals?
Show 200 EMA?
Max Days Back to Test
Min Days Back to Test
Fast EMA 1
Fast EMA 2
Fast EMA 3
Fast EMA 4
Fast EMA 5
Fast EMA 6
Fast EMA 7
Slow EMA 8
Slow EMA 9
Slow EMA 10
Slow EMA 11
Slow EMA 12
Slow EMA 13
Slow EMA 14
Slow EMA 15
Slow EMA 16
Slow EMA 17
Slow EMA 18
Slow EMA 19
Slow EMA 20
Slow EMA 21
Slow EMA 22
EMA 200
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)