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




 
Search this Thread

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

  #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?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Footprint for strategy Builder
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
49 thanks
Just another trading journal: PA, Wyckoff & Trends
21 thanks
Trading with Intuition
18 thanks
Self sabotage reframed
15 thanks
GFIs1 1 DAX trade per day journal
9 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,401



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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts