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

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.
    Emily C.NinjaTrader Customer Service

    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 mishhh, 05-25-2010, 08:54 AM
      19 responses
      6,189 views
      0 likes
      Last Post rene69851  
      Started by gwenael, Today, 09:29 AM
      0 responses
      4 views
      0 likes
      Last Post gwenael
      by gwenael
       
      Started by Karado58, 11-26-2012, 02:57 PM
      8 responses
      14,830 views
      0 likes
      Last Post Option Whisperer  
      Started by Option Whisperer, Today, 09:05 AM
      0 responses
      2 views
      0 likes
      Last Post Option Whisperer  
      Started by cre8able, Yesterday, 01:16 PM
      3 responses
      11 views
      0 likes
      Last Post cre8able  
      Working...
      X