Announcement

Collapse
No announcement yet.

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.

                Comment

                Latest Posts

                Collapse

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