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 WeyldFalcon, Today, 02:07 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ThomasC  
    Started by hfwiley, Today, 03:02 PM
    2 responses
    16 views
    0 likes
    Last Post hfwiley
    by hfwiley
     
    Started by pdennis, Today, 02:34 PM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by tonynt, Today, 01:47 PM
    3 responses
    17 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by WesFoster, Today, 12:39 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Dennis  
    Working...
    X