Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Unable to insert CS File

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

    Unable to insert CS File

    Hi all

    I have subscribed a third party indicator.

    Would appreciate all to assist me on how to place in the CS file manually.

    Apparently, the files that were sent by the third party, will automatically installed. However, it does not worked this way for me.

    Once I unzip the files, it mentioned that (This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the default programs control panel)

    I have tried to create an association, which once I clicked onto the CS file, it will auto open Ninja.

    However, no third party indicator has appeared.

    Note: Third Party folder consists of CS file and 2 DLL files.

    I have also tried to troubleshoot it by adding the CS file directly into Doc>Ninjatrader7>bin>Custom>indicator
    Afterwhich, I have tried to edit ninja script, which will appear error and kick me out ninja.

    Greatly appreciated if any guru can assist me please.

    Thank you so much


    Would greatly appreciate any guru can try to help.

    #2
    Hello,

    If the file you downloaded was a .zip file, that would be an importable file. In general you should not need to manually move files to import them.

    To import the zip file, you can use the instructions here: http://ninjatrader.com/support/helpG...nt7/import.htm

    If you have difficulty importing the file, you could email our: platform support [at] ninjatrader[dot]com and include the zip file for me to test.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Originally posted by cureyon View Post
      Once I unzip the files
      ...
      Note: Third Party folder consists of CS file and 2 DLL files.
      Welcome to NinjaTrader!

      Now, stop right there. You're installing that indicator wrong.

      Why am I so bold? How do I know this?

      Because of 2 clues:
      1. You received a .zip file from your indicator provider.
      2. The .zip file contains 2 .dll files.

      The indicator provider (most likely) created the .zip file using
      the 'Export' feature of NinjaTrader.

      The fact that it contains 2 .dll files means the provider is not
      giving out source code, but rather he's giving/selling you the
      compiled version of the indicator.

      These 2 "clues" are the normal expectations and very common.
      (In fact, some people have dozens upon dozens of imported
      indicators. Using a .zip file is the preferred & standard way to
      exchange these things.)

      Ok, so what to do with that .zip file?
      (Sure, you can open it, look inside, but there is nothing to do,
      extracting it yourself is not necessary and greatly complicates
      any kind of 'import-by-hand' approach, which is possible, but not
      recommended. Only experienced developers would do that.)

      Your only job is to 'Import' the .zip file using NinjaTrader.

      NinjaTrader has a special builtin command that will do all this for you.

      Inside Control Center window, goto File -> Utilities -> Import NinjaScript.
      Navigate to where you downloaded the .zip file.
      Select the .zip file and click OK button.

      The .zip file is just a container. NinjaTrader's 'import' feature automatically
      knows what to do with the contents, so it's a very simple process for
      you.

      After the import is successful, you should get a popup message box
      saying so.

      Some parting comments:

      1. After importing anything into NinjaTrader, you should exit NinjaTrader
      and restart it.

      2. If you become an advanced user, and you know you are importing
      a .zip file with source code only, restarting NinjaTrader is not necessary.
      ("Source code only" means the .zip files contains absolutely no .dll files.
      In my experience, restarting NinjaTrader is necessary only when the .zip
      file contains .dll files, since those files have to be added as references.)

      3. With indicators/strategies distributed as DLLs, always remember that
      when you receive an updated .zip file with a newer version, first you must
      remove the previous version
      before importing the updated .zip file. This
      is done via File -> Utilities -> Remove NinjaScript Assembly.

      You'll soon get the hang of it.
      Last edited by bltdavid; 11-04-2016, 11:54 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by DJ888, Today, 10:57 PM
      0 responses
      1 view
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Today, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Working...
      X