• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add-On C# programming vs NinjaScript Editor

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

    Add-On C# programming vs NinjaScript Editor

    I got a few questions:
    1. Is the syntax the same coding using dll (add-on) vs NinjaScript Editor. Or, would we use purely C# syntax in dll coding.
    2. If the code is written in NinjaScript Editor, can we still lease our strategy in the add-on market (provided we are a vendor) and protect the code using Agile.Net or what method is available for NinjaScript Editor strategy?
    3. We want to be able to scan thousands of stocks every fifteen minutes for potential trade signals. Any suggestions?
    4. During the scan, if there is a trade signal, how can we send an email, push notification, or text alert?

    #2
    Hello dowindicator,

    NinjaScripts are written in C#. These should be created through the NinjaScript editor and can be further edited using the NinjaScript editor or a 3rd party editor such as Visual Studio.

    You can then export your code as an assembly (.dll) to prevent this code from being read or modified, and optionally you can use Agile.NET to prevent the code from being un-assembled (deobfuscated).
    To export your script do the following:
    1. Click Tools -> Export -> NinjaScript
    2. Click the 'add' link -> check the box(es) for the script(s) you want to include -> click OK
    3. Check the option labelled Export as compiled assembly
    4. If you have Agile.NET installed and would like to use this, check the box labelled Protect compiled assembly
    5. Click Export -> enter a unique name for the file in the Dialog window
    6. Choose a save location -> click Save
    7. Click OK to clear the export location message
    By default your exported file will be in the following location:
    • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
    Below is a link to the help guide on Exporting NinjaScripts.
    http://ninjatrader.com/support/helpG...-us/export.htm

    Below is a link to the help guide on Agile.NET protection.
    http://ninjatrader.com/support/helpG...l_security.htm

    You can purchase Agile.NET here.
    http://secureteam.net/Agile-for-NT-Pricing.aspx

    If you would like to become a 3rd party developer for NinjaTrader please see our Vendor Licensing Management information.
    http://ninjatrader.com/support/helpG...entication.htm



    You will need to find a data provider that allows for thousands of simultaneous symbols.

    Below is a link to the NinjaTrader 8 help guide on Data by provider which shows the supported connection technologies and the types of data these connections support.
    http://ninjatrader.com/support/helpG...y_provider.htm

    The Market Analyzer is good for running an Indicator or Market Analyzer Column script on many symbols.
    https://ninjatrader.com/support/help...t_analyzer.htm
    https://youtu.be/sCT-kQk7Vog

    Below is a link to a forum post with information about setting up share services.
    https://ninjatrader.com/support/foru...546#post792546
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by futurestrader7, Today, 11:31 AM
    0 responses
    3 views
    0 likes
    Last Post futurestrader7  
    Started by Teebone21, Today, 10:38 AM
    0 responses
    6 views
    0 likes
    Last Post Teebone21  
    Started by J_o_s, 03-30-2020, 12:29 AM
    2 responses
    16 views
    0 likes
    Last Post J_o_s
    by J_o_s
     
    Started by ptpatrader, Today, 10:27 AM
    0 responses
    5 views
    0 likes
    Last Post ptpatrader  
    Started by albertokeira, Today, 09:30 AM
    0 responses
    8 views
    0 likes
    Last Post albertokeira  
    Working...
    X