Momentum-Range Differential Acceleration System

Forums ProRealTime English forum ProOrder support Momentum-Range Differential Acceleration System

Viewing 15 posts - 16 through 30 (of 52 total)
  • #32994

    Sorry ALE I have only 100 000 bars and it was very very long only with 3 variables

    In fact I think you should WF on how many bars you want to use the code with an optimisation

    For example if you want to keep the same optimisation every week 34*5=170 bars

    If you test on 5 periods 5*170 is quite enough I think

    Cheers

    #33188

    Hi. Has anyone tried this on a commodity? I’m trying it out on Mini Crude Oil and can’t get it to work. I’ve been trying to optimise all morning however getting nowhere. The code is working but think I’m not looking at the right range for the variables so that the best optimisation results are from o trades for 0% gain (the rest of the results are negative). I think it could be due to the different point size than for fx.

    In particular, can anyone suggest variables for mcThreshold and rcThreshold? I’ve literally spent hours optimising various numbers but not getting anywhere.

    I’m sure it’s a beginners error to do with adjusting for different point sizes. Any help appreciated.
    Thanks

    #33224

    Issues like you experienced jonjon are partly why I suggest in post #32898 that we leave in the numbers for the variable sets when we attach an .itf file.

    The other reason is that unless we can see the range of variables used by an optimiser submitting code and re-optimise a few ourselves then how can we have confidence in the values?

    I’m sure we have all re-optimised Systems submitted on the various Threads and in the Library and found variable values that give better results?

    Leaving the variable sets / range in the file makes it easier to do a confidence check?

    GraHal

    1 user thanked author for this post.
    #33281
    #33290
    Maz

    Hi guys,

    Understanding the code (indicators) before you optimize
    Before 
    dumping the code base on a new asset class, you need to fully understand the code, how it’s working and what it does. Pull it apart. Make custom indicators from the indicator section. See how they work graphically on different instruments. This way it will make more sense as to what ranges you need to try.

    Where to start optimizing for a new asset
    Think about price action characteristics on the asset the system works well on – ATR, volatility, etc. Think about how that relates to the asset you want to move onto trying. For example if the new asset is less volatile, you’ll want to try variable ranges that make sense to reflect that. In this case smaller = less volatile.

    Not a one-size-fits-all
    Although the premise is market-agnostic, that PRT code I posted in the library is not a one-size-fits-all. Different asset classes will need different filters so you need to do the research. If you look at the filters I’ve used for the example (EUR/USD) you’ll see they may not make sense out of the box for stocks or for commodities due to the way stocks and commodities move. By filters I mean reasons NOT to take a (potentially weak) setup.

     

     

    3 users thanked author for this post.
    #33291

    I have done a stress test and optimisation on DOW 1E 3p spread with 100 000 bar history and below is the result. I have also tried trailing stop, profit target and Donchian stop and they all give more or less the same result. If anyone have other suggestions on what I could try, please let me know!

    Btw, there are a few things I don’t understand when I’m testing this code (keep in mind I’m a beginner).

    The code have several commands for exit a trade: wintarget+trailing stop+mintradetime+MA long criteria. Will the system takes whatever happens first? I have tried to take some away and test each exit separately but with a poorer result. There are for example profits above the win target plus trades close before the mintradetime. Can anyone explain the reason for this?

     

    #33300

    Thanks @Maz. A logical approach to finding the ranges. An obvious solution but I needed it pointing out!

    I’ve created new indicators from Maz’s code which I’ve added to my charts to help and I put the code below as it may be of help to some. I’m already seeing that this should hopefully help me with my Oil query and I’ll let you know any positive results.

     

     

    #33301

    Just realised that my last post with the indicators is just a repitition of Maz’s first post and link to his indicator (which was done better than mine above).

    Maz’s indicator can be found here

    #34015

    Hi MAZ, what version of PRT are you using? the IG or the Premium ver from PRT?

    I still cannot get the DIFF system to generate any trades- So I might think there could be a difference in the compilers. I use the IG ver.

    Cheers Kasper

     

     

    #34017

    Hi Again.

    I did some troubleshooting- forked the bc1 into 5 indicators.

    What I could see is

    is never gonna be true until I *pipsize the Thresholds.

    It looks like this. Question is why do some get trades, and some don’t?

     

    1 user thanked author for this post.
    #34040
    Maz

    Cheers. Will include the *pipsize for future code posts

    #34041
    Maz

    …but mcthreshold and rcthreshold are not units of points or pips. So not sure what’s up with that.

    #34043

    Hi Maz, no, but rc and mc are, at least in my ver. and currency 🙂 they are exactly the pipsize factor smaller. I admit- it strange.

    #34078

    $ M-R Dif EURUSD M15 Long works good for me Kasper, attached results.

    I cant recall making any changes, but my version is attached.

    Site below is well easy to use for checks on code difference if you ever need it.

    GraHal

    https://www.diffchecker.com/

     

     

    2 users thanked author for this post.
    #34095

    Hi GraHal, yes I know it works for most people, I did see some one else having the same problem though. I think it my PRT that has either a diffenent currency conversion or simpley another way of it own.. But when I seperated the Bc1 into every variable I could see the numbers would never match for the two variables tested. That why I never got any trades.

    It’s definetely not Maz’s work that has the problem- It’s just depressing.

    Cheers Kasper

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

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