Personal Finance & Money Asked by george mason on December 24, 2020
I have a stream of bid/ask market data and a stream of executed trades.
Quick question, as not too sure how to best approach this. To draw an OHLC chart, would I:
a) Base calculation entirely on observed bid prices over a time period (highest bid, lowest bid, and last bid during that period)
b) Base calculation entirely on observed ask prices over a time period
c) Base the OHLC chart on executed trades at price x doing the time period?
I have also seen someone on a metatrader forum mention off the cuff that:
Open: (bid + ask) / 2
High: highest bid
Low: lowest offer
Close: (bid + ask) / 2
So wondering which of all these it is?
Best regards,
I would think it would be based on executed trades. Otherwise there would be lows of $0.01 for most stocks from someone putting in ridiculously low, unrealistic offers.
Answered by samoz on December 24, 2020
The Open - is the first traded price for the period.
The High - is the highest traded price for the period.
The Low - is the lowest traded price for the period.
The Close - is the last traded price for the period.
Any existing Bid/Ask prices remaining in the market depth have not been traded yet so can not be used to produce charts. So point (c) is your answer.
Answered by Victor on December 24, 2020
This is a good old question. However, in recent versions of Metatrader-5, they provide THIS description for calculating candle sticks, based on intra-timeframe ticks. Here is one of the diagrams they use to describe it. It should be noted that all "points" are Bid points.
Additional info can be found here.
Answered by not2qubit on December 24, 2020
The question is very relevant for low volume trading. Whereas for high volume trading the trades as well as the spread between the bids and asks would be fairly close.
There are definitely mixed definitions for the terms Open, High, Low, and Closing used for OHLC charts. For instance, this source puts Open and Closing as trading prices, but High and Low as Ask prices (http://www.forex-charts-book.com/). But, for trading purposes, each of these terms have definitions, and they are each based on executed trades, not the order book (ie. not bids and asks).
I hope that helps out.
Answered by CommentUser on December 24, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP