![]() |
|
|
#1 |
|
Junior Member
Join Date: Nov 2008
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
I have some questions related to bar prices. 1) Are Bars OHLC prices calculated by Ninjatrader using Provider's Ask and Bid Prices, or ther are directly got from Provider? (with provider meaning Broker/Data Feed) 2) How is "Last" Price Calculated? 3) Prices drown on Charts correspond to Ask, Bid or other prices? Regards Pablo |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
1) Are Bars OHLC prices calculated by Ninjatrader using Provider's Ask and Bid Prices, or ther are directly got from Provider? (with provider meaning Broker/Data Feed) >>The OHLC is determined differently for different types of bars. Historical minute and larger bar OHLC's are provided by the data feed. However the OHLC's are built on the fly when storing minute and larger bar data in real time. With Tick bars the OHLC's are determined by NT using the user inputs. This link my help: http://www.ninjatrader-support.com/H...ChartBars.html 2) How is "Last" Price Calculated? >>It is not calculated it is fed by the data feed and it is the last price that the instrument was traded at. 3) Prices drown on Charts correspond to Ask, Bid or other prices? >>They are built on the last traded price. Please see the link above.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2008
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
|
Ben, thanks four you answer. Regarding historical data, the concept is clear. However in real time, I still can't find out how OHLC bars are determined. I understand Ninjatrader calculates (for example) minute bars on the fly by using real time data, but I would like to know the calculation is made. Thanks
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
PabloC,
I am not sure what you mean "calculation". In real-time NinjaTrader just displays whatever information it is given by your data provider. On a 1 minute chart, when it receives a tick with a timestamp outside of that 1 minute, it knows the bar has closed and will solidify the OHLC for that bar and start a new one for the next 1 min.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HLC only as well as OHLC | cherriman | Suggestions And Feedback | 3 | 10-10-2008 11:42 PM |
| changing ohlc bars | chartlearner | Charting | 3 | 08-08-2008 12:15 PM |
| OHLC Dataseries? | michaelbb | Indicator Development | 3 | 05-28-2008 09:45 AM |
| OHLC Dots | pajusa | Indicator Development | 1 | 04-03-2008 01:42 AM |
| OHLC to HLC | vtown | Charting | 1 | 11-17-2007 05:02 PM |