Type/to search

Williams Fractals Dual Direction Trading Strategy

Cryptocurrency
Created: 2023-11-15 16:22:07
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This strategy uses the Williams new highs and lows indicator to identify reversal signals, with multiple moving averages for breakout trading, and RSI to filter out false signals, enabling efficient dual direction trading.

Strategy Logic

  1. The Williams new highs and lows indicator identifies turning points using the highest and lowest prices over a given period. It generates buy and sell signals.

  2. The 20, 50, and 100-day moving averages form multiple moving averages. Trading signals are generated when the price breaks through two of the moving averages.

  3. The RSI indicator identifies overbought and oversold zones to filter uncertain signals.

  4. The strategy determines which two moving averages are broken, combines Williams indicator signals and RSI filtering to generate reliable buy and sell signals.

  5. Entry rules: When the short-term MA crosses above the medium or long-term MA, and Williams new low and RSI low signals appear, go long. When the short-term MA crosses below the medium or long-term MA, and Williams new high and RSI high signals appear, go short.

  6. Stop loss and take profit: Fixed percentage stop loss and take profit.

Advantages

  1. Williams indicator accurately identifies key support and resistance for reversal signals.

  2. Multiple moving average crossovers avoid false signals from single moving average whipsaws.

  3. RSI filters help timing entry more precisely and reliably.

  4. Fixed stop loss and take profit controls risk and provides clarity on P&L.

  5. Combining reversal and trend indicators provides more reliable signals.

Risks

  1. Inappropriate symbol selection, parameters need adjustment for different symbols.

  2. Inefficient timeframe selection, parameters need tuning for different timeframes.

  3. Fixed stop loss/take profit cannot adapt to market changes, may stop out or take profit prematurely.

  4. Whipsaws when moving averages oscillate may generate false signals.

  5. Signal lag when indicators diverge.

Enhancement Opportunities

  1. Dynamic optimization of parameters for different trading instruments.

  2. Introduce adaptive stop loss and take profit for better P&L.

  3. Add more filters like MACD, Stochastics to reduce false signals.

  4. Incorporate machine learning algorithms to automatically detect optimal entry.

  5. Integrate more trend indicators to identify trending conditions.

Summary

This strategy combines Williams, moving averages, RSI and other technical analysis tools, using dual confirmation to reduce false signals and effectively capture reversals, with fixed stop loss/take profit to control risk. Overall a reliable and practical dual direction trading system. Next steps are further performance improvement through parameter optimization, stop loss/take profit enhancements and ensemble modeling.

Source
Pine
/*backtest
start: 2023-11-07 00:00:00
end: 2023-11-14 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/
// © B_L_A_C_K_S_C_O_R_P_I_O_N
// v 1.1
Strategy parameters
Strategy parameters
Appearance
theme
Show Fractals
Show EMAs
Williams Fractals
Fractal Periods
EMA
EMA Length A
EMA Source A
EMA Offset A
EMA Length B
EMA Source B
EMA Offset B
EMA Length C
EMA Source C
EMA Offset C
RSI
RSI Length
RSI Source
Orders
Start Date
Start Month
Start Year
End Date
End Month
End Year
Long Take Profit (%)
Short Take Profit (%)
Long Stop Loss (%)
Short Stop Loss (%)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)