Importing a .cs - file indicator / strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


Importing a .cs - file indicator / strategy
Updated: Views / Replies:27,746 / 39
Created: by max-td Attachments:4

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 4  
 
Thread Tools Search this Thread
 

Importing a .cs - file indicator / strategy

  #21 (permalink)
Elite Member
Vancouver
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL GC
 
Posts: 43 since Oct 2010
Thanks: 24 given, 46 received

no ninja editor

I have Ninja 7; license from Mirus and there is no Tools/Edit Ninjascript available. Ninja support tells me it is a stripped down version.

When I copy the cs file to the indicator directory and attempt to import a zip file it gives the error message "You have custom NinjaScript files on you PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive File."

Importing a zip file is fine.

Is there any other way to force a compile?

Reply With Quote
 
  #22 (permalink)
Elite Member
Daytona Beach
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: ES
 
Posts: 54 since May 2010
Thanks: 2 given, 100 received

trader8888,

I had the same problem. Ask Ninja for a Sim Key. Use it to access the Ninja Script Editor and debug your script. Then switch back to your other Key. They say you need to restart Ninja when changing keys, but I haven't found that necessary.

ghoti

Reply With Quote
The following 2 users say Thank You to ghoti for this post:
 
  #23 (permalink)
Elite Member
Vancouver
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL GC
 
Posts: 43 since Oct 2010
Thanks: 24 given, 46 received

Sim key works



ghoti View Post
trader8888,

I had the same problem. Ask Ninja for a Sim Key. Use it to access the Ninja Script Editor and debug your script. Then switch back to your other Key. They say you need to restart Ninja when changing keys, but I haven't found that necessary.

ghoti

Sim key gets me the Ninja editor

Thanks for the solution

Reply With Quote
 
  #24 (permalink)
Elite Member
Santa Clara, CA
 
Futures Experience: Intermediate
Platform: NT, TS
Broker/Data: TS
Favorite Futures: Guitar, but sax is cool too
 
Posts: 18 since Jul 2010
Thanks: 13 given, 16 received

csv file

I have a .csv file that I want to Import to NT 7, but its not an indicator or strategy; its VIX dataseries from CBOE. Will this procedure work for .csv files and if so, can I somehow upload as historical data?

G&M

Reply With Quote
 
  #25 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,229 received


gunsnmoney View Post
I have a .csv file that I want to Import to NT 7, but its not an indicator or strategy; its VIX dataseries from CBOE. Will this procedure work for .csv files and if so, can I somehow upload as historical data?

G&M

Please create a new thread, as this is an entirely different subject and off-topic for this thread. Then someone can help you.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #26 (permalink)
Elite Member
Phoenix, Arizona
 
Futures Experience: Advanced
Platform: TOS, Ninja Trader
Favorite Futures: futues
 
Posts: 7 since Dec 2011
Thanks: 1 given, 3 received

Workaround - No Tools/Edit Ninjascript w/error message

Ok; us newbies to NT (but not trading) try out everything like brokers, indicators, modifications, lame coding efforts, etc. And then, of course, some form of corruption infects our otherwise good working NT, even if the strippeddown "free" version from AMP Trading, i.e., no internal NT Script Editor. Oh wow is me!! Hark. to get back to functionality there are workarounds - the short and the long of course. For the short, try this. Think if you could only find the offending indicator or component thereof and delete it, then at least you are back to fullfunctionality for importing zip's without error messages. So how do you do it?
1. Creat several empty folders on on your desktop - with sequentional names of course, e.g., NewFolder1, New Folder2, etc.
2. Open two Windows Explorer (I like the old name "File Manager" better). The first shall be your location of your My Documents Folder where Ninja Trader 7 is located, in Win 7 -- to c:\... whatever it takes for you to get there...\My Documents\Ninja Trader 7\bin\Custom\Indicator.
3. Sort by name all of the Indicators. Please note that many of them havea first letter/character of the @ symbol. Sort them so that all of the ampersands are at the top.
4. Open the second Windows Explorer to the empty New Folder1 on the Desktop.
5. Put the two open WE views side by side. Copy all of the indicators that do not have an @ to the empty New Folder1. Make sure you got it right, count them. Then delete just thos indicators from the homebase for them in the other open WE. So that all you have left in the homebase is the indicators with the @ for the first letter/symbol.
6. Open NT Control Panel\Options\Import Ninja Script, and see what happens - it Works Again!!!!
By now you have figured out that the OFFENDING indicator is one of the non @ items, and it is hiding from you in New Folder1. So the obvious thing to do, using your own skillful logic and mastery of concentration is come up with a strategy of putting a few back at a time from New Folder1 to the Home base, and keep trying the import until you find the evil one, or two, or more. You ask why have more than one New Folder - cause you will need some dumping places for your testing strategy - for bad ones and good ones - in different folders of course.

As long as it took to say all of this - it is the "short" path to renewed functionality, not to mention identification of "bad" indicators.

The long way is to download the FREE Microsoft Visual C# 2010 Express, learn how to use it, learn how to code NT Indicator Scripts, and go about your business. I infer without seeing it, that the NT Script Editor is a knock off of that free program suite from Microsoft or one of its predecessors, or a variant of same. I trust that those more knowledgeable than I will comment on same if it is important.

Good luck - I Love Indicators more than ______...._______..........! Best Larry

Reply With Quote
 
  #27 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


