• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Prior Day OHLC and correct price from Level 2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    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

    Click image for larger version

Name:	97df4fb9d0.png
Views:	1
Size:	78.2 KB
ID:	1061920
    Thanks a lot

    Sergey

    #2
    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:

    https://ninjatrader.com/support/help...b=onmarketdata
    https://ninjatrader.com/support/help...aeventargs.htm
    MarketDataType.LastClose (prior session close)



    Please let me know if I may be of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by joemiller, Today, 07:33 AM
    0 responses
    6 views
    0 likes
    Last Post joemiller  
    Started by isnercrypto, Today, 06:42 AM
    0 responses
    4 views
    0 likes
    Last Post isnercrypto  
    Started by Coursocied67, Today, 04:02 AM
    0 responses
    5 views
    0 likes
    Last Post Coursocied67  
    Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
    7 responses
    37 views
    0 likes
    Last Post DaveS
    by DaveS
     
    Started by claxxical, Yesterday, 10:00 PM
    0 responses
    11 views
    0 likes
    Last Post claxxical  
    Working...
    X