NT was hanging and freezing on my old computer - bought a Falcon beast of a trading computer with the latest i7 turbo boost to 4.0 gHz.
NT still hanging!!!!!!!!!!!! I know NT is single-threaded but if this is happening on a 4.0 gHz how can so many people be using it with no problems?
Anyone else experience this?
Computer horsepower will make no difference if you have a badly coded script running. 99% of the time NinjaTrader freezes is due to bad code. Please follow up with our support team as they can help narrow down and isolate the issue.
I agree with Ray, I have two different environments. One where I use fully debugged and stable Ninjascript (very little outside code) and one which I play with different code. As you can guess, the 2nd computer freezes frequently. This is one of the biggest strengths of NT, but be careful of who's code you load on your machine as it may have problems.
I am not sure how easy it would be for NT to keep exposing the level of NinjaScript to the community but yet prevent programming errors by people customizing the code. You could see maybe adding a Watch Dog timer, but I would want to be able to disable that feature as I have some scripts that will look like they hang for hours as they are doing Machine Learning cycles millions of times. I would not want NT to dump this thread!
Please name the indicator, so others can check their configs for the same.
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.
The following user says Thank You to Big Mike for this post:
Favorite Futures: Gameplay Klownbine® Trading of Globex
Posts: 1,276 since Jul 2009
Thanks: 1,227 given,
UTC ZigZag Indicator
Classic example of clueless, sloppy programming, with inline function calls of the MIN and MAX indicators on every tick. Predefined reusable instances should be used and code rewritten so that they only need to be called on FirstTickOfBar.
However another, even worse problem is extensive use of Draw methods, (DrawText, DrawLine etc) which is much more resource intensive than using the Plot method to put things on the screen. The Draw methods are a huge resource hog.
In case you were wondering, I have no intention of fixing it unless somebody gives me a real good reason to do so.
"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 2 users say Thank You to Zondor for this post:
Zondor thank you for pointing out the coding mistakes made on the above indicator.
I have a suggestion - if it doesn't exist already, why don't we make forum on futures.io (formerly BMT) that listed the basic coding do's and don'ts for each platform - a kind of checklist for each platform?