Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom strategy importer

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

    Custom strategy importer

    Hi, I have exported my strategy and now I want to import it using .exe file. Do you have some documentation about how to create .exe file from my exported zip or some documentation how you built-in import tool work?

    #2
    Hello Victor_Zelenyi,

    Thank you for the post, and welcome to the NinjaTrader forum.

    To export a script, you go to Tools>Export>NinjaScript assembly. This will package the script into a .zip file with a file hierarchy. To import a script, you go to Tools>Import>NinjaScript assembly and select a .zip file to import. All importing does is place files in the correct folders. Indicators go into ..\Documents\NinjaTrader 8\bin\Custom\Indicators, Strategies go into ..\Documents\NinjaTrader 8\bin\Custom\Strategies, and compiled .dlls go into ..\Documents\NinjaTrader 8\bin\Custom

    Please let me know if I can assist further.

    Comment


      #3
      Thanks for your response.
      As far as i researched and tested, after i import compiled strategy using Tools>Import>NinjaScript assembly and select a .zip file to import, it installs .dll file and .cs file into ..\Documents\NinjaTrader 8\bin\Custom folder.
      So if i wanted to do it manually i only need to copy .cs and .dll files into ..\Documents\NinjaTrader 8\bin\Custom folder, correct?
      Also i have some problem with protecting compiled assembly, after i click on "Protect compiled assembly" in Export tool, it redirect me to documentation, and checkbox remain unchecked, what i need to do?
      Attached Files

      Comment


        #4
        Hello Victor_Zelenyi,

        Thank you for the reply.

        So if I wanted to do it manually I only need to copy .cs and .dll files into ..\Documents\NinjaTrader 8\bin\Custom folder, correct?
        Yes, that is the correct location to place the files for.

        You must have Agile.NET installed to further protect the dll from decompilation. Leaving that option unchecked will still compile the assembly into a dll file.

        Please let me know if I can assist further.

        Comment


          #5
          Thank you for help, it was very useful for me. I have a few questions about vendor license management and how to implement it into my strategy, could you help me with that or do i need to contact [email protected] for this?

          Comment


            #6
            Hello Victor_Zeleny,

            Thank you for the reply.

            For more information on this item, please email info[at]ninjatraderecosystem[dot]com with any questions you have on vendor licensing.

            Please let me know if I can assist further.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            53 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            130 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            70 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            44 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            49 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X