strategy BarHunter DAX v1p

Viewing 15 posts - 1 through 15 (of 256 total)
  • Author
    Posts
  • #116911 quote
    Paul
    Participant
    Master

    Hi Folks!

    Here’s a new strategy BarHunter v1p, which searches for the best intradaybar on any timeframe and enter on a defined break.

    The goal is many trades on higher timeframes. It had to work with 1% stoploss and a trailing stop.

    Then if there is a reasonable good equity-curve with minimal curve-fitting it’s possible to enable & optimise trend-detection and perhaps limit the hour of entry.

    Happy Hunting!

    bullbear, Francesco, GraHal, Balmora74 and noisette thanked this post
    #116917 quote
    Francesco
    Participant
    Veteran

    Looks pretty good as always!

    Thanks for your contribution 😀

    Florian and Paul thanked this post
    #116918 quote
    Paul
    Participant
    Master

    Glad you like it!  Wanted to prove a point in the day openstraddle so I create this 🙂  Many trades!

    Also use

    once barnumberlong =3 //long
    once barnumbershort=2 //short

    and it is even better!

    #116924 quote
    Francesco
    Participant
    Veteran

    Ok i made a very fast test, and i noticed that on nikkei 225 that’s a percentage of gain similar to the dax (89.36%) but with a gain loss ratio much more lower.

    Do you think could be worth trying to optimize on nikkei? Not because I’m saying your code isn’t good, but in order to diversify assets 😀

    #116927 quote
    Paul
    Participant
    Master

    Ofcourse! Other markets is my next step.Take care of the spread and I would optimise between 15-min – 1 hour  timeframe. That should go quick, not many bars in a day. That with tds off.

    But it’s always the details! The trailingstop is suited for the dax, but maybe not for the nikkei or s&p or forex.

    So you have to turn on the graph of the trailing stop and need to see that it kick’s in.

    i.e. for forex use

    atrtrail=averagetruerange[atrtrailingperiod]((close/1)*pipsize)

    dax

    atrtrail=averagetruerange[atrtrailingperiod]((close/10)*pipsize)/1000

    s&p is different too.

    Francesco thanked this post
    #116946 quote
    Francesco
    Participant
    Veteran

    Optimized for nikkei. Huge gain percentage but huge drawdown.

    #116948 quote
    Francesco
    Participant
    Veteran

    Sorry does not appear in the screen, the dradown is over 2k

    #116950 quote
    Paul
    Participant
    Master

    Would love to have it working on the nikkei! Drawdown is big but equity-curve is oke.

    Here another one….optimise 0-23 and set break to 20 (not optimised), no tds and spread 15.

    Such equity-curve created in less then 5 minutes.

    #116952 quote
    Paul
    Participant
    Master

    wrong pic, here’s the good one

    #116956 quote
    Vonasi
    Moderator
    Master

    Paul – I see that you are back testing on only 25k units. How does it look on 100k (or 200k if you have it) with the optimised settings fixed?

    #116969 quote
    Francesco
    Participant
    Veteran

    @Paul love it! This system is surprisingly versatile! Can you share the version for the South Africa?
    There’s no way to “upgrade” the number of trades? Could be perfect for all day trading


    @Vonasi
    Don’t you think a backtest beyond 5 years is useless?

    #116978 quote

    If it can be useful, done with 200K

    Paul and Vonasi thanked this post
    #116998 quote
    Paul
    Participant
    Master

    In theory it should be possible I guess to make 100k bars of 15 min the same as 25k bars of 1 hour. (without atr but with % profit target)

    if longtrading or (longtrading and shorttrading) then
    if intradaybarindex=barnumberlong then
    breakvaluelong=highest[4](high) //experiment!
    endif
    endif
    if shorttrading or (longtrading and shorttrading) then
    if intradaybarindex=barnumbershort then
    breakvalueshort=lowest[4](low) //experiment!
    endif
    endif

    Lines are the same on both timeframes.

    And repeat the entry to check four bars with buy/sellshort on stop instead of one

    If that’s the cause it would take a bit the worry away from only 2500 bars.

    @Francesco The South Africa version

    Francesco thanked this post
    #117005 quote
    Vonasi
    Moderator
    Master

    Don’t you think a backtest beyond 5 years is useless?

    Far from useless as Mauro’s 200k back test shows us. Basically the strategy is a fit to a certain amount of data and it goes sideways before that and virtually sideways on recent data. The probability of it performing well going forward is unlikely.

    Francesco thanked this post
    #117008 quote
    Paul
    Participant
    Master

    @Vonasi you’re right. If a certain hour was suitable for a certain period, it could be shifted. Perhaps a quick forward test with many OOS data with would make it clear.

    In any case this posted pic above is the opposite of my other strategy 1 hour TF to show your point,

Viewing 15 posts - 1 through 15 (of 256 total)
  • You must be logged in to reply to this topic.

strategy BarHunter DAX v1p


ProOrder support

New Reply
Author
author-avatar
Paul @micky75d Participant
Summary

This topic contains 255 replies,
has 11 voices, and was last updated by sfl
2 years, 5 months ago.

Topic Details
Forum: ProOrder support
Language: English
Started: 01/15/2020
Status: Active
Attachments: 136 files
Logo Logo
Loading...