getting rid of bad ninjascripts experiments - NinjaTrader | futures io social day trading
futures io futures trading


getting rid of bad ninjascripts experiments
Updated: Views / Replies:3,406 / 20
Created: by aquarian1 Attachments:9

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
 9  
 
Thread Tools Search this Thread
 

getting rid of bad ninjascripts experiments

  #1 (permalink)
The fun is in the numbers
Point Roberts, WA, USA
 
Futures Experience: Advanced
Platform: IB and free NT
Broker/Data: IB
Favorite Futures: ES
 
aquarian1's Avatar
 
Posts: 3,234 since Dec 2010
Thanks: 1,163 given, 1,749 received
Forum Reputation: Legendary

getting rid of bad ninjascripts experiments

I'm trying to import a ninjascript and ninja says that I have a custom script with an error that must be resolved before I can. (probably one of my failed attempts to code!) how do I find it and delete it so I can use the import utility again?

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
The fun is in the numbers
Point Roberts, WA, USA
 
Futures Experience: Advanced
Platform: IB and free NT
Broker/Data: IB
Favorite Futures: ES
 
aquarian1's Avatar
 
Posts: 3,234 since Dec 2010
Thanks: 1,163 given, 1,749 received
Forum Reputation: Legendary


message looks like this

Attached Thumbnails
getting rid of bad ninjascripts experiments-1a.jpg  
Reply With Quote
 
  #4 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


aquarian1 View Post
I'm trying to import a ninjascript and ninja says that I have a custom script with an error that must be resolved before I can. (probably one of my failed attempts to code!) how do I find it and delete it so I can use the import utility again?

First step:

Look at your tracefile. You will find it under Own Documents -> NinjaTrader 7 -> trace. Open today's trace file with the editor and read the messages. It will identify the offensive indicator or strategy.

Second step:

Delete the offensive indicators, either from within NinjaTrader or by going to Own Documents -> NinjaTrader -> bin -> Custom -> Indicator

Third Step:

After deleting the offensive files, edit any indicator from within NinjaTrader and compile via F5.

Now you are ready to import your file again.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #5 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,822 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer

One way I discovered by accident instead of trace file was to open an indicator (one that you know is good like EMA) for edit in Ninja Script and compile it without making a change. If you have bad indicators, a listing of errors will be displayed at the bottom with the associated indicator names. Take note of these indicators and delete them per Fat Tails' step2 and 3.

Reply With Quote
The following 2 users say Thank You to aligator for this post:
 
  #6 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


aligator View Post
One way I discovered by accident instead of trace file was to open an indicator (one that you know is good like EMA) for edit in Ninja Script and compile it without making a change. If you have bad indicators, a listing of errors will be displayed at the bottom with the associated indicator names. Take note of these indicators and delete them per Fat Tails' step2 and 3.

That gets you the same messages. You will also find them on the trace file.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #7 (permalink)
The fun is in the numbers
Point Roberts, WA, USA
 
Futures Experience: Advanced
Platform: IB and free NT
Broker/Data: IB
Favorite Futures: ES
 
aquarian1's Avatar
 
Posts: 3,234 since Dec 2010
Thanks: 1,163 given, 1,749 received
Forum Reputation: Legendary

i hate this!! LOL

Thanks guys - but still pulling out my hair!!

I've deleted anything that looks suspicious, all that is left is stuff from 7/12/2010 see attached.

I poured through the trace file -- I can't see it
see attached

(why can't the x&%$# ninja error code specify the name of the bad file?
e.g.
You must delete or fix fid.cs in dir .... before being able to use the import?

Attached Thumbnails
getting rid of bad ninjascripts experiments-2.jpg  
Attached Files
Register to download File Type: txt tracefile.txt (63.8 KB, 11 views)
Register to download File Type: txt ninja log file.txt (10.3 KB, 8 views)
Reply With Quote
 
  #8 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received


aquarian1 View Post
Thanks guys - but still pulling out my hair!!

I've deleted anything that looks suspicious, all that is left is stuff from 7/12/2010 see attached.

I poured through the trace file -- I can't see it
see attached

(why can't the x&%$# ninja error code specify the name of the bad file?
e.g.
You must delete or fix fid.cs in dir .... before being able to use the import?

Hi aquarian1,

same kind of errors might apply to the strategy directory, move to another dir (temporary) all indicators and strategies and check if it works. If yes you will have to check all your indies one by one.

Also, since you are using NT 6.5 check that your script is from that version and not NT7, sometimes they are not compatible.

Reply With Quote
 
  #9 (permalink)
The fun is in the numbers
Point Roberts, WA, USA
 
Futures Experience: Advanced
Platform: IB and free NT
Broker/Data: IB
Favorite Futures: ES
 
aquarian1's Avatar
 
Posts: 3,234 since Dec 2010
Thanks: 1,163 given, 1,749 received
Forum Reputation: Legendary

tried editing and compiling and got this

am I missing an
ADL.cs?
is that the problem

Attached Thumbnails
getting rid of bad ninjascripts experiments-3.jpg  
Reply With Quote
 
  #10 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received



aquarian1 View Post
tried editing and compiling and got this

am I missing an
ADL.cs?
is that the problem

You need to highlight line 63 otherwise your image does not help

Reply With Quote

Reply



futures io > > > > getting rid of bad ninjascripts experiments

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Experiments with Market Profile! vroomy Elite Trading Journals 44 June 4th, 2011 12:15 PM
Why Getting Rid of Useless Regulations May Not Be Easy Quick Summary News and Current Events 0 January 22nd, 2011 10:10 PM
How to get rid of 'superfluous' indicators and be happy trendisyourfriend The Elite Circle 8 December 25th, 2010 03:38 PM
Bad January, Bad First Half: A Gloomy Omen for Stocks Quick Summary News and Current Events 0 July 19th, 2010 05:00 PM
ECO2New - how to get rid of the ECO Diff Text Box Todd NinjaTrader Programming 2 June 17th, 2009 09:05 PM


All times are GMT -4. The time now is 03:30 AM.

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.12 seconds with 38 queries on phoenix via your IP 54.226.132.197