Preloadbars

Viewing 9 posts - 1 through 9 (of 9 total)
  • #254360

    Hello,

    My trading system is stopped by insufficient amount of historical data loaded, which i don’t get,  because 10000 bars is plenty for my purposes on DOW 1 minute.

    PRT is provided by IG, Free version.

    Thanks in advance.

     

    #254361

    I’ve had this loads over the years, very frustrating to find the exact reason why sometimes / most times.

    I know you have 10000 preloadbars, but try as below to see if it helps?

    Let us know how you get on?

     

     

    #254363

    It doesn’t work with multitimeframes in the code, when I delete this, then it is working. (i.e. no errors)

     

    #254364

    Might be due to lookbacks / periods of your higher TF’s (slower) needing more than 10000 bars when running on lower TF’s (faster) Chart Timeframe?

    Reduce lookbacks on higher TF’s just to see if it will run (don’t worry about performance at this stage) without erroring out.

    Let us know how you get on?

    #254365

    i think, you mean, reduce the biggest timeframe into smaller, that works, however it gives shitty results

    #254367

    An example, if your higher TF is 4 hour and has a lookback of 50 then that needs 12,000 bars at a 1 min TF.

    Max allowed / preload is 10,000 so you would need to raise the 1 min TF.

    4 hour lookback of 50 is 6,000 at 2 min TF, less than max of 10,000, so H4 and M2 might work?

    1 user thanked author for this post.
    #254368

    Raise up the timeframe of 1 minute is a deadend street.

    So I use a double smooth stochastic (bressert) 240 minutes. So I need minimum 10x240min= 2400 min lookback. Or is that not right?

    #254375

    hi. Maybe you could test with lower periods for stochastic. I think you need 12k bars as Grahal says.

    1 user thanked author for this post.
    #254396

    I ll give it a try, Thank you both

Viewing 9 posts - 1 through 9 (of 9 total)

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