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 sugalt, 04-30-2024, 04:02 AM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Started by Trader146, 03-29-2024, 01:22 PM
    5 responses
    28 views
    0 likes
    Last Post NinjaTrader_RyanS  
    Started by tkaboris, Today, 08:32 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    178 responses
    2,409 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by betsuni_123, Yesterday, 04:20 PM
    4 responses
    23 views
    0 likes
    Last Post betsuni_123  
    Working...
    X