Unable to back test RSI and Hull average strategy

Viewing 15 posts - 31 through 45 (of 54 total)
  • Author
    Posts
  • #132881 quote
    GraHal
    Participant
    Master

    Also the logic behind the 3 min TF is that hopefully any trade is going the ‘right way’ before the 5 min candle closes and all the Institutions Algos are triggered by the 5 min candle … so we jump on the wave before them  them and ride it out!!?? 🙂

    Then same gig on the exit … we jump off the wave before the big boys are triggered again!!

    Sounds good don’t it!!!! HAHAHHA

    What’s the gig behind the 5000 ticks? What does 5000 ticks average out at clockwise on the DJI for example?

    #132886 quote
    bearbull
    Participant
    Average

    5000 ticks are around 1hr 15/20mins.

    I had a quick fettle with the RSI, set that to  70/30 and pulled the time down to 1min and extracted another £1000, so in your same dates it returned £4700 or so…………..Ill play with settings some more, shame I can only go back 100000 units worth.

    I use the ProTrend through IG. Unfortunately they don’t do the mobile app, have to use their rubbish one when mobile.

    Anyway….weekend beckons and thanks again GraHal for your help.

    Ill let you know how I get on with adjusting settings

    #133796 quote
    bearbull
    Participant
    Average

    Hi Guys,

    I have a  couple of questions……..

    • Does Protrend  have to be on and running when using a live auto strategy? i.e. can I turn computer off and go to bed whilst its running?
    • I can manage to go back-testing my strategy to around August 2019 in a 3 minute  time frame. I cannot go back further than this………I am not back testing from present time to back then, but I am meticulously back-testing each and every month individually………………….working my way back. Have I missed something?

    Thanks Mike

    #133797 quote
    GraHal
    Participant
    Master

    Does Protrend  have to be on and running when using a live auto strategy? i.e. can I turn computer off and go to bed whilst its running?

    Best call it PRT then we know what you are talking about! 🙂

    Yes you can sleep while Auto-Trading! 🙂 PRT and your PC can be turned off.

    I am meticulously back-testing each and every month individually………………….working my way back. Have I missed something?

    You could backtest / optimise for 5 months in one go using the Walk Forward Tool?

    #133843 quote
    bearbull
    Participant
    Average

    GraHal

    Is that in any time frame? As explained before I could only go back to last August in 3 minute time frame, thats it.

    Where do I find the Walk Forward Tool as you suggest? Would using the tool mean I could go back years in 5 month increments at 3 minute time frame candles?

    Thanks

    #133847 quote
    GraHal
    Participant
    Master

    Would using the tool mean I could go back years in 5 month increments at 3 minute time frame candles?

    No

    But you could set up to WF over 5 months in 1 month chunks all in one go?

    Easier than as you said you were doing 1 month x 5 separately?

    Anyway here is all about WF

    https://www.prorealtime.com/nl/pdf/probacktest.pdf

    #133936 quote
    bearbull
    Participant
    Average

    Grahal

    Thank you for the link and helpful information.

    So in a nut shell i can only go back a far as I currently have using the 3 min time frame i.e. to August 2019 and no further back.

    My concern is that you cannot test a system fully with restricted historical data of 9 months (in my case @ 3min increments).

    This would not put you through all market conditions i think?

    Thanks any way for the help.

    ………………………………………I’m learning albeit very slowly LOL

    GraHal thanked this post
    #133940 quote
    bearbull
    Participant
    Average

    One last problem………………..probably really simple but I cant find where……..

    I have set my time parameters to 24/7 how can adjust these to say….8-4pm Monday to Friday – i.e. markets hours for the FTSE?

    #133941 quote
    bearbull
    Participant
    Average

    I can only adjust the trading hours in ‘simplified creation’ and not in ‘creation by programming’ ?

    #133943 quote
    GraHal
    Participant
    Master

    Have you done it as below …

    Time > 080000 and Time < 160000

    OR

    Flatbefore 080000
    Flatafter 160000

    OR you can even use …

    Hour > 8 and Hour < 16
    #134912 quote
    bearbull
    Participant
    Average

    GraHal

    Thanks for getting back. I have tried all of those you suggested as per below ending with your last suggestion but it still tells me there is a syntax error?

    // Definition of code parameters
    DEFPARAM CumulateOrders = False // Cumulating positions deactivated
    
    // Enter Long
    C1 = CLOSE
    C2 = OPEN
    C3 = CLOSE>OPEN
    
    IF C1 AND C2 AND C3 THEN
    BUY 1 PERPOINT AT MARKET
    ENDIF
    
    // Stops and targets
    SET STOP pTRAILING 4
    
    // Daily timeframe
    Hour > 8 and Hour < 16
    #134921 quote
    GraHal
    Participant
    Master

    You’d need to use Hour like below …

    TradeTime = Hour > 8 and Hour < 16
    
    If BuyCondition and TradeTime Then
    Buy at Market
    Endif
    #134922 quote
    GraHal
    Participant
    Master

    What are you trying to do with below?

    I may be missing something, but I read below as …

    If Close = Open and Close > Open Then … which of course will never occur??

    On reflection, maybe the code is read as … if Open and Close … which of course you always have in every bar?? 🙂

    So

    c1 = Close

    C2 = Open

    Achieves nothing?? 🙂

    C1 = CLOSE
    C2 = OPEN
    C3 = CLOSE>OPEN
     
    IF C1 AND C2 AND C3 THEN
    BUY 1 PERPOINT AT MARKET
    ENDIF
    #134923 quote
    bearbull
    Participant
    Average

    GraHal

    I am getting a syntax error ” This variable is not used in the code:tradetime”

    #134924 quote
    bearbull
    Participant
    Average

    What are you trying to do with below?

    I may be missing something, but I read below as …

    If Close = Open and Close > Open Then … which of course will never occur??

    …..all I am stating is that if the close is greater than the open then go long………….after defining what close is and what open is…….?

Viewing 15 posts - 31 through 45 (of 54 total)
  • You must be logged in to reply to this topic.

Unable to back test RSI and Hull average strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
bearbull @bearbull Participant
Summary

This topic contains 53 replies,
has 5 voices, and was last updated by bearbull
5 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/21/2020
Status: Active
Attachments: 9 files
Logo Logo
Loading...