Type/to search

Market Cypher Wave B Automated Trading Strategy

Common strategy
Created: 2024-01-26 16:16:44
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy utilizes the wave theory from Market Cypher indicator and combines multiple technical indicators to implement automated trading. It can identify opportunities when trend starts and track the trend.

Strategy Principles

The strategy is mainly based on Market Cypher Wave B indicator. The indicator divides price action into two layers, Wave 1 and Wave 2. Wave 1 is more sensitive while Wave 2 is more smooth. Their crossover works as trading signals. When Wave 1 crosses above Wave 2, it's buying opportunity. When crosses below, it's selling opportunity.

The code calculates Wave 1 and Wave 2 using the Wavetrend function. Then it determines wave direction together with overbought/oversold area. For example, when Wave 1 crosses below Wave 2 while Wave 2 is in overbought area, it triggers a sell signal.

In addition, the code also incorporates multiple auxiliary indicators to improve decision accuracy, including:

  • Extreme area: Identify price fluctuation levels combining RSI and Money Flow Index

  • KD: Judge bullish/bearish momentum

  • Divergence: Locate buying/selling turning points

  • Flags: Judge trend persistency

Finally, it makes trading decisions based on Waves and auxiliary indicators.

Strategy Advantages

The biggest strength of this strategy is the ability to adapt to different market environments. Specifically:

  1. Multiple indicators combined improve decision accuracy

    The strategy uses not only Wave crossover itself, but also RSI, KD, divergence etc. By combining signals, it improves accuracy.

  2. Flags catch trends

    With flags, the strategy can effectively determine trend persistency and avoid false signals. This allows it to identify trend opportunities early on and excell at trend following.

  3. Highly customizable

    The strategy has many adjustable parameters. Users can optimize based on their own market views and adapt to more complex environments. This makes the strategy widely applicable.

Risks

There are also some potential risks:

  1. Conflicting signals between indicators

    With many indicators, there could be conflicting signals in extreme market conditions. This introduces uncertainty in final decisions.

  2. Difficult to optimize parameters

    Too many parameters makes optimization challenging. It requires lots of backtesting to find optimal parameter sets and risks overfitting.

  3. Potentially too frequent trading

    In ranging markets, Wave crossover may happen frequently and incur excessive trading costs.

Corresponding improvements include:

  1. Introduce more filters to ensure decision robustness

  2. Prioritize parameters with higher strategy impact

  3. Expand stop loss to lower trading frequency

Summary

In summary, this strategy combines Market Cypher wave theory and various indicators to achieve automated identification of trading signals and trend tracking. With high customizability, it adapts well and excels at catching trends. Meanwhile, potential risks call for continuous improvements like more robust rules and better parameter tuning to make the strategy more robust.

Source
Pine
/*backtest
start: 2023-12-01 00:00:00
end: 2023-12-31 23:59:59
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/
// © vumanchu

//@version=5
Strategy parameters
Strategy parameters
Show WaveTrend
Show Buy dots
Show Gold dots
Show Sell dots
Show Div. dots
Show Fast WT
WT Channel Length
WT Average Length
WT MA Source
WT MA Length
WT Overbought Level 1
WT Overbought Level 2
WT Overbought Level 3
WT Oversold Level 2
WT Oversold Level 3
Show WT Regular Divergences
Show WT Hidden Divergences
Not apply OB/OS Limits on Hidden Divergences
WT Bearish Divergence min
Show 2nd WT Regular Divergences
WT 2nd Bearish Divergence
Show MFI
MFI Period
MFI Area multiplier
MFI Area Y Pos
Show RSI
RSI Source
RSI Length
RSI Oversold
RSI Overbought
Show RSI Regular Divergences
Show RSI Hidden Divergences
RSI Bearish Divergence min
RSI Bullish Divergence min
Show Stochastic RSI
Use Log?
Use Average of both K & D
Stochastic RSI Source
Stochastic RSI Length
RSI Length
Stochastic RSI K Smooth
Stochastic RSI D Smooth
Show Stoch Regular Divergences
Show Stoch Hidden Divergences
Show Schaff TC line
Schaff TC Source
Schaff TC
Schaff TC Fast Lenght
Schaff TC Slow Length
Schaff TC Factor
Show Sommi flag
Show Sommi F. Wave
Sommi F. Wave timeframe
F. Wave Bear Level (less than)
F. Wave Bull Level (more than)
WT Bear Level (more than)
WT Bull Level (less than)
Money flow Bear Level (less than)
Money flow Bull Level (more than)
Show Sommi diamond
HTF Candle Res. 1
HTF Candle Res. 2
WT Bear Level (More than)
WT Bull Level (Less than)
Show MACD Colors
MACD Colors MACD TF
Dark mode
Stop Loss %     
Take Profit %   
Trailing Stop Loss %
Backtesting Start Time
Backtesting End Time
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)