News Reminder Indicator - NinjaTrader Programming | futures io social day trading
futures io futures trading


News Reminder Indicator
Updated: Views / Replies:6,649 / 27
Created: by cunparis Attachments:7

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
 7  
 
Thread Tools Search this Thread
 

News Reminder Indicator

  #11 (permalink)
Trade with the flow
Paris, France
 
Futures Experience: Advanced
Platform: Market Delta & Ninjatrader
Favorite Futures: ES
 
cunparis's Avatar
 
Posts: 2,563 since Jun 2009
Thanks: 1,157 given, 2,030 received


TAJTrades View Post
Forex Factory has a XML page that can be accessed: Retail Sales m/m

Very good find!

Parsing XML in C# is not my area of expertise, so if anyone wants to take a shot at it be my guest.

Reply With Quote
 
  #12 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received

I'm playing with something like this, not with XML data source, with a basic .csv.

But, how to draw a vertical bar in the future (DrawVerticalLine), with NT ?
As it does not seems to be possible, I'm looking for a smart idea, parsing the file downloaded is not very hard, but if I can't have the informations on the chart...

Reply With Quote
 
  #13 (permalink)
VIP Member
FL
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, 6E, CL
 
Posts: 71 since Jul 2009
Thanks: 159 given, 32 received


Well, I'm able to put together something rude and crude that does work. It might help us brain storm a little to see where it might take us. I don't know how to parse XML data but maybe somebody else can help. I do have a book on it I just need to dust it off. It's been a long time since I've coded.

Attached is the indicator file, txt file(s) needed for News and NewsTimes.

Step1:
Create the following directory under NT: "My Documents\NinjaTrader 6.5\NewsFiles"
Step2:
Extract the NewsFiles.Zip file into NewsFiles directory.
Step3:
Extract the NewsReminder.cs from the Zip file and place it in the Indicator directory.
Step4:
Edit the NewsReminder.cs and change its path to the location of the News files. There's a variable that contains the path location.
Step5:
Add the indicator to a chart and watch is plot the news information.

I've tried using Excel spreadsheet to extract the data from the website and then create these file(s) with a click of a button. It didn't quit work out. Still working on a few issues within the code.

cunparis, I hope you didn't mind me modifying your code a bit. I added an entry in the comment area and left everything else alone. I think you did a heck of a job on this indicator and I really like this indicator.

-Rich

Also, the NewsTimes.txt file(s) must contain all 9 times. Add them with 0's if there is no news. I'm also gonna check tomorrow(Wednesday) if it automatically picks up Wednesday News items. That would be cool.

One more thing if there is no News for the day, don't create the file(s) for that day.

FILES REMOVED AND ATTACHED TO POST BELOW.


Last edited by jonesr9; September 16th, 2009 at 09:46 AM.
Reply With Quote
 
  #14 (permalink)
Trade with the flow
Paris, France
 
Futures Experience: Advanced
Platform: Market Delta & Ninjatrader
Favorite Futures: ES
 
cunparis's Avatar
 
Posts: 2,563 since Jun 2009
Thanks: 1,157 given, 2,030 received


jonesr9 View Post
cunparis, I hope you didn't mind me modifying your code a bit. I added an entry in the comment area and left everything else alone. I think you did a heck of a job on this indicator and I really like this indicator.

I don't mind at all. I'm very happy to see some collaboration, especially on an indicator that doesn't draw squiggly lines!

The only thing I ask is that we pay attention to the name so that we don't have multiple versions of the same name floating around. So if we need to have a few of them (different approaches) we could add an underscore to the name to keep them straight. like newsreminder_jones or whatever.

Thanks for working on it. I hope others will contribute.

Reply With Quote
 
  #15 (permalink)
VIP Member
FL
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, 6E, CL
 
Posts: 71 since Jul 2009
Thanks: 159 given, 32 received


cunparis View Post
I don't mind at all. I'm very happy to see some collaboration, especially on an indicator that doesn't draw squiggly lines!

The only thing I ask is that we pay attention to the name so that we don't have multiple versions of the same name floating around. So if we need to have a few of them (different approaches) we could add an underscore to the name to keep them straight. like newsreminder_jones or whatever.

Thanks for working on it. I hope others will contribute.