jldpc View Post
Ok; us newbies to NT (but not trading) try out everything like brokers, indicators, modifications, lame coding efforts, etc. And then, of course, some form of corruption infects our otherwise good working NT, even if the strippeddown "free" version from AMP Trading, i.e., no internal NT Script Editor. Oh wow is me!! Hark. to get back to functionality there are workarounds - the short and the long of course. For the short, try this. Think if you could only find the offending indicator or component thereof and delete it, then at least you are back to fullfunctionality for importing zip's without error messages. So how do you do it?
1. Creat several empty folders on on your desktop - with sequentional names of course, e.g., NewFolder1, New Folder2, etc.
2. Open two Windows Explorer (I like the old name "File Manager" better). The first shall be your location of your My Documents Folder where Ninja Trader 7 is located, in Win 7 -- to c:\... whatever it takes for you to get there...\My Documents\Ninja Trader 7\bin\Custom\Indicator.
3. Sort by name all of the Indicators. Please note that many of them havea first letter/character of the @ symbol. Sort them so that all of the ampersands are at the top.
4. Open the second Windows Explorer to the empty New Folder1 on the Desktop.
5. Put the two open WE views side by side. Copy all of the indicators that do not have an @ to the empty New Folder1. Make sure you got it right, count them. Then delete just thos indicators from the homebase for them in the other open WE. So that all you have left in the homebase is the indicators with the @ for the first letter/symbol.
6. Open NT Control Panel\Options\Import Ninja Script, and see what happens - it Works Again!!!!
By now you have figured out that the OFFENDING indicator is one of the non @ items, and it is hiding from you in New Folder1. So the obvious thing to do, using your own skillful logic and mastery of concentration is come up with a strategy of putting a few back at a time from New Folder1 to the Home base, and keep trying the import until you find the evil one, or two, or more. You ask why have more than one New Folder - cause you will need some dumping places for your testing strategy - for bad ones and good ones - in different folders of course.

As long as it took to say all of this - it is the "short" path to renewed functionality, not to mention identification of "bad" indicators.

The long way is to download the FREE Microsoft Visual C# 2010 Express, learn how to use it, learn how to code NT Indicator Scripts, and go about your business. I infer without seeing it, that the NT Script Editor is a knock off of that free program suite from Microsoft or one of its predecessors, or a variant of same. I trust that those more knowledgeable than I will comment on same if it is important.

Good luck - I Love Indicators more than ______...._______..........! Best Larry

Lots of words.

(1) With the regular NinjaTrader version no problem: Just edit an indicator and compile. The error log below shows you all offensive indicators. Remove those from My Documents / NinjaTrader 7/ bin / Custom/ Indicator.

(2) With the stripped down version, if you cannot edit indicators, then it is more subtle. The log and trace file will not show an error message, if the import failed. Now Sherlock Holmes would think about how those corrupted files arrived in that directory. Maybe you had copied them there. In that case you should

- sort the indicator files in your directory by date, and you will find the candidates that may have caused the offensive behavior
- make it a habit to test all files which you download and copy into your indicator directories

(3) You can also download the free simulation edition of NinjaTrader, which allows you to edit all indicators. Use it to check that directory. Possible that you need to install on a separate machine, I do not know whether the two versions can be installed in parallel.

Reply With Quote
 
  #28 (permalink)
Elite Member
Peterborough, ON
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: futures
 
gibips's Avatar
 
Posts: 16 since Dec 2010
Thanks: 13 given, 5 received


RJay View Post
Hi max-td,

Personally, I just copy the cs file to the appropriate folder.

Then I re-import the zip file of some indicator I don't care about.

This triggers an intellisense reload of all cs files.

The copied cs file is now selectable from the charts menu.

Done!!!

RJay


RJay, Thanks for that method. Quick and easy.

Reply With Quote
 
  #29 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: Ninja Trader
Broker/Data: Zen Fire
Favorite Futures: ES 6E ZB YM
 
Alinghy's Avatar
 
Posts: 332 since Sep 2009
Thanks: 257 given, 59 received

Import a .cs file in Ninja Trader 7.xxx

Hi All,

Please apologies for my next question but I can't import for some reason the following

.cs file that I got in the Elite session to the following path

https://futures.io/download/vip_elite_circle/1194-download.html?view

I tried several suggestions I found here but no success, I simply got the previous mentioned error message

I also opened the .cs file into the Ninja editor and changed the name but without result, almost I think to have performed the right way ...

could you please give me the detailed way on how to proceed ?

Thanks in advance and best regards

A.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

What Life is ?
Only two things are infinite: universe and human stupidity, about the first one I am not so sure ... (A. Einstein)

Last edited by Alinghy; June 6th, 2013 at 08:07 AM.
Reply With Quote
 
  #30 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: Ninja Trader
Broker/Data: Zen Fire
Favorite Futures: ES 6E ZB YM
 
Alinghy's Avatar
 
Posts: 332 since Sep 2009
Thanks: 257 given, 59 received


No one available to give me a small help ???

Sorry

A.

What Life is ?
Only two things are infinite: universe and human stupidity, about the first one I am not so sure ... (A. Einstein)
Reply With Quote

Reply



futures io > > > > > Importing a .cs - file indicator / strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Zip file please (_Lin_Reg_Rev_Paint_v01.cs) tickvix NinjaTrader 5 March 29th, 2011 11:03 AM
downloading & importing .cs and .xml files hector24 NinjaTrader 3 March 8th, 2011 04:05 AM
Importing data as .txt file in Multicharts arjfca The Elite Circle 2 January 31st, 2011 07:15 PM
How to change a .cs file into NinjaTrader 7 zip micdup NinjaTrader 15 January 7th, 2011 08:57 PM
CS file greatsky NinjaTrader 6 December 23rd, 2010 11:27 AM


All times are GMT -4. The time now is 08:54 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-13 in 0.17 seconds with 20 queries on phoenix via your IP 54.160.245.121