Error with historical data

Forums ProRealTime English forum ProOrder support Error with historical data

Viewing 11 posts - 16 through 26 (of 26 total)
  • #146062

    The issue seems to happen only on TF involving seconds (1 or 10-second TF’s), probably because in a day there are more than 10000 bars of 1 seconds, so it cannot calculate correctly something.

    It doesn’t occur on 1-minute TF and greater.

    #146064

    But if I launch it today, the today’s daily pp won’t be good but would it be good from tomorrow as the system would be running?

     

    Otherwise do you have any other suggestions?

     

    Thanks!

    #146066

    It’s weird that if a day has more than 10K bars, why does the code suggested by Nicolas work:

    ?

    It shouldn’t because it needs more than 10K 1-second bars to compute the Daily PIVOT!

    #146067

    I’m in 10 seconds and not 1 second. With this code I get a daily pp at 12787 instead of 12770,6 in real

    #146070

    Try with:

    or

     

    #146080

    With the second option it perfectly works! Thank you so much @Nicolas! I hope one day I’ll be able to get half of your knowledge..! 😀

     

    I just have another question regarding the following code. I don’t get any error but the calculation of the PP month isn’t right when I implement it in real. Do you have suggestions?

     


    @Nicolas
    , any magic tricks? 😀

     

    Thanks!

     

     

    #146081

    Wether I write

    DEFPARAM Preloadbars = 10000 or DEFPARAM Preloadbars = 0

     

    I still got the Month pp at 12688 instead of 12842..

    #146091

    Depends of the timeframe, but 10.000 bars might not be enough to calculate correctly the monthly high/low/close at start of the strategy. I suggest you use an higher timeframe only for this part, in order to compute the monthly pivot points correctly.

    #146118

    I tried but the monthly pp is not correct it’s something like 8550 which is completely out as it should be 12859..

     

    I’m sure I’ve done a stupid mistake but I can’t figure out where…! Moreover I can’t write “Premierpassage=0” in this part as it doesn’t accept to be modify in another UT and I don’t know how to solve it..:

     

     

    Thanks so much for your help @Nicolas

     

     

    #146133

    and with:

     

    #146147

    Hello Nicolas,

     

    Thank you for your answer!

     

    Here’s what I’ve done.

     

    Do you spt any mistakes?

     

    Cheers 🙂

     

     

Viewing 11 posts - 16 through 26 (of 26 total)

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