2 registered members (AndrewAMD, Ayumi),
903
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: price() clarification
[Re: DdlV]
#435352
01/06/14 16:45
01/06/14 16:45
|
acidburn
Unregistered
|
acidburn
Unregistered
|
Thanks acidburn! So the question is: What is the exact definition of "Bar"? Hopefully jcl's glossary will clear this up and show how to exactly calculate from Ticks files. Well I wrote you the definition few posts before. It's very short so you missed it. I wouldn't count on jcl to provide us the definition because he's too fond of his ticks and doesn't like bars very much.
|
|
|
Re: price() clarification
[Re: DdlV]
#435366
01/06/14 18:58
01/06/14 18:58
|
acidburn
Unregistered
|
acidburn
Unregistered
|
Thanks acidburn. OK, expanding on what's in the first link:
Bar is defined as the Ask HLOC of the Ticks within a given time period as follows: High is the highest Ask of all Ticks, Low is the lowest Ask of all Ticks, Open is the Ask of the first Tick, and Close is the Ask of the last Tick.
Correct?
Thanks. IMHO, yes, now our definitions match. And now you match my algorithm to create OHLC bars from tick data. Congratulations, we have just reinvented the wheel. Although, to be more general, the price needs not to be Ask, it could've been Bid. I think Zorro uses Ask, most other platforms I've seen use Bid. That of course doesn't change much in practice.
|
|
|
|