Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsType - is unknown in Visual Studio

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

    NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsType - is unknown in Visual Studio

    I have this code in my strategy:

    NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsTy pe barsType = BarsArray[timeFrameVolumetric].BarsType as NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsTy pe;

    but Visual studio marks it that the VolumetricBarsType does not exist even if i add Ninjatrader.Bartchart.dll

    So it shows me error and does not suggests methods.

    How shoul i proceed?

    #2
    Hello kujista,

    Thank you for your note.

    Visual Studio shows errors for Order Flow tools because the source code is not included. It does not have intellisense for the Order Flow tools. The code should still compile in NinjaTrader. You should not ever run or build from Visual Studio and should only save the file as noted in the tip at the bottom of the following page:


    If you'd like, you could manually include the NinjaTrader.Vendor.cs file in your VS solution, though every time you make changes in the project it will be removed.

    Please let us know if we may be of further assistance.

    Comment


      #3
      Hi,

      I am not trying to run or build from Visual Studio. I am just trying to remove / ignore this error. Is there a way? I guess i have no option to fix this by adding some dll file to solvee this problem.
      Kujista

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      94 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      140 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      74 views
      0 likes
      Last Post PaulMohn  
      Working...
      X