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 bmartz, 03-12-2024, 06:12 AM
    4 responses
    31 views
    0 likes
    Last Post bmartz
    by bmartz
     
    Started by Aviram Y, Today, 05:29 AM
    4 responses
    12 views
    0 likes
    Last Post Aviram Y  
    Started by algospoke, 04-17-2024, 06:40 PM
    3 responses
    28 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by gentlebenthebear, Today, 01:30 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by cls71, Today, 04:45 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X