Jump to content

Tas suite indicators


ibandrew88

Recommended Posts

Guest David1713006337

Process for importing an indicator into NinjaTrader:

 

Open any custom indicator with Tools > edit NinjaScript and press F5, see if there are any errors, before trying to import any new indicator.

 

There are 3 ways to "load" a new (or updated) indicator.

 

1. Use the import utility (does not always work for a bunch of reasons)

2. Create a new indicator and paste the XYZ.cs file into it from notepad

3. Open an existing indicator (with the same name ) and paste over it, again from notepad.

 

Using the built-in NinjaTrader Import Utility

 

* Save the NinjaTrader zip archive somewhere accessible, like on your Desktop.

* Load NinaTrader Control Center. Go to File - Import.

* Select the zip file and press OK. Remember, don't unzip the file.

* If it works, you'll get an OK message and the indicator will now be in your available indicators list.

 

Import an indicator brute force: (if the normal way doesn't work)

Sometimes brute force is needed to get around NinjaTrader problems.

 

* Open the indicator zip file manually and click on the file name, then indicator & finally open the indicator XYZ.cs file in Notepad.

* In NT create a new indicator Tools > New NinjaScript > Indicator, with the name you find in the .cs file

* In notepad select all. In the newly created indicator file select all, delete everything in the newly created indicator and paste the notepad code in its place. Press the F5, key see if you get any errors. IF NO you are done.

* Sometimes there are called indicators: like @EMA, @MACD @StdDev - the @ means they are built into NinjaTrader. So you can skip this step (no need to import these).

* If the indicator calls other custom indicators they would have to be added to the indicator directory by pasting into MyDocuments>NinjaTrader(6.5 or 7, whatever you have)>bin >Custom>Indicator. Then F5 again and it should work.

 

Resolving import errors by looking at the trace file

After using the brute force method, hit F5 and you will know if it worked, as there are no errors. If you do get errors, try to remove the conflicting indicator. Can be done using the trace file.

 

* Just go to OwnDocuments -> NínjaTrader (7) -> trace, and open the trace file of today with the text editor. Read the tracefile and it will tell you, which was the offensive indicator.

* Start Ninjatrader, then edit the offensive indicator and delete it. Problem should be solved now.

* Always make a backup copy before you delete something. Back it up somewhere else, it can't stay in the Indicators directory or NinjaTrader will try to load it again.

 

 

It should work, but sometimes it does not then you need to do it by hand. It can be a lot of work. As you have to do it for each XYZ.cs you want to add.

 

I hope this helps

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
  • 3 months later...
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...