Oil 10min “hammernegated” pattern strategy

Oil 10min “hammernegated” pattern strategy

Dear all,

I found this nice strategy by playing with candlestickpatterns with 2 candles.

Basically I considered the “hammer negated” pattern, where you have first an hammer candle (body on the upper or lower 25% of the candle) and then a candle which negate the hammer so in case we have a bullish hammer, then we have a candle whose body is within yesterday candle shadow. I hope it is clear as I have no idea how to draw candles on the laptop.

I added then a few moving average that identifies momentum, and opted for trailing stops.

The only thing I have optimized here are trailing stops level. All the moving average period, the parameter that defines the candlestick pattern are not optimized, no target profit either. Thats why WF results are pretty impressive.

Only downside as usual is that I dont have more than 100K history.

Enjoy

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?

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

  1. miguel33 • 129 days ago #

    tnks  George.

  2. Francesco78 • 129 days ago #

    I have opened a forum thread as suggested by Grahal in order to make discussion more confortable.
    https://www.prorealcode.com/topic/oil-10min-hammernegated-pattern-strategy/
    Thanks

  3. Kv6 • 120 days ago #

    Hola Francesco,

    Muy buenos resultados. No obstante, cuando pongo el código a funcionar, al cabo de un tiempo me aparece el siguiente mensaje: “El sistema de trading se interrumpió, porque ocurrió una división por cero durante la evaluación de la última vela. Le sugerimos que intente añadir protecciones a su código para evitar divisiones por cero, luego backtestear el sistema modificado para comprobar la corrección”.

  4. maxgomma • 108 days ago #

    Good morning at all … first of all congratulations to Francesco for the strategy and everyone for the work you do, I wanted to ask if you have solved the division problem by zero since the system still hangs … some of you know me What do you have to do? Thank you all…

    • Francesco78 • 108 days ago #

      hi Maxgomma and thank youm pls have a look to the forum https://www.prorealcode.com/topic/oil-10min-hammernegated-pattern-strategy/page/3/ the problem of division by zero is tackled and solved there.

  5. Leonida1984 • 71 days ago #

    Can I know how many trades this strategy make?

  6. Leonida1984 • 71 days ago #

    I am sorry but I don’t speak English very well.

  7. rejo007 • 70 days ago #

    @francesco,
    i see you create a lot of strategy, thanks for your share.
    you test it all in live?
    for you what is the best?
    thanks a lot

  8. Francesco78 • 70 days ago #

    Hi rejo007, thank you, yes I have all of them live and manymore that I dont share. one of my favourite is the ncandle and reversion for usdjpy. Regards

    • rejo007 • 69 days ago #

      @francesco
      Thanks a lot, I’ll take a look a this.
      Do you have strategy that you can share in private?
      If yes, we could discuss at this adress
      marbrerievdb@gmail.com

      Thanks for your reply 🙂

  9. Wilko • 43 days ago #

    This was a rather interesting idea that appears to work on a short timeframe. And also interesting to know that you are running these strategies live. Will definitely take a look at this. Thanks for sharing!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+15 more likes

Related users ' posts
ludo6977 it's very good job léo
Mick3y Is there a way to sort the results by price? Let's say just return stocks under X price? Thanks
Leo I do not focus so much in screeners. You can see our progress in the forum. Cheers
Leo Screener done (waiting to be approved), with many improvements in the system
lokbuscas Thanks leo
bolsatonimora2 Please Leo, let us know when screener be approved!! ;) many thanks!!
vishal I use mt4 This indecater work in mt4
Despair No, it won't work in MT4. This is for ProRealTime (like everything you find on this website).
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
lizmerrill can you explain the flow of the code, just to clarify. RE:fullness = (Dclose(0)-Dopen(0))/ab...
Francesco78 hi Lizmerril, yes, that is correct
lizmerrill Thanks for replying, so.... I assume in your backtest, the fullness calculations using dclos...
Aporio Qué bueno!!! felicidades. Es posible hacer screener de velas de suelo tipo hammer, envolven...
mcha Hi , very good Do you try to program Fry pan bottom pattern? Best regards
klintistwood Hello Ciccio, thanks for the sharing. Which time unit would be best to use candles ? Day ? H...
Maxime Leleux Nice screener but the 2 candelsticks around the doji should be long sticks (red and green). ...
kajsy88 I'm using prorealtime suplied by ig markets so that's potentially why then !
davidspain It would be possible to use this screener at the same time than the recent one about high vo...
Jean-Pierre Poulain Hello, I am in version 10.3 but it does not work  
Phil4910 Bonjour Nicolas, Est-il possible d'avoir les lignes qui se dessinent directement sur le gra...
Nicolas Il y a un indicateur sur ce principe dans ce sujet du forum (traçage des trend lines) : http...
Phil4910 Merci Nicolas. Je l'avais vu mais je ne m'en sors pas : les trendlines ne se placent pas où...
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.
Wilko This code is the work of a simple genius! Profitability lies in simplicity and repetition.
Nicolas Good joke. FYI, you'll find many identified recurring patterns there: http://paststat.com G...
Yngve i added a MA as a filter, that improved the equity curve quit nice actually

Top