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,201 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

  #71 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


Fat Tails View Post
The idea is as follows. There are two little steps that you need to shift to OnStartUp().

First Step: Setting the Variable ffNewsUrl

So you need to modify line 78, just to declare the variable at this stage with an empty string.

Second Step: Calling LoadNews()

This is shifted from Initialize() to OnStartUp(). You just need to delete the one row LoadNews() within the Initialize bracket.

To understand this: You can only load the news, once the variable is set. You only want to set the variable in OnStartUp() to avoid future crashes. So you can only load the news afterwards, that is in OnStartUp() as well.

You do not need to touch private void LoadNews().

you forgot third step:

change your avatar to something like that:

(no need for bears, the bull is just taking a break)


ps sorry for being

Attached Images
 
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
 
  #72 (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,103


Silvester17 View Post
you forgot third step:

change your avatar to something like that:

(no need for bears, the bull is just taking a break)


ps sorry for being


Some people just love to post bullshit (refers to your attachment).

Or did you want to say that you prefer spare ribs over a Texan steak?

Maybe you did not know that the bear is the heraldic animal of Berlin? Usually tourists are told that the name of Berlin is derived from the word Bär (bear) -> Bärlin -> Berlin. But this is slightly untrue. "Berl" is an old Slavonic word meaning swamp. Not so enticing, so better keep it secret.

However, the Margraviate of Brandenburg was founded by Albert, the Bear in 1157. It remained a principality of the Roman Holy Empire until 1806. In 1815 it became the Prussian Province of Brandenburg, which in turn became the center of the German Empire in 1871.

You may also interpret the bear in terms of current market sentiment, as the bear stands up and is running (see profile picture).

Attached Thumbnails
Click image for larger version

Name:	Stadtwappen Berlin.png
Views:	282
Size:	54.8 KB
ID:	31828  
Reply With Quote
  #73 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
Posts: 1,896 since Sep 2009
Thanks Given: 3,379
Thanks Received: 1,540



Fat Tails View Post
The idea is as follows. There are two little steps that you need to shift to OnStartUp().

First Step: Setting the Variable ffNewsUrl

So you need to modify line 78, just to declare the variable at this stage with an empty string.

Second Step: Calling LoadNews()

This is shifted from Initialize() to OnStartUp(). You just need to delete the one row LoadNews() within the Initialize bracket.

To understand this: You can only load the news, once the variable is set. You only want to set the variable in OnStartUp() to avoid future crashes. So you can only load the news afterwards, that is in OnStartUp() as well.

You do not need to touch private void LoadNews().

@Fat Tails,

Did all that - thanks.

Compiled the indi after editing it - no errors.

But now indi is not in drop down list when going to select indis in a chart. However it still is in NT 7 indi folder under My Documents.

Have tried exporting it and then re-importing, but it still will not appear for chart selection.

There is something basic I am missing.

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


steve2222 View Post
@Fat Tails,

Did all that - thanks.

Compiled the indi after editing it - no errors.

But now indi is not in drop down list when going to select indis in a chart. However it still is in NT 7 indi folder under My Documents.

Have tried exporting it and then re-importing, but it still will not appear for chart selection.

There is something basic I am missing.

If the indie is not in the dropdown list, there is a line in the code, which changed its name. Did you look for "EconNews"? Could also be that it uses no name and is the first in your list. If you cannot find it, just attach your indie here, so that I can have a look.

Reply With Quote
Thanked by:
  #75 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
Posts: 1,896 since Sep 2009
Thanks Given: 3,379
Thanks Received: 1,540


Fat Tails View Post
If the indie is not in the dropdown list, there is a line in the code, which changed it name. Did you look for "EconNews"? Could also be that it uses no name and is the first in your list. If you cannot find it, just attach your indie here, so that I can have a look.

@Fat Tails

That would be it - now called Economic News.

Seems to be working, but there are no more news events today to really put it through it's paces, so I thought I would attach it anyway in case you spot something I have done wrong.

PS: I am on NT 7 v2

Attached Files
Elite Membership required to download: jtEconNews2.cs
Reply With Quote
Thanked by:
  #76 (permalink)
 sharmas 
Auckland
 
Experience: Advanced
Platform: Ninja Trader
Broker: Zen-Fire
Trading: CL and ES
Posts: 778 since Apr 2010
Thanks Given: 3,822
Thanks Received: 750

steve

could this be converted or saved as a zip folder...thanking you very much

sharmas

Visit my NexusFi Trade Journal Reply With Quote
  #77 (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,103


sharmas View Post
steve

could this be converted or saved as a zip folder...thanking you very much

sharmas

This should be similar.

Attached Files
Elite Membership required to download: jtEconNews2.zip
Reply With Quote
Thanked by:
  #78 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
Posts: 1,896 since Sep 2009
Thanks Given: 3,379
Thanks Received: 1,540


sharmas View Post
steve

could this be converted or saved as a zip folder...thanking you very much

sharmas

All care no responsibility. You may want to wait until Fat Tails checks it.

Also as said above there is no news to check it against, although it does display correctly and says ' There are no pending news events...'

Also not sure why it renamed itself in indi drop down box.

Attached Files
Elite Membership required to download: News.zip
Reply With Quote
  #79 (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,103


steve2222 View Post
Also not sure why it renamed itself in indi drop down box.

For the renaming see line 142. John had deleted the name, so it popped up without any name. I then had changed it back to its original name, which was "EconomicNews".

You can select any other name and insert in this line.

Reply With Quote
  #80 (permalink)
 ghman101 
Daphne
 
Experience: Intermediate
Platform: TradeStation, TOS, Infinity, NT7
Broker: As above
Trading: ES, 6E, 6B, 6J
Posts: 144 since Apr 2010
Thanks Given: 224
Thanks Received: 84



Fat Tails View Post
For the renaming see line 142. John had deleted the name, so it popped up without any name. I then had changed it back to its original name, which was "EconomicNews".

You can select any other name and insert in this line.

Harry, would you update this news indy to display the period of time blocked out on your chart, like the last version that JT had? I was using the last version JT had and it was great, but it bogged down computer significantly and NT said to delete it. I do have your fix called EconomicNews and like it but was wondering if you'd make this requested change. When you see it on the chart, blocked out, i.e. say 5 min. before and 5 min. after, with the red dashed vertical line at the news time...it was the ultimate! Thanks for all you do, gh

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