Error with historical data

Forums ProRealTime English forum ProOrder support Error with historical data

Viewing 15 posts - 1 through 15 (of 26 total)
  • #145999

    Hello,

    I keep getting one of my trading system rejected and I can sort it out…

     

    The error is “This trading system was stopped because the historical data loaded was insufficient to calculate at least one indicator during the evaluation of the last candlestick.” However, I don’t need much preloadbars for this system and I don’t see any mistakes.

     

    It is currently running on demo without problems and I was trying to implement it on the 10 seconds DAX 1€ and prt keep cutting it of for a reason that I don’t see…!

     

    I know that some of you already encountered this kind of problem and I already had a look at how it has been solved but I can’t relate my case to those as I don’t find the same mistakes!

     

    Thanks for your help 😀

     

     

    #146009

    Give your topic a meaningful title.Describe your question or your subject in your title. Do not use meaningless titles such as ‘Coding Help Needed’.

    Error is meaningless.

    Thank you 🙂

    #146012

    Thanks robertogozzi! Should I create a new one or could I change it?

    By the way, do you have any suggestion regarding my problem? 🙂

    #146024

    You can set preloaded bars to its maximum which is 10K, despite your code does not seem to need them.

    Don’t duplicate posts, leave them where they are and the way they are.

    #146025

    Ok understood!

     

    However I already tried that and as you said it does not even require that amount.

     

    This is the problem and I can’t figure out what could be the problem… It keeps telling me that I don’t have enough preload bars. I think the problem is elsewhere but can’t figure out where. That’s why I came to you guys 🙂


    @Nicolas
    ?

    #146028

    Surely below will not work?

    Below may cause the Algo stoppage … despite what the error message says?

    You need the Trail Start to be more than the Trail Step (usually Start is several times the Step),

     

     

    #146039

    What is the PRT version please?

    #146051

    Hello GraHal, Nicolas,

     

    Thanks for your proposal GraHal! However I already have som systems that are currently running and have that set up. Just to be sure I tried and same, the system is kicked out…

     


    @Nicolas
    , I’m currently in v10.3-1.8.0_202.  Do you think it could come from the plateform?

    1 user thanked author for this post.
    #146052

    I’m just asking questions in order to get a complete picture 🙂

    Is the error message pop directly at start or later?

    Did you try with a “preloadbars = 0”?

    #146053

    Oh ok 🙂

     

    Directly at start and I tried removing the trailing stop function, the time of entry, the date and nothing changes…

     

    I just tried with preloadbars = 0 and still out with the same error 🙁

    #146054

    I tried removing part by part some of the code and seems to come from this part:

     

    Do you know why?

     

    Thanks! 😀

    #146055

    Try this, in this order, and make a test after each step if it solves the issue:

    1. remove the preloadbars line completely
    2. change the line 30 with: “if day<>day[1]”
    3. change the lines 46 and 55 by adding: “and pp>0” at the end of the lines (c1 and c2 conditions)
    #146056

    With the second change it works, not with the other. However, when I do this change, the Daily PP isn’t correct anymore..

    #146059

    Why not using a simplier daily pivot points formula:

     

    #146060

    Because with this formula I don’t get the right PP..

    With this formula I get the right one

    And with this one I get another daily pp which isn’t good

     

     

     

     

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

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