jteconnews stopped working - NinjaTrader | futures io social day trading
futures io futures trading


jteconnews stopped working
Updated: Views / Replies:28,730 / 128
Created: by meyer99 Attachments:35

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 35  
 
Thread Tools Search this Thread
 

jteconnews stopped working

  #41 (permalink)
Elite Member
Burnie Tasmania
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus Zenfire
Favorite Futures: 6E
 
Doppio's Avatar
 
Posts: 42 since May 2010
Thanks: 19 given, 11 received

Johnthom- firstly let me say how grateful I am for you work in this indicator as it has saved me the hassle of keeping forex factory open and constantly checking things other than my charts.
I know nothing about programming except some stupid wizard stuff and as yet my trading has not brought in money so I am super grateful for people like you who are willing to share stuff for free.
I had the same issue the other day with this indicator ( at least I presume so) all the symptoms are the same.
I have win 7 64bit and I just reinstalled NT7 beta 3 and have been waiting for some news to pop up in the window. So far nothing.
So am I basically just waiting for a connecton to the FF server to start up again? Or do I need to download a differnt news reader indicator?
Thanks again
doppio

Doppio
Reply With Quote
 
  #42 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,068 received


Doppio View Post
Johnthom- firstly let me say how grateful I am for you work in this indicator as it has saved me the hassle of keeping forex factory open and constantly checking things other than my charts.
I know nothing about programming except some stupid wizard stuff and as yet my trading has not brought in money so I am super grateful for people like you who are willing to share stuff for free.
I had the same issue the other day with this indicator ( at least I presume so) all the symptoms are the same.
I have win 7 64bit and I just reinstalled NT7 beta 3 and have been waiting for some news to pop up in the window. So far nothing.
So am I basically just waiting for a connecton to the FF server to start up again? Or do I need to download a differnt news reader indicator?
Thanks again
doppio

In the setup menu of the indicator did you try to switch from FF to DailyFX, in my case it did solve the problem

Reply With Quote
The following user says Thank You to redratsal for this post:
 
  #43 (permalink)
Membership Revoked
 
Futures Experience: Beginner
 
Posts: 1,081 since May 2010
Thanks: 2,092 given, 595 received


Today, under forexfactory.com jteconnews reader 2.0.0.3 is not working

Reply With Quote
 
  #44 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

A Bug Tells Us Something


j0hnth0m View Post
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?)

This is too easy an answer. This case is interesting, because it tells us something about the architecture of NinjaTrader and also teaches us how to do proper coding.

I think it is no problem, if an indicator does not work for whatever reason. But this indicator led to a full-blown NinjaTrader crash, even if it was not used. Also it took me hours to identify it as the culprit, as it did not throw any exceptions. This should not happen.


Opening the indicator dialogue box of a chart

When opening the indicator dialogue in Ninjatrader part of the code of the indicators is already executed. I assume that this part is the code contained in the Variables and Properties Regions. After all, for being able to add an indicator, the properties need to be shown in the dialogue box just for allowing to select the appropriate parameters. This means that the variables of the indicator are called at this moment.

So it is extremely important not to write any potentially poisonous code into these sections, as it may crash NinjaTrader.

This also tells us that the indicator does create the problem prior to its Initialization at the stage where the variables are declared.


Modifying the code

There is only one line where variables are declared that can cause such a problem, which is
 
Code
 // class variables
private const string ffNewsUrl = @"http://cloud.forexfactory.com/ffcal_week_this.xml";
Replacing this line with
 
Code
 // class variables
private string ffNewsUrl = "";
and
 
Code
protected override void OnStartUp()
{
	try
	{
		ffNewsUrl = @"http://cloud.forexfactory.com/ffcal_week_this.xml"; 
	}
	catch (Exception ex)
	{
		Print("Caught exception in OnStartUp: " + ex.ToString());
	}
}
solves the problem.


Results

With the above modifcations

- the indicator does not crash NinjaTrader
- can be added to a chart and will display a news load error
- will throw a proper exception to the Print File (System.UriFormatException)


Conclusions

This is a wonderful example for beginning coders - who are not yet programmers - to learn how to avoid trouble:

(1) Don't use any potentially poisonous code when declaring variables.
(2) NinjaTrader has a nice place called OnStartUp(), where the dirty stuff can be done after initialization.
(3) Use try{} catch{}, just in case something goes wrong.

Thanks for the lesson.

Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #45 (permalink)
Elite Member
Elk River, MN
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 30 since Sep 2009
Thanks: 7 given, 60 received


redratsal View Post
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

The ForexFactory site feed is still down. Not sure why. But this will present the same issue with either indicator. Fortunately the add-in version has a secondary feed from DailyFx that still works fine. Perhaps Fat Tails can take on the task of converting the old version to use the DailyFX feed???

I did try to load the FF feed xml directly from the FF web site and got the same result. So I don't know if they are discontinuing the feed or what's up. I'd email them to ask but they never bother responding so I won't waste my time. For US news events the DailyFX is just as good as FF and has historical "actual" values as well.

Reply With Quote
The following user says Thank You to j0hnth0m for this post:
 
  #46 (permalink)
Elite Member
Elk River, MN
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 30 since Sep 2009
Thanks: 7 given, 60 received


redratsal View Post
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


Fat Tails View Post
This is too easy an answer. This case is interesting, because it tells us something about the architecture of NinjaTrader and also teaches us how to do proper coding.

