OnBarUpdate Error Object reference not set to an instance of an object - futures io
futures io



OnBarUpdate Error Object reference not set to an instance of an object


Discussion in NinjaTrader

Updated
    1. trending_up 2,174 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 1 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
 

OnBarUpdate Error Object reference not set to an instance of an object

(login for full post details)
  #1 (permalink)
ECI Ed
Seminole, FL
 
 
Posts: 17 since Oct 2011
Thanks: 9 given, 2 received

In the attached indicator I'm getting the subject error message. Any idea on what could be causing this and how to fix it?

Attached Files
Register to download File Type: cs FisherTrans-wDiv.cs (19.1 KB, 32 views)
Reply With Quote

Can you help answer these questions
from other members on futures io?
For the experts of Metastock
Platforms and Indicators
TD Sequential for NT or MW?
Platforms and Indicators
Experience with AGN (Introducing Broker)
Brokers
Eurex Denali vs dxFeed
Sierra Chart
TradingView help in improving Anchored Vwap
Platforms and Indicators
 
 
(login for full post details)
  #3 (permalink)
 Tasker_182 
Cedar Rapids, iowa
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Trading: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 593 since Aug 2009
Thanks: 431 given, 1,144 received



ECI Ed View Post
In the attached indicator I'm getting the subject error message. Any idea on what could be causing this and how to fix it?

You need to add this to the initialize section:

tmpSeries = new DataSeries (this) ;

TmpSeries was not initialized causing the error message.

Also "Count" was not declared in the variable section.

That is one weird looking indicator, care to share what it does and how it is used?

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote
The following 2 users say Thank You to Tasker_182 for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > OnBarUpdate Error Object reference not set to an instance of an object


Last Updated on August 6, 2013


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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