ninja trader object reference not set to an instance - futures io
futures io futures trading



ninja trader object reference not set to an instance


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one kk240 with 2 posts (0 thanks)
    2. looks_two zeller4 with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 MWinfrey with 1 posts (1 thanks)
    1. trending_up 3,488 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

ninja trader object reference not set to an instance

(login for full post details)
  #1 (permalink)
Europe,Nomad
 
 
Posts: 85 since Nov 2010
Thanks: 25 given, 30 received

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.

Reply With Quote

Can you help answer these questions
from other members on futures io?
Automating strategies on multiple charts with same symbol
TradeStation
Short Interest Ratio indicator?
ThinkOrSwim
ZigZag with Depth and Backstep
EasyLanguage Programming
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
OFA (Order Flow Analytics) Licence
NinjaTrader
 
 
(login for full post details)
  #3 (permalink)
Florida
 
Experience: Intermediate
Platform: NT7
Trading: CL, NQ, NG
 
Posts: 469 since Jun 2009
Thanks: 1,401 given, 402 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:
 
(login for full post details)
  #4 (permalink)
Europe,Nomad
 
 
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
 
(login for full post details)
  #5 (permalink)
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
 
MWinfrey's Avatar
 
Posts: 1,880 since Jul 2009
Thanks: 1,450 given, 3,325 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:


futures io Trading Community Platforms and Indicators NinjaTrader > ninja trader object reference not set to an instance


Last Updated on December 29, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 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