I think it is no problem, if an indicator does not work for whatever reason. But this indicator led to a full-blown NinjaTrader crash, even if it was not used. Also it took me hours to identify it as the culprit, as it did not throw any exceptions. This should not happen.


Opening the indicator dialogue box of a chart

When opening the indicator dialogue in Ninjatrader part of the code of the indicators is already executed. I assume that this part is the code contained in the Variables and Properties Regions. After all, for being able to add an indicator, the properties need to be shown in the dialogue box just for allowing to select the appropriate parameters. This means that the variables of the indicator are called at this moment.

So it is extremely important not to write any potentially poisonous code into these sections, as it may crash NinjaTrader.

This also tells us that the indicator does create the problem prior to its Initialization at the stage where the variables are declared.


Modifying the code

There is only one line where variables are declared that can cause such a problem, which is
 
Code
 // class variables
private const string ffNewsUrl = @"http://cloud.forexfactory.com/ffcal_week_this.xml";
Replacing this line with
 
Code
 // class variables
private string ffNewsUrl = "";
and
 
Code
protected override void OnStartUp()
{
	try
	{
		ffNewsUrl = @"http://cloud.forexfactory.com/ffcal_week_this.xml"; 
	}
	catch (Exception ex)
	{
		Print("Caught exception in OnStartUp: " + ex.ToString());
	}
}
solves the problem.


Results

With the above modifcations

- the indicator does not crash NinjaTrader
- can be added to a chart and will display a news load error
- will throw a proper exception to the Print File (System.UriFormatException)


Conclusions

This is a wonderful example for beginning coders - who are not yet programmers - to learn how to avoid trouble:

(1) Don't use any potentially poisonous code when declaring variables.
(2) NinjaTrader has a nice place called OnStartUp(), where the dirty stuff can be done after initialization.
(3) Use try{} catch{}, just in case something goes wrong.

Thanks for the lesson.


Interesting. Not sure why declaring and initializing a class-level variable would make any difference. When .net creates a class instance all class-level variables are initialized before any constructors or methods, private or public can be accessed. So I don't understand how this makes a difference but if it does I'm glad to hear it. I have never, in my experience, see a case where setting a string variable to a string can crash something. Frankly it makes me question exactly what NT is doing to the class loader. Since the beta version is using a new obfuscater (CliSecure). I'm guess that this is somehow breaking some rules around class loading in order to implement their obfuscation stuff. Don't know, but it is certainly strange.


Last edited by j0hnth0m; February 22nd, 2011 at 02:00 AM.
Reply With Quote
The following user says Thank You to j0hnth0m for this post:
 
  #47 (permalink)
Membership Revoked
 
Futures Experience: Beginner
 
Posts: 1,081 since May 2010
Thanks: 2,092 given, 595 received


j0hnth0m View Post
I did try to load the FF feed xml directly from the FF web site and got the same result. So I don't know if they are discontinuing the feed or what's up. I'd email them to ask but they never bother responding so I won't waste my time. For US news events the DailyFX is just as good as FF and has historical "actual" values as well.

Hello, thanks for your indicator. Maybe you can set the default then to DailyFX instead of forexfactory otherwise you will have a bunch of people installing your indicator and thinking it's not working.

Thanks.

Reply With Quote
 
  #48 (permalink)
Elite Member
Elk River, MN
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 30 since Sep 2009
Thanks: 7 given, 60 received


MetalTrade View Post
Hello, thanks for your indicator. Maybe you can set the default then to DailyFX instead of forexfactory otherwise you will have a bunch of people installing your indicator and thinking it's not working.

Thanks.


I'll put out an update. Thanks.

Reply With Quote
 
  #49 (permalink)
Trading for Fun
Here, GA
 
Futures Experience: Intermediate
Platform: Ninja
 
Posts: 146 since Jun 2009
Thanks: 1 given, 73 received

The ForexFactory source for News Events Feeds is still still down. Have sent an email to Twee at FF asking if this is a permanent issue or something that will be fixed. Have not heard back yet.

Reply With Quote
 
  #50 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary



j0hnth0m View Post
The ForexFactory site feed is still down. Not sure why. But this will present the same issue with either indicator. Fortunately the add-in version has a secondary feed from DailyFx that still works fine. Perhaps Fat Tails can take on the task of converting the old version to use the DailyFX feed???

@j0hnth0m

thanks for your suggestion. I am bored all day long, and I am very grateful that you have found something which will occupy me for some time.

Unfortunately, there is enough work involved in maintaining my own set of free indicators, so I won't mow my neighbors garden.

Reply With Quote

Reply



futures io > > > > jteconnews stopped working

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
jtEconNews indicator - not updated by John Thom anymore, anyone got code? FBJS NinjaTrader Programming 50 March 11th, 2015 05:51 AM
jtEconNews Reader is here as a stand alone app MetalTrade NinjaTrader 11 November 15th, 2013 12:42 AM
Indicators stopped working PamH NinjaTrader 2 March 31st, 2011 04:30 PM
jtEconNews and similars for Backtest? Trader.Jon NinjaTrader Programming 9 November 22nd, 2010 04:56 PM


All times are GMT -4. The time now is 05:54 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-15 in 0.15 seconds with 20 queries on phoenix via your IP 54.145.16.43