data loaded was insufficient to calculate

Forums ProRealTime English forum ProOrder support data loaded was insufficient to calculate

Viewing 15 posts - 1 through 15 (of 17 total)
  • #176600

     

    #176602

    .

    #176605

    It maybe that your broker won’t allow you to preload 500k bars IG for instance only allows 200K

    1 user thanked author for this post.
    #176613

    Forum is full of people with code not working, please describe with words what is your problem exactly and take the time to:

    • 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’.
    #176614

    ok, Thanks

    #176615

    I have changed the preload to 200k, but still not working. I’m using the time frame 150 second may be that is the reason ??

    #176618

    PreLoadBars are limited to 10K, no matter what you write in your code.

    200K or more ar the bars that can be used for backtesting.

    It appears that the problem is not DEFPARAM. Check what kind of indicators you re using and how many bars they require (a 5000-period Ema could exceed 10K bars for calculations).

    You should post your code so that it can be tested (with details on TF used and instrument traded).

     

     

    #176629

    The code is posted above.

    #176634

    Code in text is good (as you have posted) but if you also post the .itf file then we not need to go looking for the Indicators and also we would have the .itf all set up with the same variable values as you are using.

    I will then test on my Platform and see if I get the same error as you.

    #176635

    Code of indicators, this is what Roberto is talking about. The problem is surely located in that codes 🙂

    1 user thanked author for this post.
    #176638

    The file is attached for your review.

    DSRIDEMA14ATRADX_LONG

    #176641

    Instrument and Timeframe??  We need to have same set up as you.

    #176642

    Instrument: US500

    Time frame: 150Sec

    #176652

    Doesn’t take a single trade over 100k bars backtest … see attached … is that what you get?

    #176656

    I could only find out that the could be in the indicator “PRC_Adaptive-ATR-ADX-Trend-V2”, as replacing line 24 with this one:

    got rid of any error message.

    I could not spot the issue in the indicator, though.

    1 user thanked author for this post.
Viewing 15 posts - 1 through 15 (of 17 total)

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