OnStart Error - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

OnStart Error
Started:June 13th, 2016 (09:22 PM) by Solar39 Views / Replies:104 / 2
Last Reply:June 14th, 2016 (12:23 AM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

OnStart Error

Old June 13th, 2016, 09:22 PM   #1 (permalink)
Trading Apprentice
Futures Experience: None
Platform: NinjaTrader
Favorite Futures: Currency Tutures
Posts: 6 since Jun 2016
Thanks: 4 given, 0 received

OnStart Error

I've compiled my Custom Strategy, and I added all required references, now when I create a New Strategy from it, it adds in fine, but in the NT log it states that there was an error in the OnStart event. "object needs to be set to an instance of an object".

Reply With Quote

Old June 13th, 2016, 09:22 PM   #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.


Old June 14th, 2016, 12:23 AM   #3 (permalink)
Elite Member
Omer עומר / Israel י
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6N, 6S, ES, CL, ZB
rleplae's Avatar
Posts: 1,460 since Sep 2013
Thanks: 1,066 given, 2,272 received

You are trying to do an operation on an Object that is not yet initialized (instantiated).

Difficult to help without a piece of the code.

The OnStartUp () is called right before the script is started (only once)
You may want to initialize your object to an instance in Initialize().

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


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > OnStart Error

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deserialization Error sudhirc NinjaTrader 1 June 20th, 2015 03:11 PM
Error News jmagaia NinjaTrader 0 August 20th, 2013 06:30 AM
autotrading error shanemcdonald28 Sierra Chart 2 August 19th, 2013 10:40 PM
Error traderdp NinjaTrader 2 January 30th, 2013 02:59 PM
Error on Compile Maletor NinjaTrader Programming 2 June 13th, 2009 03:30 PM

All times are GMT -4. The time now is 03:13 AM.

Copyright © 2016 by 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 2016-10-24 in 0.08 seconds with 20 queries on phoenix via your IP