strategy BarHunter DAX v1p

Forums ProRealTime English forum ProOrder support strategy BarHunter DAX v1p

  • This topic has 255 replies, 11 voices, and was last updated 9 months ago by avatarsfl.
Viewing 15 posts - 166 through 180 (of 256 total)
  • #119641

    bertrandpinoy – Only English in the English speaking forums please.

    #119758

    Ok stopped again with mind set at 60. Trying at 120 now. What is this setting? Stop loss? Asking since it doesn’t change backtest results…

    #119763

    What is this setting? Stop loss? Asking since it doesn’t change backtest results…

    Best if you post the snippet where you are making the change so others can check it out.

    It is possible that when you / we get rejected we are under the conditions I highlighted in my post below. I was manual trading, but it could equally have been an Auto-Trade.

    I couldn’t change my stops!

    #119766

    Rejected again, always at the same hour: 4 a.m.

    #119819

    Another stop this night. @Gubben did you resolved with mindist 120?

    #119824

    Stopped at 120 as well. Trying this now

     

     

    #119825

    probably the easiest way to tackle this, is using market orders, 1 minute and mtf. It would clean up the code too!

    or split the code.

    one code setup for backtesting 1 hour timeframe

    one code setup to trade live on 1 minute timeframe for which the trade has to be the same as on the one hour timeframe in the backtest.

    1 user thanked author for this post.
    #119826

    Stopped at 120 as well. Trying this now

    As i said in the previous page, removing the 4am trade will make the stategy very less profitable; so it’s not a right solution.

    probably the easiest way to tackle this, is using market orders, 1 minute and mtf. It would clean up the code too!

    or split the code.

    one code setup for backtesting 1 hour timeframe

    one code setup to trade live on 1 minute timeframe for which the trade has to be the same as on the one hour timeframe in the backtest.

    Is this possible? Never heard about something like this.. looks interesting!

    #119829

    have a look

    It’s in the details and needs more attention, but this is roughly what I mean.

    use mode=1 for one hour timeframe for backtesting

    use mode=0 for 1 minute timeframe for demo/live

    It will never be 100% the same, 1 hour and 1 minute.

     

    2 users thanked author for this post.
    #119831

    Would this stop it from being rejected repeatedly at 4AM?

    #119832

    yes, if running on 1 minute timeframe and with mode=0.

    no entry rejections based on minimum stop distance.

    Still there can be other reason why a trade is, or is not triggered compared to the backtest 1 hour timeframe.

    1 user thanked author for this post.
    #119866

    few minor changes

    the trailingstop on 1 minute timeframe can cause sometimes differences compared to the 1 hour backtest. Needs more testing.

    the file, load on dax 1 hour timeframe

    to run in demo, set mode to 0 and use 1 minute chart.

     

     

    1 user thanked author for this post.
    #119951

    Ok Paul, so if i understood well, when running the strategy live or demo we need to use mode 0.
    But the strategy with mode 0 needs to be applied on 1h or 1m chart?
    And the results with mode 0 will be the same as the 1h backtested?

    #119966

    To run live, mode=0  on 1 minute chart.

    #119980

    And the results with mode 0 will be the same as the 1h backtested?

    That’s the goal, but there will always be differences, since the entry price is slightly different between 1 hour and 1 minute.

    As result, it could make the difference when a stoploss is triggered or not, same for a trailing stop or profit-level.

    But if one has to choose between a flimsy entry because of the minimum stop distance or this, then this is the way to go I think.

     

    So a.t.m. it’s best to test, as Gubben described it and compare it to the backtest 1 hour.

     

Viewing 15 posts - 166 through 180 (of 256 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login