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:	935
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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    230 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    149 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    161 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    243 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    198 views
    0 likes
    Last Post CarlTrading  
    Working...
    X