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.Custom.dll

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

    NinjaTrader.Custom.dll

    what is NinjaTrader.Custom.dll?

    #2
    Hello fingers,

    Thank you for your post.

    The NinjaTrader.Custom.DLL file is part of the assembly for custom NinjaScript files. It automatically re-generates each time the platform is compiled to pick up any changes that were made.

    Please let us know if we may be of further assistance.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      so NinjaTrader.Custom.DLL includes all custom add-ons, indicators, strategies etc.?

      what is the purpose of the Visual Studio project file (NinjaTrader.Custom.csproj) ... this doesn't appear to show custom scripts unless called from NinjaScript editor?

      Last edited by fingers; 12-15-2023, 10:35 AM.

      Comment


        #4
        Originally posted by fingers View Post
        so NinjaTrader.Custom.DLL includes all custom add-ons, indicators, strategies etc.?

        what is the purpose of the Visual Studio project file (NinjaTrader.Custom.csproj) ... this doesn't appear to show custom scripts unless called from NinjaScript editor?
        You can open the NinjaTrader project in Visual Studio by clicking the Visual Studio icon in the toolbar of the NinjaScript Editor. The Solution Explorer will show that you are in NinjaTrader.Custom and custom scripts should be found in their respective folders, such as Indicators and Strategies. Visual Studio may be used as a text editor, though you should never build or run the solution in Visual Studio. You may save the file (Ctrl + S) and if you also have a NinjaScript Editor open at the same time as editing in Visual Studio, every time you save the NinjaScript Editor will trigger a compile of the saved changes.
        For more details on using Visual Studio for debugging (as well as a note about using it as a text editor) please see the help guide page here:


        Please feel free to reach out with any additional questions or concerns.
        Emily C.NinjaTrader Customer Service

        Comment


          #5
          Think about all the folders under bin/Custom/...

          Lots of these folders contain source code,
          both the factory default scripts as well as
          your private custom scripts

          When the NInjaScript compiler compiles a .cs
          file (doesn't matter which folder, whether it be
          Indicator, Strategy, AddOns, BarTypes, etc)
          every single .cs file will be recompiled -- the
          idea is that you compile one file but actually
          under the hood NT recompiles all files.

          All that source code found under bin/Custom
          goes into NinjaTrader.Custom.dll

          That's why every time you recompile, all .cs
          files are re-compiled and NinjaTrader.Custom.dll
          is re-created every compile.

          Thus,
          where are the EMA and SMA indicators located?
          where are all the bartypes located?
          where are all the drawing tools?
          all of these, including any of your own source
          codes or downloaded source codes, they all get
          compiled into the NinjaTrader.Custom.dll assembly.

          In summary:
          All code under 'Custom' folder hierarchy gets
          compiled into the 'Custom' assembly.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by abandonedBaby, 06-12-2024, 12:08 PM
          5 responses
          22 views
          0 likes
          Last Post abandonedBaby  
          Started by AaronKoRn, Today, 08:44 PM
          0 responses
          6 views
          0 likes
          Last Post AaronKoRn  
          Started by trader252, Today, 08:32 PM
          0 responses
          5 views
          0 likes
          Last Post trader252  
          Started by Randy Hotcakes, Today, 08:10 PM
          0 responses
          7 views
          0 likes
          Last Post Randy Hotcakes  
          Started by joseph323, Today, 07:05 PM
          0 responses
          6 views
          0 likes
          Last Post joseph323  
          Working...
          X