NAS 2m HULL-SAR trading system

Forums ProRealTime English forum ProOrder support NAS 2m HULL-SAR trading system

  • This topic has 343 replies, 42 voices, and was last updated 1 year ago by avatarbege.
Viewing 15 posts - 16 through 30 (of 344 total)
  • #146941

    Try changing TradePrice in the TS snippets to PositionPrice (is that the correct term for the average trade price of all open positions)?

    Just an idea before bed! 🙂

    1 user thanked author for this post.
    #146946

    if you limit the number of open positions to i.e 5, an option would be maybe to have separeated individual trailing stops for tradeprice(1),tradeprice(2)  etc

    ive made in the past a ts for 2 cul. positions in some topic

    not a nice way because you get lots of code

    #146949

    Grahal’s suggestion of using positionprice instead of tradeprice seems to make a big difference. TS should now start from the average price.

    #146953

    Revised with correction to the TS, tames the excesses – lower profit but better win %, optimized for max pos = 6

    4 users thanked author for this post.
    #146965

    further revision to the TS (grazie Roberto) and re-optimized. Interestingly, there is now a sweet spot for max positions – it starts getting good at 4 and peaks at 8 (attached illustration). Above that performance falls off.

    6 users thanked author for this post.
    #146975

    near identical performance on the Dow (equivalent position size =.4), with the advantage of smaller min position.

    6 users thanked author for this post.
    #147095

    Hi Nonetheless,

    I took the excellent cumulative trailingstop snippet of robertogozzi and splitted it for long & short, same as vectorial. This gives another nice improvement overall.

     

     

     

     

     

    3 users thanked author for this post.
    #147118

    I thought that 8 positions was a bit too big.

    I tried to optimized this parameters and the better one was 4 (and for me obviously it decrease the DD)

    Results on 200k attached

    1 user thanked author for this post.
    #147122

    Nice one Paul! I have also been working on long and short versions – your solution is more elegant, I just made 2 different algos.

    But I’m also trying an alteration to the entry code so that the initial position is based on the 6min turnaround, with additional positions based on the 2min. Logically I think this makes more sense – to catch the bottom/top of the 6min run rather than entering anywhere along that trend. I’m running all these versions in demo to see what works better in actual trading.

    3 users thanked author for this post.
    #147130

    I tried to optimized this parameters and the better one was 4

    yes, 4 positions is still v profitable and needs a lot less capital to get going. you should try optimising max 4 on the Dow version as you can then run it at min size .2

     

    #147132

    Ich I have a little bit better results with Paul´s Version with small changes.

     

    #147133

    @VinzentVega

    Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read and try not to mix/use different languages.

    Thanks 🙂

     

    #147134

    ok, sry. 🙂

    #147167

    Hi,

    All of codes above don’t work for me. The message is : “do you want to restart the backtest in tick by tick mode or without”

    Anyone has an idea ?

    Thanks in advance.

    #147195

    Hello

    I have trust some modification SL and TP

    the code :

     

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

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