Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add trial to code

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

    Add trial to code

    Hello, I realized a simple ninjatrader indicator.now I'm having fun to edit the source code.
    If I wanted to add a trial mode (for example 3 days) , is it possible?
    Thanks

    #2
    Hello pioilbello,

    Thanks for your post.

    I'm not sure I understand what you are asking.

    Are you asking how to add code to your indicator to allow someone else to use it for 3 days?

    Are you asking how to extend your live data trial?

    Comment


      #3
      I'm asking how to add code to my indicator to allow someone eslse to use it for 3 days

      Comment


        #4
        Hello pioilbello,

        Thanks for your clarification.

        Please see this forum thread on the same topic: https://ninjatrader.com/support/foru...ad.php?t=50356

        Comment


          #5
          I read the topic, but It is not simple. When I export my indicator to assembly , this is the error:


          My indicator is composed of 3 .cs files. No dll
          Last edited by pioilbello; 10-02-2017, 06:30 AM.

          Comment


            #6
            Hello pioilbello,

            Thanks for your reply.

            Can you compile your indicator without errors?

            If you cannot, or if there are any error generated, these would need to be resolved before exporting can occur. Reference: https://ninjatrader.com/support/help...t_problems.htm

            Comment


              #7
              Yes, I compile my indicator without errors

              Comment


                #8
                Hello pioilbello,

                Thanks for your reply.

                With reference to my prior post, in the helpguide link, review the .Net Referencing section.

                You will need to manually add the TEMA indicator in the same way as the helpguide example shows adding the @SMA. First, select "System Indicators" then > @TEMA.

                Comment


                  #9
                  Now the error is:
                  Error in export process: C:\Program Files (x86)\SecureTeam\\CliSecure.Console.exe
                  I have installed agile.net but this directory din't exit
                  Last edited by pioilbello; 10-02-2017, 07:34 AM.

                  Comment


                    #10
                    Hello pioilbello,

                    Thanks for your reply.

                    Have you installed the CLI/secure software?
                    Reference: https://ninjatrader.com/support/help...l_security.htm

                    Comment


                      #11
                      Ok, I exported it as zip file.Now How can I open it with clisecure? It don't open zip file.
                      It open only cls file

                      Comment


                        #12
                        Hello pioilbello,

                        Thanks for your reply.

                        To export as a protected assembly you will need to check the box, "export as compiled assembly", reference: https://ninjatrader.com/support/help...l_security.htm

                        Comment


                          #13
                          If I export as a protected assembly, it is always a zip file.How can I open it with clisecure?

                          Comment


                            #14
                            Hello pioilbello,

                            Thanks for your reply.

                            That is correct, it will be exported as a zipped file containing the DLL and the obfuscated code. At this point you could import to use the indicator in the DLL.

                            Comment


                              #15
                              I exctract the ,dll from the zip file, then I open it with clisecure. I add .dll file. select "licensing-Trial" then build, and the dll is changed. Them I put the changed dll file into the original zip?

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              571 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              331 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              101 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              549 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              549 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X