Basic coding question

Forums ProRealTime English forum ProOrder support Basic coding question

  • This topic has 30 replies, 3 voices, and was last updated 6 years ago by avatarBC.
Viewing 15 posts - 16 through 30 (of 31 total)
  • #36829

    What results did you get … post a screenshot (like mine above) that shows what  timeframe and instrument you are working on?

    #36840
    BC

    HiGrahal

    I test it with DAX 1 hr.

     

    #36845

    Bin, use GRAPH as  below and you will see your StopLossLong never triggers.

    Substitute actual numbers from a bar and you will see why …

    But nonetheless the code shows profit … well done! Most be room for tweaking / more profit?

    GraHal

    #36847

    Guys can you please post the code relative to Bin’s picture in attachment? I’m trying to replicate the results before working on it.

    Thank you

    Francesco

    #36851

    Forgive me @Bin, what I said in  #36845 re Stop Loss not triggering was incorrect … I need to concentrate and not have one eye on the TV! 🙁

    Thanks Francesco78, I can’t replicate Bin’s results either with code on this Thread.

    I tried to optimise 4 variables for 5m and 15m (not good) and settled on attached for  Dax @ 30M. Results over 100,000 bars attached and .itf attached with  4 variables in the Optimiser.

     

     

     

    1 user thanked author for this post.
    #36854
    BC

    Sorry Grahal, , I forgot post the updated version with target profit and limited the loss. My bad.

     

     

     

    2 users thanked author for this post.
    #36886

    Thanks, on the 1 hour and 30minutes TF is pretty nice.

    have you run WF yet?

     

    #36926
    BC

    Hi Francesco

    A modified version with WF result attached.

     

     

     

     

    #36930

    looks really good, thanks a lot, any idea if it can be adapted to other markets?

    what are the variables you have optimized for the WF if I may ask?

    #36937
    BC

    I keep the original idea which using 20, 40, 80 MA and only add the highest/lowest filter and tested with Hang Seng (12.6 spread)and DAX (2.9 spread) only, HS not good because the high spread.

    WF only check quit level, I think can take a test on Max stop loss and target profit.

    #36938

    Thanks, I think

    CP and

    maxCandlesLongWithoutProfit

    maxCandlesShortWithoutProfit
    should be subjected to backtest.
    Will try tomorrow
    #36944
    BC

    Hi Francesco

    Yes, you are right.

    #36984
    BC

    I try DJI 30m, 1 hr, 4 hr with fixed MA and CP only but no luck, may be this Big3 idea not soild enough.

    1 user thanked author for this post.
    #36999

    Bin why are you not optimising the MA and CP … every market is different in volatility and cycles etc and you / we can check how robust an optimised set of variables (including MA & CP) are by using the Walk Forward  tool?

    #37004

    I think CP was optimized, I tried myself..

Viewing 15 posts - 16 through 30 (of 31 total)

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