Announcement

Collapse
No announcement yet.

Price data out of sync

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Price data out of sync

    This goes on from my previous post "can you load 'older price data in EFS"........

    That worked thnx

    But the closes on the chart with the EFS and another chart with just the $INDU do not match. This seems to be due to the fact that the E-Mini trades for a further 15 minutes and therefore causes the bars to get out of sync.

    I've tried using a 'difference factor' in the rawtime, between the two symbols, to get the required bar. This works for the current day but starts going out of sync again the further back in time you look.

    Any ideas on how to keep the bars in sync when the two markets have different open/close times?

    Another way that I've managed to do this is to create an array of $indu rawtime and close, for all the data that is available the first time that the EFS is performed and then each subsequent time the EFS is called with the E-min bar I search the array for the corresponding bar in the array. This works but it has one draw down in that you have to do a reload of the EFS each time you use it for the first time on any particular time frame.

  • #2
    Hi,

    I may have missed it someplace, but what is the ultimate goal? It sound like now you are trying to have two different charts set up and keep them in synch. There may be a better way to do what you are trying to do...
    Garth

    Comment

    Working...
    X