NAS 3 x HULL MA trading system

Forums ProRealTime English forum ProOrder support NAS 3 x HULL MA trading system

Viewing 15 posts - 1 through 15 (of 19 total)
  • #144658

    Hello all, I stumbled upon this more or less by accident and can’t understand why it seems that it ‘might’ actually work.

    It enters long when a) the slow MA is above the fast MA (normally short conditions) and b) when the slow MA changes direction. How is this possible? By the time a slow MA can change direction surely it would be below the fast MA?

    Attached are backtests for 4min and 3min versions, both of which appear to be profitable over the past year. Position size = €1

    If anyone could enlighten me as to what is going on here, I’d be most grateful.

     

    #144671

    It’s because of conditions C3 and C4, both form a reversal peak while the lowest average, C5 and C6, is also going the reversed way.

    #144680

    Sorry Roberto, I still don’t get it.

    c5 means the MA90 is rising – this is unproblematic. c3 means the MA24 has reversed from falling to rising, this also makes sense.

    But how can that happen when it is also above the MA5 ? By the time MA24 reverses, the MA5 is surely going to be above it ???

    #144691

    Use this indicator:

    the attached pic shows that:

    • HullB (blue) has formed a (almost invisible) peak – C3
    • HullB (blue) > HullA (red)                                          – C1
    • HullC (purple) > previous HullC (purple)               – C5

     

     

    1 user thanked author for this post.
    #144712

    Thanks for that Roberto, so at least its not impossible for those conditions to occur.

    Still very odd that it should give a decent result. If I remove HULLa (MA5) completely, with just the rising MA90 and the MA24 reversal the results are much worse. I don’t see why the HULLa should improve anything, but there it is.

    #144713

    Because (Long example) C is ascending, B is reversing from descending so it’s now ascending, thus the idea is that the faster A, temporarily behind, will soon cross over B.

     

    #144722

    Yes, short term weakness, medium and long term uptrend, so you buy the dip to enter the medium and long term uptrend (good entry point)

    1 user thanked author for this post.
    #144727

    Thank you for stumbling across this Nonetheless.

    I get more or less same as you on 4 min, but wildly different on 3 min … weird, why should that be??

     

    #144730

    Thank you for stumbling across this Nonetheless.

    I get more or less same as you on 4 min, but wildly different on 3 min … weird, why should that be??

     

    For the 3min version, I have Periodb = 27, all other values are the same. Interesting that, as far as i can see, the 4min and 3min pick up completely different trades, so could be run in tandem.

    There is another problem though; the MM doesn’t seem to do anything. This is weird because it’s just an add-on block of code that I’ve been using for ages, but here it makes no difference if MM=1 or 0 … could you test it to see if you get the same?

    #144734

    Hello, as I can see the MM will not step up because that the strategy is always in market (Over 99%). No stop, no target, no sell and no takeprofit.

    1 user thanked author for this post.
    #144784

    Yes, that’s true, but positions are still closed and reopened… how long does it realistically take to calculate strategy profit and position size? Should be a matter of milliseconds. If the time on market is anything less than 100% there should be time for the MM to activate at some point.

    Any use of stops or targets results in worse performance.

    #144842

    If the time on market is anything less than 100% there should be time for the MM to activate at some point.

    I was thinking that the other 1 or 2 % had to do with the time before the strategy took the first trade. I have no idea as I am a beginner on this.

    Can @Nicolas or someone else tell us how Prorealtime internals works when the strategy is doing like this eg. when there is no stop nor any target in the code and the trade reverses by the strategy?

    Does Prorealtime send a command to the broker IG to “reverse” the trade or is there two commands sent? (sell/short vs exitshort(sell)/buy depending on direction)?

     

     

    #144844

    The only commands sent to the broker are those the author coded within the strategy.

    In this strategy there are two, BUY  and SELLSHORT.

    Whenever one of the two is executed the position is automatically reversed since there cannot be two opposite positions open within the same strategy.

    Reversing implies first closing the open position, then opening a new one the opposite direction. There’s no need to use SELL/EXITSHORT to stay 100% of time on the market.

    The author commented the las two lines to avoid being on market less than 100% of time.

     

    1 user thanked author for this post.
    #144848

    time before the strategy took the first trade

    I think this may be the case?

    I have never had an always on strategy to be on market 100% of the time and often wondered where the < 1% or 2% ish went to?

    I have no idea as I am a beginner on this.

    Seems you do have good ideas, keep them coming!
    It’s good to have new blood in the Community! 🙂

    1 user thanked author for this post.
    #144928

    @robertogozzi thanks!  That’s almost what I suspected. Does this mean that there is no chance for ProRealTime to run the “Not OnMarket” code in this strategy and that the specific part of the MM code will not run?

    GraHal thanks. I will do my very best 😉

    Excellent Community you have here. Everyone, thanks for sharing. Thumbs up to you all 😀

Viewing 15 posts - 1 through 15 (of 19 total)

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