Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Force License check before onBarUpdate

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

    Force License check before onBarUpdate

    I am developing indicator for my friend. He wants to control the usage of it using NT license and he worked with NT support team , got the approval. Now I have to add the code to force license check before even my indicator start drawing anything . I used below code for force check. But it is not prompting for license key / no alert and continue drawing object. I expected this to be terminated / prompt for license after checking license . Kindly review below and share your input.

    Code:
    [I][removed by NinjaTrader staff][/I]
    
    private bool verify(){
       return true;
    }
    Last edited by NinjaTrader_Jim; 09-14-2021, 06:49 AM. Reason: removed Vendor Licensing related code

    #2
    Hello nandhumca,

    Thanks for your post.

    Please be sure to review the Vendor Licensing Help Guide provided by Vendor Support and Business Development for an example script and further direction for setting up the licensing code.

    Beyond the Vendor Licensing Help Guide, if you need additional help on applying the code specifically, please reach out to scriptingsupport [at] ninjatrader [dot] com to discuss using the Vendor Licensing code. Vendorsupport [at] ninjatrader [dot com] can help with setting up licenses after the code is applied. (We have removed the Vendor License related code from your post.)

    I am not sure the intentions of the included verify() method, it simply will return true whenever you call it.

    We look forward to assisting.


    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
    559 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X