An effective GOLD Breakout strategy

An effective GOLD Breakout strategy

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:

  • GOLD, contracts 1€, hourly timeframe
  • the breakout takes reference to the period from 20PM to 5AM (8 candles for me, because on my display I have no candle between 23PM and 12AM)
  • we take positions from 5AM to 18PM
  • stop loss : the other side of the breakout channel
  • take profit : 1.8 x stop loss
  • no cumulation of orders
  • if we are “long” and the next day we have a “short”, we close the “long” and go “short”

Others parameters are profitable, it should be easy to modify them and optimize this strategy : 

  • starting and ending of breakout channel
  • starting and ending of positions
  • stop loss / take profit
  • accumulated positions
  • etc.

This can be automated, of course.

On the screenshot, the backtest was made WITHOUT spread, as I don’t know it.

Best Regards,

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Elsborgtrading • 07/18/2016 #

    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

  2. Elsborgtrading • 07/18/2016 #

    *add 😉

  3. Doctrading • 07/18/2016 #

    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,
     

  4. smurfy • 07/18/2016 #

    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!

    • eiffel • 07/18/2016 #

      Hi Smurfy,
      hope you are still there… I would like to help you to write and test the code.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Doctrading Maybe you can also change the hourly beginning of the day (not 23PM but 12AM, OOH in french)...
Duccio Hi Doctrading,there is a way to control the max loss of the positions in this code? For exa...
Doctrading Hello, Yes, there is a command I think, but I don't know it. Nicolas knows it. You can als...
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
Pierreee That a realy great strategy !!!  It's realy profitable in daily trade. I'm gonna put some ...
entony hello timeframe on what works best and how couples ??grazie
111111dw i am running this on the cac 5m time frame but the results are very different from the backt...
Nicolas You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
Doctrading Hello fesxeurex, It can display both : when it is in formation, and when it has been formed...
the_giorgio Bonjour Doc, Je crois que votre définition du harami est erronée Critères du Harami D...
dfl3tch3r Great screener...Has anyone got code for trade/backtest the next bar breakout (short or long...
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...
EAxelsson Hi, shouldn´t it be or instead of and? if FiftyTwoWeekHigh = FiftyTwoWeekHigh[1] OR FiftyTwo...
qigley Line 4 has a redundant term "Close>EMA2." is not necessary as EMA2 will always be less t...
Mike.44 Thanks It a good job !
Wisko But the BUY-trigger is below the High of the first two 15min-candels?
Nicolas That's right, because what we want is to enter the market quickly and not wait for the next ...
Wisko Then I don't understand the backtest data. Yesterday (28.9.) range was from ~ 4410,5 - 4450,...

Top