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!
See more
See less

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.
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bortz, 11-06-2023, 08:04 AM
      47 responses
      1,603 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      8 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      4 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      12 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X