Good point. I'll just change the version number. Give me a sec I'll post the change.

Reply With Quote
 
  #16 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received

Did someone can post a screenshot ?
I'm working on my own indicator, I called it NewsAlert, so this name is copyrighted .


edit: saw the post #1, no screenshot needed, but the vertical line is paint when the news is supposed to come, right ?


Last edited by sam028; September 16th, 2009 at 09:44 AM. Reason: add comment
Reply With Quote
 
  #17 (permalink)
VIP Member
FL
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, 6E, CL
 
Posts: 71 since Jul 2009
Thanks: 159 given, 32 received

Okay, here the changes. I also removed the SPACE needed within the TXT files. Instead I use a comma which makes it less confusing.

This display the news name @ 10 minutes before the news come out. This way it alerts you of the following news event in advance. Then at the time of the news event it places NEWS on the chart.

Attached Thumbnails
News Reminder Indicator-newreminder2.jpg  
Attached Files
Register to download File Type: zip NewsFiles.zip (1.0 KB, 57 views)
Register to download File Type: zip NewsReminderV02.zip (3.0 KB, 61 views)

Last edited by jonesr9; September 16th, 2009 at 10:06 AM.
Reply With Quote
The following user says Thank You to jonesr9 for this post:
 
  #18 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received

Is someone here know why this works:
 
Code
                            
Stream strm Client.OpenRead("http://www.dailyfx.com/calendar/Dailyfx_Global_Economic_Calendar.csv?currentWeek=/events-calendar/2009/0913/&direction=none&collector=allInFolderDateDesc&view=week&timezone=GMT&currencyFilter=|&importanceFilter=Medium|Low|"); 

and this not:
 
Code
                            
string url_news="http://www.dailyfx.com/calendar/Dailyfx_Global_Economic_Calendar.csv?currentWeek=/events-calendar/2009/0913/&direction=none&collector=allInFolderDateDesc&view=week&timezone=GMT&currencyFilter=|&importanceFilter=Low|";
Stream strm Client.OpenRead(url_news); 
???

Reply With Quote
 
  #19 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received

sam028,

I've had to the same thing in similar situations.

I think it may have something to do with some of the special characters in the string.

Yes, that doesn't really make sense, just my thoughts.

RJay

Reply With Quote
 
  #20 (permalink)
Elite Member
Canada
 
Futures Experience: Intermediate
Platform: NinjaTrader
 
Posts: 76 since Jul 2009
Thanks: 175 given, 9 received


Maybe try this?

 
Code
                            
string url_news=@"http://www.dailyfx.com/calendar/Dailyfx_Global_Economic_Calendar.csv?currentWeek=/events-calendar/2009/0913/&direction=none&collector=allInFolderDateDesc&view=week&timezone=GMT&currencyFilter=|&importanceFilter=Low|";
Stream strm Client.OpenRead(url_news); 



sam028 View Post
Is someone here know why this works:
 
Code
                            
Stream strm Client.OpenRead("http://www.dailyfx.com/calendar/Dailyfx_Global_Economic_Calendar.csv?currentWeek=/events-calendar/2009/0913/&direction=none&collector=allInFolderDateDesc&view=week&timezone=GMT&currencyFilter=|&importanceFilter=Medium|Low|"); 

and this not:
 
Code
                            
string url_news="http://www.dailyfx.com/calendar/Dailyfx_Global_Economic_Calendar.csv?currentWeek=/events-calendar/2009/0913/&direction=none&collector=allInFolderDateDesc&view=week&timezone=GMT&currencyFilter=|&importanceFilter=Low|";
Stream strm Client.OpenRead(url_news); 
???


Reply With Quote

Reply



futures io > > > > > News Reminder Indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Econ news indicator incometrade NinjaTrader 12 July 7th, 2014 09:24 PM
NT Market Analyzer News Indicator c12345 NinjaTrader Programming 3 June 18th, 2014 12:43 PM
Graphical News Indicator richtobey The Elite Circle 12 December 18th, 2010 10:49 AM
Reminder: simpler is almost always better Big Mike Traders Hideout 7 September 9th, 2009 08:01 PM


All times are GMT -4. The time now is 05:47 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-12 in 0.13 seconds with 20 queries on phoenix via your IP 54.167.44.32