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 CarlTrading, 03-31-2026, 09:41 PM
                1 response
                43 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                20 views
                0 likes
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                30 views
                1 like
                Last Post CaptainJack  
                Started by CarlTrading, 03-30-2026, 11:51 AM
                0 responses
                47 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 03-30-2026, 11:48 AM
                0 responses
                38 views
                0 likes
                Last Post CarlTrading  
                Working...
                X