NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

Updated
    1. trending_up 3,864 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
ECI Ed
Seminole, FL
 
Posts: 17 since Oct 2011
Thanks Given: 9
Thanks Received: 3

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
Elite Membership required to download: FisherTrans-wDiv.cs
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CME Raises Energy Futures Margins After Iran-War Volatil …
Commodities
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Five Days Until the Gap Dies -- CME Goes 24/7 on All Dig …
Traders Hideout
CFTC Workforce Shrinks 24% to 15-Year Low While Predicti …
Traders Hideout
Prediction Markets Expiry Day: Trump Eyes War Exit, $230 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,405



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?


Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
Thanked by:




Last Updated on August 6, 2013


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts