Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily chart VOL[0] not equal to Market Analyzer Daily volume

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

    #16
    Originally posted by NinjaTrader_Bertrand View Post
    I'm not following you monpere, there needs to be a Level 1 data event for it to return any value, which events did you listen to in your script then?
    When I start NT and connect, I will generally see a value under the 'DailyVolume' column in Market Analyzer. But on my chart, it may take 10 minutes to get the first OnMarketData() MarketDataType.DailyVolume event. Where does Market Analyzer get the value it is showing?

    Comment


      #17
      The last value seen would be persisted for the current NT session, so if you reload NinjaScript in the MA for example it would repopulate the values even if no L1 event had been seen while connected live. This would be different when you custom code works in OnMarketData() from the chart, here's you access the 'true' Level 1 stream without any buffer, so it would need an update / MarketArg event to see it populating.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      83 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      45 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      65 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      57 views
      0 likes
      Last Post CarlTrading  
      Working...
      X