Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

:Licensing existing Modified Indicators

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

    :Licensing existing Modified Indicators

    Hello,

    I am looking to license some indicators i have customized with proprietary numbers and functions.

    As an example

    EMA.cs

    I want to change the default numbers to my own and allow people to temporarily try them out as a trial period.

    How can i use the license code given from Agile.NET software with EMA.cs?

    Agile.NET code given was this

    using System;
    using System.ComponentModel;
    using AgileDotNet.Licensing;

    namespace SecuredNamespace
    {
    [LicenseProvider(typeof(AgileDotNetLicenseProvider) )]
    public class SecuredComponent
    {
    public SecuredComponent()
    {
    license = LicenseManager.Validate(this.GetType(), this) as AgileDotNetLicense;
    }

    public SecuredComponent(string licenseContent)
    {
    AgileDotNetLicense license = AgileDotNetLicenseProvider.CreateLicenseFromString (licenseContent);
    license.Save("MyLic");

    license = LicenseManager.Validate(this.GetType(), this) as AgileDotNetLicense;
    }

    public void ExecuteProtectedMethod()
    {
    if (license.IsTrial)
    {
    // Add your code here
    }
    else
    {
    // Add your code here
    }
    }

    private AgileDotNetLicense license;

    }
    }

    #2
    Hello amilanoski,

    Thank you for your post.

    While we can provide support on using AgileDotNet through the Tools > Export > NinjaScript function we would not support directly interfacing with the AgileDotNet licensing. Please reach out to AgileDotNet for assistance with their product outside the function of exporting protected assemblies in NinjaTrader 8.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Rocket, Yesterday, 06:03 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by newton1, Yesterday, 09:54 AM
    2 responses
    62 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by SuperDude123, Yesterday, 08:31 AM
    3 responses
    101 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by jeliner, Yesterday, 12:58 AM
    1 response
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by ezrollin, Yesterday, 12:29 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X