Hello everyone,
I have used the “London Open Breakout” on the forex, a well known strategy.
I had the idea to optimize it on Gold.
It is profitable, with the following entry rules:
Others parameters are profitable, it should be easy to modify them and optimize this strategy :
This can be automated, of course.
On the screenshot, the backtest was made WITHOUT spread, as I don’t know it.
Best Regards,
Defparam cumulateorders = false
n = 10
// Timeframe : H1
// HORAIRES DU BREAKOUT : 20H à 05H
IF TIME = 050000 THEN
HAUT = highest[8](high)
BAS = lowest[8](low)
achatjour = 0
ventejour = 0
amplitude = haut-bas
ENDIF
Ctime = time >= 050000 AND time <= 180000
Ccanal = close < haut and close > bas
IF Ctime and Ccanal THEN
IF achatjour = 0 THEN
buy n shares at HAUT stop
ELSIF ventejour = 0 THEN
sellshort n shares at BAS stop
ENDIF
ENDIF
IF longonmarket THEN
achatjour = 1
ENDIF
IF shortonmarket THEN
ventejour = 1
ENDIF
set stop loss amplitude
set target profit amplitude*1.8
You must be logged in to post a comment.
Hello,
As I said, I didn't use spread for the screenshot as I don't trade Gold and I don't know the spread... but if your spread is correct, the strategy is just loosing :(
Anyway it could be a nice idea to improve.
Regards,
*add ;-)
Hi Doc:-) seems like when I backtest this on IG(only back to 13 apr 2012) it wins, but if I ass 2,5 spred it looses. what spread did you use?
Cheers
Kasper
Hi,
I had been losing on gold and after I manually go through the 5min chart using IG and when there's a breakout, the same behavior happens I found something on the same trend always using Bollinger, RSI and MACD.
But when sensing that a 5min chart a breakout going to happen, I have to switch to 1min chart to gain profits.
I manually went through all the way till year 2014/5 and calculate (unless I missed out something) and this seems to be working. Low profits like mayb 10-30 pips but win rate is high.
I need someone who wishes work with me to write the code and test it.
Not sure if I'm able to do something out.
Any interested party can write to me.
Thanks!