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 algospoke, Yesterday, 06:40 PM
    2 responses
    19 views
    0 likes
    Last Post algospoke  
    Started by ghoul, Today, 06:02 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by jeronymite, 04-12-2024, 04:26 PM
    3 responses
    45 views
    0 likes
    Last Post jeronymite  
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    20 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    180 views
    0 likes
    Last Post jeronymite  
    Working...
    X