NexusFi: Find Your Edge


Home Menu

 





jteconnews stopped working


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 25 posts (40 thanks)
    2. looks_two Silvester17 with 11 posts (14 thanks)
    3. looks_3 j0hnth0m with 11 posts (6 thanks)
    4. looks_4 steve2222 with 10 posts (10 thanks)
      Best Posters
    1. looks_one MWinfrey with 4 thanks per post
    2. looks_two Fat Tails with 1.6 thanks per post
    3. looks_3 Silvester17 with 1.3 thanks per post
    4. looks_4 steve2222 with 1 thanks per post
    1. trending_up 64,040 views
    2. thumb_up 116 thanks given
    3. group 38 followers
    1. forum 156 posts
    2. attach_file 41 attachments




 
Search this Thread

jteconnews stopped working

  #31 (permalink)
 
tigertrader's Avatar
 tigertrader 
Philly, Pa
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader
Trading: ES, ZB
Posts: 6,482 since Jul 2010
Thanks Given: 6,662
Thanks Received: 36,258

After I made the switch from ZenFire to CQG and re-installed the upgraded version of 7.0.1000.2, NT began to freeze up when I right clicked on indicators. I was forced to exit NT via the task manager. The problem was rectified immediately after I deleted the jtEconNews indicator per Fat Tails' recommendation.

Follow me on Twitter Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
32 thanks
Bigger Wins or Fewer Losses?
24 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #32 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

Tried your suggestion, but the indicator crashes NT already prior to its initialization. No message printed to the output window.

However, when replacing line 78

 
Code
private const string ffNewsUrl = @"http://cloud.forexfactory.com/ffcal_week_this.xml";
with

 
Code
 private const string ffNewsUrl = "";
the indicator is no more poisonous.

The problem is that you tried to initialize a variable with an inexistent value. This caused the crash.

I suggest that you just declare the variable as empty string "" and then later allot the required value by using try{} catch{}.

Reply With Quote
  #33 (permalink)
 j0hnth0m 
Elk River, MN
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp Futures/Zen-Fire
Trading: ES
Posts: 30 since Sep 2009
Thanks Given: 7
Thanks Received: 60



Fat Tails View Post
Tried your suggestion, but the indicator crashes NT already prior to its initialization. No message printed to the output window.

However, when replacing line 78

 
Code
private const string ffNewsUrl = @"http://cloud.forexfactory.com/ffcal_week_this.xml";
with

 
Code
 private const string ffNewsUrl = "";
the indicator is no more poisonous.

The problem is that you tried to initialize a variable with an inexistent value. This caused the crash.

I suggest that you just declare the variable as empty string "" and then later allot the required value by using try{} catch{}.

Actually that has nothing to do with it what so ever... simply doesn't work that way. I'd try to explain it but you need to be a programmer to understand so you'll have to trust me. The URL is just a string. The problem, based on what you are reporting, has more to do with the code actually trying to open a connection to the FF website. Again. can't tell you why it crashes your machine.

I did fire up a xpsp3 image and did a clean install of the the latest beta and can NOT reproduce this issue. If there are others running the same config as yours and not experiencing this problem then I would suggest that the issue lies on your machine.

p.s. - as of this time, the FF site is still not available.

Attached Thumbnails
Click image for larger version

Name:	Capture.GIF
Views:	347
Size:	28.4 KB
ID:	31370  
Reply With Quote
  #34 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


j0hnth0m View Post
Actually that has nothing to do with it what so ever... simply doesn't work that way. I'd try to explain it but you need to be a programmer to understand so you'll have to trust me. The URL is just a string. The problem, based on what you are reporting, has more to do with the code actually trying to open a connection to the FF website. Again. can't tell you why it crashes your machine.

I did fire up a xpsp3 image and did a clean install of the the latest beta and can NOT reproduce this issue. If there are others running the same config as yours and not experiencing this problem then I would suggest that the issue lies on your machine.

p.s. - as of this time, the FF site is still not available.

