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:	912
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:



    MarketDataType.LastClose (prior session close)



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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    156 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    90 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    140 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X