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)
This is an advanced indicator, and it has worked fine so far. There is always a risk that if you do something new or unusual that it will not work under all circumstances, and that is what happened. I noticed that the indicator tries to access an inexistant site
You distribute an advanced indicator, nobody rewards you for your work and efforts. Then there is a little bug, which crashes NinjaTrader and the free-riders are complaining loudly. I had the same experience with some of my indicators.
Can you help answer these questions from other members on NexusFi?
The DLL version does not cause the problem, as far as tested. I am referring to the file jtEconNews2.cs, which is available for download at John's Website as jtEconNews2a. Also the problem does not occur with every install of NinjaTrader. At the same time, when it crashed the NT 7.0.1000.3 installed on XP Professional 32-bit and Vista 32-bit, it still seemed to work on a 64-bit version. NinjaTrader Ryan could reproduce the problem with the .cs version but not with the DLL version of the indicator.
It appears that there is some kind of DNS/load balancing issue with the "cloud.forexfactory.com" url. I have seen this happen in the past particularly on Sundays. I suppose it is possible that FF is doing some kind of maintenance over the weekend that is causing this. Doing an nslookup on this url indicates that the domain can not be found. This can be an issue anywhere along the path between your machine and the FF server so it's hard to tell where the issue is exactly.
Anyway, to help resolve the issue you are having with the jtEconNews2a indicator it would be helpful if you could take a look t the "log.XXXXXXXX.txt" files in your documents\NinjaTrader 7\log folder and share the text of any exceptions/errors that occur at the time you are experiencing these crashes.
Thanks.
Another thing... if you can, set the indicator's debug property to 'true' and open an output window (Tools...Output Window) and refresh your chart. You should see messages from the indicator record here as well. Capture this and send it to me if you can. If you can't set the debug property to true check the output window anyway for any error messages.
fyi... The latest beta for NT will no longer work with RemoteSoft obfuscated indicators (which has been the standard for years). Any DLLs that I produce do not use RemoteSoft and have been tested on the current beta version under xp and windows 7 32 and 64 bit.
If I import your indicator and then open a plain chart, I can no more access the indicator dialogue box, so I do not even get to the point, where I can use this indicator, as no more indicators can be added to any chart. It completely corrupts the NinjaTrader installation.
-> no message on the log file
-> no message on the trace file
-> no message on the output window
Indicator is not running, but its mere compilation destroys the NinjaTrader install (NinjaTrader.Custom.dll)
Wow, that's a tough one. Sounds like the indicator is compiling okay if you are able to import it. I don't have an environment that matches yours so I can reproduce the issue. It sounds like the indicator maybe blowing up in the "Initialize" method. First thing I would do is replace the following code...
headerTitleBrush = new SolidBrush(headerColor);
lineHighBrush = new SolidBrush(lineHighColor);
lineMedBrush = new SolidBrush(lineMedColor);
lineLowBrush = new SolidBrush(lineLowColor);
list = new System.Collections.Generic.List<TextLine>();
lastNewsPtr = -1;
lastMinute = DateTime.MinValue;
LoadNews();
}