Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Share a Strategy without code source

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

    Share a Strategy without code source

    Hello, I created a strategy that I want to share with several people but I want to share it without access to the source code, is it possible to do this? Thanks

    #2
    Hello snoussi,

    You can export the items as a compiled assembly to hide the code. That is generally fine for small distribution, for example you have a few friends or clients that you wanted to give the item without the code and they will not share the file themselves. If you plan to sell or distribute the item publically you may want to also look into additional code protection by using agile.net. There is a link below which describes the export and protection:

    Code:
    https://ninjatrader.com/support/helpGuides/nt8/index.html?export.htm#ExportingninjascriptAsAssembly
    https://ninjatrader.com/support/help...riptAsAssembly
    Last edited by NinjaTrader_Jesse; 08-03-2023, 02:47 PM.

    Comment


      #3
      Perfect !
      thank you very much for the quick reply, i will look into that!
      Another question please, I want to sell this strategy as a subscription i.e. the client will pay a subscription and will have access to the strategy as long as his subscription is active, is it possible to create a TOKEN for the strategy, so that if the client does not pay, I can delete the TOKEN and at the same time the strategy will no longer be available? thanks again​

      Comment


        #4
        Also the link that you sent does not exist, I have this message : Page Not Found

        Comment


          #5
          Hello snoussi,

          If you are having trouble with clicking the link you can right click the link and copy the address and paste it into the browser as well

          I would suggest looking at the following page for licensing information. We cannot make suggestions on custom external licensing, that would be up to you and your design. You can use the built in vendor licensing system for what you are asking but that requires becoming a vendor.

          Code:
          https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?commercial_distribution.htm
          https://ninjatrader.com/support/help...stribution.htm
          Last edited by NinjaTrader_Jesse; 08-03-2023, 02:47 PM.

          Comment


            #6
            It's very clear!
            Thank you very much for your time and I wish you a great day​

            Comment


              #7
              Hello,
              I have a question regarding the VendorLicense() variable, can it affect the outcome of a strategy?
              Because I made exactly the same script, one without the variable and the other with the variable that I shared with clients, but I notice that we do not have the same entries at all, while the code is exactly the same.

              thank you for your reply​

              Comment


                #8
                Hello snoussi,

                The vendor licensing system is used to authenticate scripts, that would only allow or disallow a strategy from being used based on the vendor license.

                If you have different entries you would have to add debugging to your code to see why that is, the vendor licensing would not have an effect on that.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by NullPointStrategies, Today, 05:17 AM
                0 responses
                48 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                126 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                66 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                42 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                46 views
                0 likes
                Last Post TheRealMorford  
                Working...
                X