GBP/JPY Trading Insights: Mastering Candlestick Patterns with Expert Advisors

Mike 2009.11.11 19:41 22 0 0
Attachments

Author:
Kontra

Description:

Discover how to leverage Candlestick Models for trading with our Expert Advisor, blending Engulfing and Hammer (Inverted Hammer)/Shooting Star patterns.

This strategy has been rigorously tested on GBP/JPY using the M15 timeframe. You can check out the comprehensive 9-year trading report here.

Parameters:

  • Profit Targets:
    extern int bTp = 100; // Profit for buy
    extern int sTp = 100; // Profit for sell
  • Order Conditions:
    extern int zazor= 1; // Distance from the previous bar High/Low (for orders)
    extern int Max_Search = 100; // Bars count for price extremum search
    extern int OrderExp = 8; // Lifetime (in hours) for pending orders
  • Magic Numbers:
    extern int MagicType1 = 11111; // Magic number for the first type of deals
    extern int MagicType2 = 22222; // Magic number for the second type of deals
    extern int MagicType3 = 33333; // Magic number for the third type of deals
  • Trade Volume:
    extern double StartLot = 0.1; // Deal volume
  • Trailing Stops:
    extern bool TSProfitOnly = True; // Trailing stop for profit only
    extern int TStop.Buy = 50; // Trailing stop for buys (in points)
    extern int TStop.Sell = 35; // Trailing stop for sells (in points)
    extern int TrailingStep = 3; // Trailing stop step (in points)
  • Profit and Loss Levels:
    extern int LevelProfit = 25; // Profit (in points)
    extern int LevelWLoss = 1; // Without Loss level (in points)

Feel free to drop your thoughts; I have some ideas for improvements!

Confirmation for Trade Entries:

For a buy signal, ensure the closing price of the candle that crosses the entry level is above the previous entry level. You should enter the trade right after this candle closes. It’s important to note that the next candle doesn’t have to be immediate. The key is that it closes above the old entry level.

Conversely, for a sell signal, the closing price of the candle must be below the old entry level. Enter the trade immediately after this close!

Backtesting Results:

List
Comments 0