Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Bar start times
 Post subject: Bar start times Post rating: 0   New post Posted: Wed 21 Sep, 2011, 14:32 

User rating: 0
Joined: Fri 19 Aug, 2011, 20:29
Posts: 45
Location: Germany,
When looking at the history it seems that periods open their bars 1 second after.

eg.
the M1 bar for 10:01 openes at 10:01:01
the M5 bar for 10:05 opens at 10:05:01

and so on.

So the bar range if i would calculate bars from tick data is always from :01 to :00? e.g. high = highest from all ticks between >=10:01:01 && <=10:02:00 (both inclusive)?

Certain discussion mention >=10:01:00 && <=10:01:59 though.

Thanks
yoursong


 
 Post subject: Re: Bar start times Post rating: 0   New post Posted: Thu 22 Sep, 2011, 14:25 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Could you please provide code fragments to clarify from which method and how do you read history and how you print the data.


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com