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 RookieTrader, Today, 09:37 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by alifarahani, Today, 09:40 AM
    0 responses
    2 views
    0 likes
    Last Post alifarahani  
    Started by Gerik, Today, 09:40 AM
    0 responses
    1 view
    0 likes
    Last Post Gerik
    by Gerik
     
    Started by KennyK, 05-29-2017, 02:02 AM
    3 responses
    1,282 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by AttiM, 02-14-2024, 05:20 PM
    11 responses
    184 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X