Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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?
moneypenny
Can you help answer these questions from other members on NexusFi?
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!
Oh how I love Big Mike and his forum!! This has been a huge problem for years!!
I removed a new 3rd party indicator and the problem was solved.
Thank you, thank you, thank you!!
moneypenny
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
Hi all,
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?