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)
Every time IB disconnects for a brief moment (due to changeover or maintenance etc) NT crashes. I have asked support but they just tell me it's a connection problem or an IB problem or whatever problem, of course it is not NT they say, they say to get a static IP but how could that help if the problem is IB?
Does anyone have any idea how to stop it from crashing or how to get it to reopen and reconnect automatically? I'm frustrated, thanks.
Can you help answer these questions from other members on NexusFi?
Otherwise, if it crashes again, did you have a look at the log and tracefiles of NinjaTrader and the logfile of TWS? And if you say "crash", is that simply a freeze or is it NinjaTrader shutting down by itself and disappearing?
You're lucky, for the past two days I can't even get Ninja to start.
It brings up the initial front panel then nothing. I have to kill the process
but it still wont start up. Anyone else had this and solved it?
This points to a problem with NinjaScript. I suggest that you do the following.
Option A:
Check log and trace files and see whether the problem can be identified. It is potentially linked to some corrupted NinjaScript files. There are some indicators, which are badly coded such as the jtEcoNews indicator which may cause an immediate crash. Eventually you can identify the problem.
Option B:
(1) Rename the folder (do not delete it) My Documents -> NinjaTrader 7 to My Documents -> NinjaTrader 7 Old.
(2) Start NinjaTrader.
NinjaTrader will now recreate this folder. All your custom indicators and settings such as templates and workspaces are gone. However, they are not lost as the information is still available in the renamed folder. If NinjaTrader has correctly started you can now copy your data back into the newly created directory NinjaTrader 7. You want to copy
-> indicators and strategies
-> chart templates
-> workspaces
-> your data base
You cannot copy custom session templates and rollover settings for individual contract, you have to reenter them manually
Option C:
Same as option B, but before you start NinjaTrader, reinstall the latest version.
The problem here is that NinjaTrader compiles the Initialize() section of all indicators, even if they are not used on any chart. This is necessary to make appear the indicators in the indicator dialogue box.
If an inexperienced programmer has put some dangerous code in the Initialize() section of any of the indicators, this may prevent NinjaTrader from compiling properly.
NinjaTrader 7.0 has an option to use OnStartUp() for dangerous code, so as little code as possible should remain in the Initialize() section.
I am using IB build 917.8 as recommended and I have set up API and the IB connection exactly as recommened (and I also tried it Vegafoster's way which didnt work). I have sent trace files to support and their reaction is this " I suggest to uninstall all custom indicators except one. Run NinjaTrader for a while and check if the error recurs. If not, please import one of the custom indicators you removed and check again. Please repeat this process to determine if one of the custom indicators is causing the issue.
I do not think the disconnections cause Windows to generate such errors"
So support thinks it's not a connection problem, but look at the latest trace file at the moment of the crash:
It looks like an IB disconnect triggers it to crash.
What I haven't done is remove indicators, two that I use are the VolumeSTop as kindly posted on futures.io (formerly BMT) , and TCTrendingTSF as provided by TradingCoders . I cant live without them.