Hi Poctim,
I only backtest using Jan 2013 to date as I think it is more representative of the current market conditions.
[B]Burning the candles at both ends[/B]
Look at a 4 hour chart of EURJPY and you will see all the last 24 hours of price action are sideways. My system has placed stop orders above and below this range bound pattern by 0.4 * the ATR(14) the stops are 2 * Atr away, TP is 2.8 * Atr away. However, the stop trails and as the market moves the stop orders follow so risk reward is not as bad as it looks.
This system I have called “Burning the candles at both ends”. However, I hope not to end up burning my fingers and my account.
My forex EA system is based on trading a volatile directionless market.
Having sat at the computer for many hours, it seemed to me that the current forex market is directionless in the short term and that any system based on lagging indicators is doomed to failure.
So, this system is based on price action only, with the only indicator used being the ATR which is used to establish the average bar range over the last fourteen periods.
Timeframe is four hours or could be daily as market movement in one direction for a period of time is essential for the system to work.
In the current market where consecutive bars often trade in opposite directions and random breakouts happen frequently. I have chosen to try and capture those random breakout moves and any micro trend that may follow.
In order to do this I would place a stop order above and below every new bar, based on the last bar size. In this way contracting sideways markets are avoided as the bar size will normally stay below a specific bar size and all trading will stop until once again the bar size reaches a minimum size.
This function will also form part of the money management strategy as trading in a very narrow range will lead to whipsaw losses with increased lot sizes if percentage of account trading is being used.
Placing the buy and sell stop orders too close is as bad as placing them too far away, so market volatility needs to added into the equation. So in this respect a minimum bar size is used to prevent whipsaw losses and allow room for the trade to breath.
A counter move would close any existing open market order and trade in the new direction. At the beginning of a new bar any pending stop orders are closed and a new ones opened.
Wells Wilders ATR was chosen to establish the current bar size based on current fourteen period volatility and is also used to establish placement of entry points, initial stops, break even, trailing stop and take profit parameters. In this way some measure of market volatility can be accounted for and whipsaw losses in range bound markets can hopefully be reduced to a minimum.
Initial testing on limited open only prices on H4 for 2013/14 data suggests a minimum bar size of 18 pips or greater as measured by ATR(14).
Entry size 1.2 means buy stop and sell stop to be placed 1.2 * Atr above and below last candle high and low. The same for initial stop loss, minimum profit, trailing stop and take profit, these are all multiples of the Atr at trade entry time. Drawdown (DD) values seem reasonable too.
A spread size filter of less than 4 pips was also added to stop any trading when the spread size was above this. However, for some pairs like GBPJPY and GBPAUD this was increased to 7 pips as 6 pips is normal for these two pairs.
Any constructive thoughts on the above would be welcomed.
Pair: GBPUSD
Gain/Trades: 2742/115
Min bar size: 18
Entry size: 1.2
Initial stop loss: 1.2
Minimum profit: 1
Trailing stop: 1.6
Take profit: 3.4
Max spread: 4
Draw Down: 302
Sorry there was a table of default values for about 8 pairs, but I was unable to add to this post. I am currently demo trading this on ten pairs and live trading GBPUSD.
Regards Trader9