ninja trader object reference not set to an instance - NinjaTrader Programming | futures io social day trading
futures io futures trading


ninja trader object reference not set to an instance
Updated: Views / Replies:2,137 / 4
Created: by kk240 Attachments:0

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

ninja trader object reference not set to an instance

  #1 (permalink)
Trading for Fun
Europe,Nomad
 
Futures Experience: Intermediate
Platform: Ninja,Jforex,MT4
Broker/Data: DukasCopy,AMP,Alpari,TickMill
Favorite Futures: ES,YM
 
Posts: 85 since Nov 2010
Thanks: 25 given, 30 received

ninja trader object reference not set to an instance

How You solve ninja,object reference not set to an instance. Error. this happening during initialiazation of strategy

This is really wierd problem, yesterday everything was working well, and today started showing this ninja trader object reference not set to an instance message in log file.

Is in ninja some sort of code cache, and if how i can clear it.

I had backup copy, and still showing message, and also have "prototype" and that also not work.
Could'nt made any stupid changes to three different version,
I removed some indicators what i installed yesterday, no cure.

This is harakiri using this software, if you just chart max 5 charts, and not trade using ninja its ok, but if you start developing startegy or backtesting it is sepuku.

During four years journey with ninja, its so near end, so many problems.


Last edited by kk240; December 29th, 2010 at 09:43 AM.
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)
Elite Member
Florida
 
Futures Experience: Intermediate
Platform: NT7
Favorite Futures: CL, NQ, NG
 
Posts: 456 since Jun 2009
Thanks: 1,359 given, 383 received


Not sure how many error situations this covers, but my experience is that this occurs when you have a DataSeries or BoolSeries that's declared in Variables but not in the Initialize section.
If you still can't get it to compile, post the code.
hth

Reply With Quote
The following user says Thank You to zeller4 for this post:
 
  #4 (permalink)
Trading for Fun
Europe,Nomad
 
Futures Experience: Intermediate
Platform: Ninja,Jforex,MT4
Broker/Data: DukasCopy,AMP,Alpari,TickMill
Favorite Futures: ES,YM
 
Posts: 85 since Nov 2010
Thanks: 25 given, 30 received


zeller4 View Post
Not sure how many error situations this covers, but my experience is that this occurs when you have a DataSeries or BoolSeries that's declared in Variables but not in the Initialize section.
If you still can't get it to compile, post the code.
hth

Thanks for reply, and help It was this case, i think that happen usually 6.5 --> conversion.

I found some workaround, bandage, I will write here when I find permanent solution. Thank
and folks who read this question, this is not anymore active profblem for while.
regards

Reply With Quote
 
  #5 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


kk240 View Post
Thanks for reply, and help It was this case, i think that happen usually 6.5 --> conversion.

I found some workaround, bandage, I will write here when I find permanent solution. Thank
and folks who read this question, this is not anymore active profblem for while.
regards


If the problem is truly what zeller4 suggested relating to a dataseries, then the problem isn't conversion from 6.5 to 7. For every dataseries you define as a variable you MUST have a corresponding entry in the Initialize() method. As zeller4 mentioned, not having the entry in Initialize() method will result in the error you described.

So, there is NO workaround. That's just a fact of programming.

Reply With Quote
The following user says Thank You to MWinfrey for this post:

Reply



futures io > > > > > ninja trader object reference not set to an instance

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
Error: Object reference not set to an instance of an object. gomad NinjaTrader Programming 11 December 22nd, 2014 09:09 AM
need help :: cant fix :: Object reference not set to an instance of an object Trader.Jon NinjaTrader Programming 9 November 3rd, 2010 11:55 AM
Object reference not set to an instance... dsraider NinjaTrader Programming 5 July 30th, 2010 09:17 AM
EasyLanguage Object Reference philloo TradeStation 2 June 18th, 2010 03:56 AM
How to set values that Ninja Trader does not support. CryptOrchid NinjaTrader Programming 7 May 14th, 2010 10:51 AM


All times are GMT -4. The time now is 02:12 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-11 in 0.09 seconds with 19 queries on phoenix via your IP 54.226.34.209