"Just crashing" is also not real helpful. That's like saying "my car won't start" but not giving any clues as to what is actually happening, such as out of gas, alternator, battery, etc.
What do the trace files indicate? They will usually point to the problem, read from the bottom up.
If you can't ascertain from the trace files, then I would first uninstall and remove all DLL's from vendors and confirm that everything works 100% without a doubt before you add any of them back in.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
Favorite Futures: Gameplay Klownbine® Trading of Globex
Posts: 1,275 since Jul 2009
Thanks: 1,227 given,
Why indicators cause Ninjatrader to crash
It's usually caused by an Unhandled Exception. NT can deal with some of them without crashing, but not all.
That's why it's a good idea to use error traps in your custom indicators, especially during the development process.
It's always a good idea to look at your output window once in a while, to see if there are any runtime errors in your indicators.
After a crash, unhandled exceptions will usually print messages to the Trace File. UNLESS there is a Stack Overflow.
Stack Overflows are usually caused by infinite loops. They knock out the error handling and reporting capabilities, so do not leave any clues in the Trace file.
If you are able to zero in on the indicator that is causing your crashes, send it to me by PM. If I can find the cause of the problem, I will fix the indicator, explain the cause of the problem, and post the result in this thread.
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett
The following 3 users say Thank You to Zondor for this post: