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 - 46 through 60 (of 344 total)
  • #147674

    yeah, I like it – better % win, better gain/loss, lower drawdown, only slightly lower profit but probably better in the long term. Thanks Fifi! 👍

    #147683

    Hi Nonetheless,

    Looking at your money management code, it calculates the new positionsize when there’s no market position.

    However, if going from long to short directly & visa versa, which can happen a lot, regardless gain or loss there is no change in positionsize, so essentially there could be more gains to explore.

    Is this something which can be changed? strategyprofit is only calculated when the position is closed.

    Do you think it’s worth the effort to change this?

    #147684

    Had a try, but doesn’t make much difference overall on vectorial strategy.

    It had to be place right above the entry since it needs to know before the reversal takes place what positionsize to use. Seems to work as I tended in a glance.

     

    #147686

    one part needed change

    Downside is, it’s not exactly a snippet anymore because it must know when conditions are met.

    it was interesting to test.

     

    #147706

    Thanks for that, Paul – def worth having a look at. Recently I changed it to

    using IF StrategyProfit <> StrategyProfit[1]  to allow for instant reversals. Seemed to solve the problem of algos that were onmarket near to 100%, but I hadn’t thought of merging it with the entry conditions… could be worth playing around with.

    #147755

    I tried that too, but didn’t look close enough using graph! There’s a difference at the bar of the reversal.

    Did a side by side comparison between your approach and mine,  there’s a very small difference.

    It’s easier to use your method which had a +400 on a equity of 117500. I remember you ran into this problem somewhere. I will update it in  my strategies. Thanks.

     

    #147867

    Thank you all for your effor and for sharing this in the forum, it is an inspiration for people like me who are trying to start programming algos in PRT. @nonetheless or anyone, could you tell me which GTM hour is this algo using? I’ve tried it in GMT+2 and it works properly but probably another GMT time would be better to fit the parameters of the algo. Thanks in advance.

    #147880

    Hi @Ryugin, it’s set to UK time so for Spain I expect you need to change it to

    it’s just the Wall St opening hours.

    1 user thanked author for this post.
    #147881

    @Paul, did you see I added a line to your %TS

    accelerator2 gives the option to further optimize the TS going short, usually shows a small advantage.

    #147883

    Hi @Ryugin, it’s set to UK time so for Spain I expect you need to change it to

    it’s just the Wall St opening hours.

    Just to make sure I haven’t missed something since the timezone comes up in every thread. If I set custom trading hours in PRT that matches the exchange, for Nasdaq UTC-4. I just set the regular trading hours (9:30-16:00) in the script?

    #147886

    yes, I did see that, nice touch! I would like to say it’s perfect now but it is not cuz I found maybe a bug.

    Using it on vectorial, I saw a big difference in results using trailing-stop sensitivity 0 or 2 and the difference was too big to explain. Especially the last trade with the big loss. When it uses the close, the trade can exit too early. Something is off there can you ‘ve a look too?

     

     

    #147887

    I’ve loaded the original one of nicolas & modifcations by robertoguzzi. That seems to work oke.

    Then I took the version from your v3 strategy, which uses % instead of points and uses default close which is off too.

    Think  I found it

    It used positionprice[1] and when there’s no market position and opened a new one it went off the rails.

     

    #147890

    Hello everybody,

    can you provide the complete code again after all the others?
    Thanks already heard.

    #147980

     

    Hello, first thanks for your work.
    I keep seeing that he makes many entries in a row without closing the first ones. For that you have to have a large capital.
    I have also tried reducing the 0.4lotti, but it keeps coming in with 1lotti.
    Can you help me please? is there something that escapes me?

    NOTE: In this test I have added the chunk of Fifi:

    Mrsi=RSI[14](close)
    if longonmarket and CurrentDayOfWeek=5 and close>positionprice and Mrsi crosses under 70 then
    sell at market
    endif
    if shortonmarket and CurrentDayOfWeek=5 and close<positionprice and Mrsi crosses over 30 then
    exitshort at market
    endif

    #147985

    Nasdaq has a minimum position of 1.

Viewing 15 posts - 46 through 60 (of 344 total)

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