Rob Hofmann trend following strategy. Oil 1hr.

Rob Hofmann trend following strategy. Oil 1hr.

Dear all, I have been listening to a class by Rob Hofmann yesterday and I though it was worth try to code it.

The strategy is based on the follwoing principles

  • Bearmarket->bullish hammer candle (signal candle) -> sell stop order somewhere along  the signal candle
  • Bullmarket-> bearish hammer candle > buy stop order somewhere along the candle.

Should be applicable to many assets and many timeframes.

I post the example of OIL 1hr TF.

Looking forward for your comments

Best

Francesco

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. jens_kittner • 06/12/2017 #

    This strategy was posted 2 years ago. I tested it today and it works perfect with the new data. I think it deserves attention!

  2. giustim • 06/12/2017 #

    Hallo
    I am not able to use it on daily TF

    What have I to change?
    Thanks a lot

  3. pac.ros • 06/12/2017 #

    Ciao Francesco, ti scrivo per un aiuto a proposito della strategia di Hofmann che anch’io ho conosciuto tempo fa. Ho visto che su Oil funziona bene anche se non sono riuscito ad impostarlo con lotto 0.1 (come permette di fare IG). POi ho notato che ci sono molti stop e pensavo di trovare il modo di ottimizzarlo. Ma il problema che non riesco a risolvere riguarda gli altri strumenti (forex ad azionario) perchè quando lancio il backtest non mi da operazioni. Credo che sia un problema legato alla parte al “gradient”.Potresti suggerirmi cosa modificare nel codice per farlo funzionare su azionario e forex. Grazie Rosario

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Lior Green Doesn't work for me. Set values “compra” and “venta” to be shown as HISTOGRAM
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
TradSuz C'est étrange, je note donc à nouveau les deux horaires achat et vente =9H/17H, le iRSI de l...
TradSuz Merci à Doctrading pour cette trame de code super et qui marche sur d'autres supports aussi....
Bibi83 Bonsoir à tous Juste pour vous informer que j'ai enlever les conditions short et que cela ...

Top