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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      646 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      367 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X