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

Hi

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

    Hi

    Hi,

    when ,
    using NinjaTrader.Cbi;
    using NinjaTrader.Data;
    using NinjaTrader.Indicator;
    using NinjaTrader.Gui.Chart;
    using NinjaTrader.Strategy;

    where can i find the dll or source files?
    i did a search and nothing of the name turned up.

    Additionally where do i have to put my DLL file so i can use it in my script

    eg.

    using sample ;

    #2
    Hello nemesis45,

    These are all of the internal namespaces that are a part of the "NinjaTrader.Core.dll". The source code is not available.

    If you want to use a DLL that you created, you may want to put it in the (My) Documents -> NinjaTrader 7 -> bin -> Custom folder.

    Make sure that you add your DLL as a reference inside of your NinjaScript as well. Here is a link to our Help Guide that goes over how to add a reference that you may view.
    JCNinjaTrader Customer Service

    Comment


      #3
      So,
      If i copy and paste my ninjascript code to visual studio c#, and include ninjatrader.core.dll and other namespaces in references, the code will work the same way?

      On another note.
      I added a reference to my custom dll file , but now i cant apply my strategy to chart.
      It simply doesnt list my strategy at all

      Comment


        #4
        So if i try including
        using Ninjatrader.Core
        Add a reference to it

        seems i cant compile the code, giving me an error.
        Error 1 'NinjaTrader.Strategy' is a 'namespace' but is used like a 'type' C:\Users\NODE\Documents\Visual Studio 2010\Projects\TestRunningNTStrategy\TestRunningNTS trategy\CodeFile1.cs 27 36 TestRunningNTStrategy


        cant be done? i will have to use NT editor?

        Comment


          #5
          Hello nemesis45,

          The code will not work inside of Visual Studios, it would have to be ran inside of NinjaTrader.

          You may write your code inside of Visual Studios, but any changes that you make will have to done inside of NinjaTrader and then compiled for those changes to take affect.

          It will depend on your preference mostly on what you want to use. Some like the Visual Studios tools, others since they have to save and compile inside of NinjaTrader prefer to use the NinjaScript Editor window.
          JCNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by giulyko00, Yesterday, 12:03 PM
          2 responses
          10 views
          0 likes
          Last Post giulyko00  
          Started by r68cervera, Today, 05:29 AM
          0 responses
          3 views
          0 likes
          Last Post r68cervera  
          Started by geddyisodin, Today, 05:20 AM
          0 responses
          6 views
          0 likes
          Last Post geddyisodin  
          Started by JonesJoker, 04-22-2024, 12:23 PM
          6 responses
          36 views
          0 likes
          Last Post JonesJoker  
          Started by GussJ, 03-04-2020, 03:11 PM
          12 responses
          3,241 views
          0 likes
          Last Post Leafcutter  
          Working...
          X