Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Indicator Prior Day OHLC and correct price from Level 2
Collapse
X
-
Hello sergey_z,
The PriorDayOHLC does not use level 2 data to calculate the prior day values, it uses Historical data and session information. If you wanted to use level 2 data in some way to gather that value, you would need to work out logic do accomplish that task. While I wouldnt be able to provide any direction in using level 2 data for this task, if you are using a provider which offers the LastClose metric, you can use fundamental data and OnMarketData to access that value when the provider supplies it. Fundamental data cannot be requested, this is something you would observe or listen for changes like listening to a radio:
MarketDataType.LastClose (prior session close)
Please let me know if I may be of further assistance.
-
Indicator Prior Day OHLC and correct price from Level 2
Hello
How I have to change indicator Prior Day OHLC to see correct price for Close past session from Level 2? Picture for CL08-19, Day
Thanks a lot
SergeyTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by itrader46, Today, 09:04 AM
|
0 responses
3 views
0 likes
|
Last Post
by itrader46
Today, 09:04 AM
|
||
Started by timmbbo, Today, 08:59 AM
|
0 responses
1 view
0 likes
|
Last Post
by timmbbo
Today, 08:59 AM
|
||
Started by bmartz, 03-12-2024, 06:12 AM
|
5 responses
33 views
0 likes
|
Last Post Today, 08:34 AM | ||
Started by Aviram Y, Today, 05:29 AM
|
4 responses
14 views
0 likes
|
Last Post
by Aviram Y
Today, 07:57 AM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
3 responses
28 views
0 likes
|
Last Post Today, 07:41 AM |
Leave a comment: