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 63,173 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

  #21 (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


MetalTrade View Post
That's what I call high impact news

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

https://cloud.forexfactory.com/ffcal_week_this.xml

without any precautions, which may have caused the problem.

The bug is meanwhile confirmed by NinjaTrader support, which means that the indicator is officially poisonous.


This is your risk, @j0hnth0m:

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.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Futures True Range Report
The Elite Circle
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #22 (permalink)
 MetalTrade 
 
Posts: 1,055 since May 2010

I run the JtEconNews Reader 2.0.0.3 on NT 7.02 without problems.

But isn't that the DLL version ?

Reply With Quote
  #23 (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



MetalTrade View Post
I run the JtEconNews Reader 2.0.0.3 on NT 7.02 without problems.

But isn't that the DLL version ?

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.

Reply With Quote
  #24 (permalink)
 MetalTrade 
 
Posts: 1,055 since May 2010

I remember reading that he only supports the DLL version and not the cs version anymore.

Are we allowed to fix the code ourselfs ?

Reply With Quote
  #25 (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


MetalTrade View Post
I remember reading that he only supports the DLL version and not the cs version anymore.

Are we allowed to fix the code ourselfs ?

If you read post #14 of this thread, you will notice that both versions are available and that the last fix for the .cs version was made this month.

Reply With Quote
Thanked by:
  #26 (permalink)
kk240
Europe,Nomad
 
Posts: 84 since Nov 2010
Thanks Given: 25
Thanks Received: 30

I found 3 beta, is not anymore compatible, with some other dll also.

Reply With Quote
Thanked by:
  #27 (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

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.

Reply With Quote
  #28 (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


kk240 View Post
I found 3 beta, is not anymore compatible, with some other dll also.

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.

Reply With Quote
  #29 (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
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.

Hi John.

thanks for answering.

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)

Reply With Quote
  #30 (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



kk240 View Post
I found 3 beta, is not anymore compatible, with some other dll also.


Fat Tails View Post
Hi John.

thanks for answering.

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...

protected override void Initialize()
{
CalculateOnBarClose = false;
Overlay = true;
PriceTypeSupported = false;

//this.Name = "";

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();
}

with...


protected override void Initialize()
{
try
{
CalculateOnBarClose = false;
Overlay = true;
PriceTypeSupported = false;

//this.Name = "";

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();
}
catch (Exception ex)
{
Print("Caught exception in initialize: " + ex.ToString());
}
}

And then check the output window to see if you caught anything.

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