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