This has nothing to do with my machine, as the bug was confirmed

- by @tigertrader
- by NinjaTrader support, see link below

Complete Freeze of [AUTOLINK]NinjaTrader[/AUTOLINK] - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

I had started the NinjaTrader suport forum thread, before I knew that the jtEconNews2a indicator caused the crashes. Otherwise, I would have directly contacted you via this thread. By the way it took me over 2 hours to find the culprit. So please don't pretend now that your indicator is working correctly. This is not the case.

NinjaTrader Ryan Olson could also reproduce the freeze.

Both TigerTrader and Ryan did not use my machine. I also have a second install of NinjaTrader running on my notebook with a Vista OS. Same problem, so this is already four different machines that broke down.

Reply With Quote
Thanked by:
  #35 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


j0hnth0m View Post
Actually that has nothing to do with it what so ever... simply doesn't work that way. I'd try to explain it but you need to be a programmer to understand so you'll have to trust me...


If @Fat Tails is not a programmer, I'm Elvis (of course, I'm not dead, I live in the Area 51, I love the weather there).

Seriously, the problem seems to be handling the DNS resolution problem, but why on his machine and not on others, good question...

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
  #36 (permalink)
 omaha786 
San Diego, California
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158

Is it possible you guys have different versions of .NET installed?

Visit my NexusFi Trade Journal Reply With Quote
  #37 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


omaha786 View Post
Is it possible you guys have different versions of .NET installed?

I use .NET Framework 3.5 SP1 (KB2416473) with hotfixes KB953595, KB958484 and update KB963707.

I also have a Language Pack SP1 -DEU, but this should not cause the problem, as the two other machines that have confirmed the problem are both US machines.

Now this is no problem for me, I have TEMPORARILY BANNED the indicator. The hard bit was to find where the trouble came from that had corrupted my NT installation.

Reply With Quote
  #38 (permalink)
 omaha786 
San Diego, California
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158

Is it possible this function causing problem in the new .NET?

HttpWebRequest Constructor
.NET Framework 3.5 Other Versions
NOTE: This API is now obsolete.

HttpWebRequest Constructor (System.Net)

Visit my NexusFi Trade Journal Reply With Quote
  #39 (permalink)
 j0hnth0m 
Elk River, MN
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp Futures/Zen-Fire
Trading: ES
Posts: 30 since Sep 2009
Thanks Given: 7
Thanks Received: 60


omaha786 View Post
Is it possible this function causing problem in the new .NET?

HttpWebRequest Constructor
.NET Framework 3.5 Other Versions
NOTE: This API is now obsolete.

HttpWebRequest Constructor (System.Net)

Typically not an issue. This is more of a warning that future versions of the runtime may not support it. As long as it compiles you should be okay.

I wish that I could recreate it but alas can not. If you have programming skills then I would suggest debugging with Visual Studio (Express is free). What I would do is remove the indicators completely. Then fire up NT... create a new indicator... copy the code from this indicator into the new indicator. Set the Debug option on and then compile it. Then from Visual Studio, debug the NinjaTrader process, open the indicator file, set a break point at each indicator method. Then load the indicator on the chart and step through the code until you identify the problem area.

(actually, why not just download the addin version and call it day?)

Reply With Quote
  #40 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


Hi I am running NT 7.0.1000.2 under 32bit (W Vista) with JTEN reader 2.0.0.3, the reader do not work under ForexFactory but works fine under DailyFX.

Hope it can help the process

Attached Thumbnails
Click image for larger version

Name:	2011-02-21_1213.png
Views:	309
Size:	150.6 KB
ID:	31416   Click image for larger version

Name:	2011-02-21_1218.png
Views:	312
Size:	83.0 KB
ID:	31417   Click image for larger version

Name:	2011-02-21_1219.png
Views:	312
Size:	71.4 KB
ID:	31418  
Visit my NexusFi Trade Journal Reply With Quote




Last Updated on June 19, 2021


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts