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.




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 • 289 days ago #

    tnks  George.

  2. Francesco78 • 289 days ago #

    I have opened a forum thread as suggested by Grahal in order to make discussion more confortable.

  3. Kv6 • 279 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 • 268 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 • 268 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 • 231 days ago #

    Can I know how many trades this strategy make?

  6. Leonida1984 • 231 days ago #

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

  7. rejo007 • 230 days ago #

    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 • 230 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 • 229 days ago #

      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

      Thanks for your reply 🙂

  9. Wilko • 202 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!

  10. andreag76 • 102 days ago #

    Thank you Francesco78 !

  11. juanj • 97 days ago #

    What happened after August 21?

Register or


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

+19 more likes

Related users ' posts
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...
Real Pro Thanks for sharing so much work. This goes in the indicator window, yes?
Real Pro It's ok, I imported the rtf as suggested now it works. What I'm seeing is this - in a sol...
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...
Gianco I tried it and gives good directions, although some short, on the daily and 4 hours, I’m tes...
baaz Thanks for this simple code. How would you readjust it to only show reversals? Chesler ad...
Gianco Violet, congratulations, I checked your code in different time frames, and in many situation...
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
Nicolas Add it on the price chart with the wrench at the left upper side of your chart.
rama how to read the this triangle? I have set up the indicator, little confusing when to buy whe...
Leo Hi Rama, that's the issue with trading... where and when to trade. If you figure it out, ple...
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).
simone thanks..i try and tell you
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...
klintistwood Hello Ciccio, thanks for the sharing. Which time unit would be best to use candles ? Day ? H...
redz programme dont work with me
BennieHofer Would love to get these. I tried to import them via .itf file but got a error message and it...
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  
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ù...
pyhrus Bonjour , Pourriez-vous expliciter l'algorithme de ce programme , ou bien y ajouter d...
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