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

Vendor licensing for BarTypes

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

    Vendor licensing for BarTypes

    Hi:

    I tried adding same code provided for Indicators at the constructor of a custom BarType I developed. As in the sample provided by NinjaTrader to vendors. Problem is, it only has example of adding to an indicator but for other types of extensions is not provided. For instance ChartStyles, AddOn... Doing this results that even adding that code to the constructor shows the warning code for unlicensed, but it is letting me use the unlicensed BarType. What would be the correct procedure?

    Regards

    #2
    Hello waldoalvarez,

    If the vendor license check is in the constructor, I would not expect a bar type script, or any script, to be able to be used without a license.

    May I confirm that the vendor license check is in the constructor?

    May I confirm that your computer is not licensed for the script?

    Can you remove your custom logic and provide an export of a simple test script that is able to demonstrate the issue?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      is not the case it goes here?
      OnStateChange{
      protected override void OnStateChange()
      {
      if (State == State.SetDefaults){}
      else if (State == State.Configure)
      {
      VendorLicense("Vendor", "Module", "website", "support@vendor");
      }

      MicroTrends
      NinjaTrader Ecosystem Vendor - micro-trends.co.uk

      Comment


        #4
        Hello MicroTrends,

        No, the vendor license call does not go in OnStateChange() it goes in the constructor. If it is in OnStateChange() the script can be constructed without a license.

        Please let me know if you need the vendor license manual which has sample code.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thanks. Maybe I had something cached. I am gonna give it a try in a clean ninjatrader install.

          Comment


            #6
            Hello Chelsea:

            Can you please give me the manual with sample code. I need to release something else and would be great to see documentation.

            Regards

            Comment


              #7
              I was reading the files I found in my email, unfortunately I don't see the way to license an AddON.

              Comment


                #8
                Hello Waldo,

                Chelsea is out of the office at this time.

                Since we are corresponding over email, please follow up with me there.
                JimNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by cre8able, Today, 01:01 PM
                0 responses
                2 views
                0 likes
                Last Post cre8able  
                Started by manitshah915, Today, 12:59 PM
                0 responses
                2 views
                0 likes
                Last Post manitshah915  
                Started by ursavent, Today, 12:54 PM
                0 responses
                3 views
                0 likes
                Last Post ursavent  
                Started by Mizzouman1, Today, 07:35 AM
                3 responses
                17 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by RubenCazorla, Today, 09:07 AM
                2 responses
                13 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Working...
                X