I need 86400 PreLoadBars

Forums ProRealTime English forum ProOrder support I need 86400 PreLoadBars

  • This topic has 5 replies, 5 voices, and was last updated 3 months ago by avatarJS.
Viewing 6 posts - 1 through 6 (of 6 total)
  • #235872

    Hello everyone, if I work in the 1 second time frame, how can I query the price before 24 hours? According to the manual, a maximum of 5000 PreLoadBars are possible, I need 86400. Does anyone know a trick to achieve this?

    #235875

    Hello Teddy,

    Maximum PreLoadBars is 10000.

    But looking at your text, to me it seems that you are looking for something else, – or that there just is no problem;
    86400 is obviously one day (assumed the instrument of concern is trading the full day) and asking for the price/bars prior to one day is a matter of looking back more days. However, for PRT Complete this is 200000 bars, in practice ~ 3 days. For PRT Premium you’d have 1M bars,  thus 15 (working) days.

    Whether you’d still need PreLoadBars depends on what you want to calculate. Thus, if you need to calculate an average etc. which you actively use the full last day, and the math of that average requires 2 days more prior to that last day, then it would still work. If you require more, it would be best to slowly increase your TimeFrame length. Like 2 seconds. Still not enough ? then 3. And so on.

    I hope this helps ?
    Regards,
    Peter

    1 user thanked author for this post.
    #235877

    Hello Peter, I would like to ask whether the previous day was positive or negative overall, and whether the period from 2:30 p.m. to 10 p.m. was positive or negative. That is the real task that needs to be solved. The position must be closed exactly at 090005, hence the time frame 1 sec. Best regards Peter 🙂

    #235879

    Your posts are a lot easier to read (for us) if you do not click on Quote before you type, or you not do whatever else you are doing which puts your posts inside that panel all stretched out etc?

    1 user thanked author for this post.
    #235881

    To tell whether the day before was either Bullish or Bearish, you can use these two lines:

    to tell whether the time from 2:30 p.m. to 10 p.m was either Bullish or Bearish:

     

     

    2 users thanked author for this post.
    #235892
    JS

    If you want to know whether this period 14:30 – 22:00 was positive or negative yesterday, you can use the following…

     

    2 users thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

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