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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      57 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      19 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      9 views
      0 likes
      Last Post cre8able  
      Working...
      X