The Economic Events Collection for MultiCharts - MultiCharts | futures io social day trading
futures io futures trading


The Economic Events Collection for MultiCharts
Updated: Views / Replies:11,638 / 51
Created: by Jura Attachments:18

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

The Economic Events Collection for MultiCharts

  #1 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received

The Economic Events Collection for MultiCharts

Have you ever wanted to work with upcoming economic events in MultiCharts, such as getting an alert when a certain economic release was about to happen? Perhaps you even wished for an way to close strategy positions a given number of minutes before an economic new release?

Introducing the Economic Events Collection for MultiCharts
Those wishing days are over with the Economic Events Collection for MultiCharts, which is a collection of functions to work with future and historical economic events.

The Economic Events Collection was designed for flexibility and usability Ė giving it endless possibilities while keeping the amount of code required to an absolute minimum.

For whom might the Economic Events Collection for MultiCharts be useful?
  • If youíre an automated trader and want to close open positions 10 minutes before a high impact economic event is released;
  • If youíre a discretionary trader and donít want to be caught off guard with important economic releases or speeches and summits about market moving topics;
  • If youíre an option trader and want to open volatility-based option strategies (like straddles and strangles) in the 30 minutes before important, market moving news;
  • If youíre a backtester and want to backtest the market reactions on certain historical economic events, or just donít want to hold a position when a historical economic event happened (like a Non-Farm Payroll release).

Using the Economic Events Collection
To start using the Economic Events Collection for MultiCharts, download the zip file from the downloads section (which contains all the files youíll need) and follow the easily-to-follow steps in the thorough 23-page manual (attached to this post).

  • An example indicator that uses the Economic Events Collection for MultiCharts can be found here.

Support and getting help
If you run into difficulties or getting stuck repeatedly, add your question/problem to this thread and Iíll try my best to help you.

Also, if you have any suggestion for improvements, Iíd be grateful if you shared them here so that the Economic Events Collection can be further expanded and improved.

Thanks
I want to give a big thanks to @Nicolas11 for helping me make this project a reality and creating an impressive Java program. Thanks Nicolas, without your help this project would never even have started.

Attached Thumbnails
The Economic Events Collection for MultiCharts-eecollectionformulticharts_v1.14_manual.pdf  

Last edited by Jura; February 14th, 2012 at 09:43 AM.
Reply With Quote
 
  #2 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received

Upcoming Economic Events indicator

This indicator plots a text box on the chart with the upcoming economic events:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

In this screenshot, taken on 15:56 local time (Western-Europe), you can see that Geithner was about to speak in 4 minutes (a Medium impact event) and the business inventories were also announced in four minutes.

The indicator has the following settings:
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Most of these settings are self-explanatory. The 'TicksOffSetBottom' is the number of ticks you want the text box be displayed above the lowest value on the price scale. The 'RecalcAfter' is the number of seconds the box is updated - this is included to prevent excessive updating from MultiCharts to keep everything running smoothing.

Important note: You'll need the Economic Events Collection for MultiCharts (see first post in this thread and download here) to work with this indicator.

This indicator can be downloaded here.

Reply With Quote
The following 12 users say Thank You to Jura for this post:
 
  #3 (permalink)
Elite Member
Germany
 
Futures Experience: Advanced
Platform: Quanthouse, Multicharts
Broker/Data: IB / IQ / EBS-ETS
Favorite Futures: FDAX, FGBL, FGBM, CL, ES
 
Locust's Avatar
 
Posts: 95 since Aug 2010
Thanks: 40 given, 112 received

EE Upcoming Events


Hello,

first of all, thanks to everybody involved in this great tool !!!
This saves a lot of manual work.

I have one problem, after installing it in the 64 bit beta of MC.
The Indicator just pops up for a few seconds in my chart and then disappears again.
Every time when i add it to a chart or turn it on or off it repeats the same pattern, appearing for a few seconds
and then disappearing again.

Regards

Locust

Reply With Quote
The following user says Thank You to Locust for this post:
 
  #4 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


Locust View Post
I have one problem, after installing it in the 64 bit beta of MC.
The Indicator just pops up for a few seconds in my chart and then disappears again.
Every time when i add it to a chart or turn it on or off it repeats the same pattern, appearing for a few seconds
and then disappearing again.

Hi Locust,

That sounds like an annoying problem. How does it disappear - does it so silently or gives it an error message and then turns itself off? If so, what's the error message? You probably have, but to check: have you installed the 64 bit version of the ELCollection.DLL? Do other indicators in the MC8 beta work correctly or does this behaviour occurs more often?


Reply With Quote
 
  #5 (permalink)
Elite Member
Germany
 
Futures Experience: Advanced
Platform: Quanthouse, Multicharts
Broker/Data: IB / IQ / EBS-ETS
Favorite Futures: FDAX, FGBL, FGBM, CL, ES
 
Locust's Avatar
 
Posts: 95 since Aug 2010
Thanks: 40 given, 112 received

Completely silent, no error message at all everything else so far works perfect with the new beta. It looks like just redraw of the background when the data disappears, maybe triggered by an update in the chart like a tick etc.
(And yes I have installed the 64 bit version.) When i switch the status on and off it always reappears for a short but different amount of time.




Jura View Post
Hi Locust,

That sounds like an annoying problem. How does it disappear - does it so silently or gives it an error message and then turns itself off? If so, what's the error message? You probably have, but to check: have you installed the 64 bit version of the ELCollection.DLL? Do other indicators in the MC8 beta work correctly or does this behaviour occurs more often?



Locust

Reply With Quote
 
  #6 (permalink)
Elite Member
Germany
 
Futures Experience: Advanced
Platform: Quanthouse, Multicharts
Broker/Data: IB / IQ / EBS-ETS
Favorite Futures: FDAX, FGBL, FGBM, CL, ES
 
Locust's Avatar
 
Posts: 95 since Aug 2010
Thanks: 40 given, 112 received

Solved

I think i just found the answer myself. I had checked update on every tick. Once this was turned off the data stayed on the chart even though data was updated around it.





Locust View Post
Completely silent, no error message at all everything else so far works perfect with the new beta. It looks like just redraw of the background when the data disappears, maybe triggered by an update in the chart like a tick etc.
(And yes I have installed the 64 bit version.) When i switch the status on and off it always reappears for a short but different amount of time.


Locust

Reply With Quote
The following 4 users say Thank You to Locust for this post:
 
  #7 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


Locust View Post
I think i just found the answer myself. I had checked update on every tick. Once this was turned off the data stayed on the chart even though data was updated around it.

Thanks for the update Locust, and glad you got it working.

Reply With Quote
 
  #8 (permalink)
Elite Member
Newcastle, Australia
 
Futures Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker/Data: IB
Favorite Futures: SPI,FTSE100, 6E, 6A
 
Posts: 285 since Oct 2010
Thanks: 108 given, 177 received

Hi,
Having a bit of an issue where not all of the events are being displayed.
I think this relates to my locale. I'm at GMT+10, so I have set the "myTimeZoneOffSet = 16;" allowing for DST.
In the download events file, I have the following -
1120308,1930,3,AUD,Trade Balance
1120308,2030,3,CNY,CPI y/y
1120308,2030,2,CNY,PPI y/y
1120309,0200,1,EUR,German Final CPI m/m
1120309,0200,1,EUR,German Trade Balance

The German events are being correctly displayed as happening this evening (9th March) @ 1800 hrs my time. This is as per ForexFactory.
However, the preceding events (AUD & CNY) are not being displayed at all.
Note the date stamp on these, prior day. But they are for today at (09 March 2012) @ 11:30AM and 12:30AM.
So I'm guesing that the TimeZoneOffSet is doing the time offset but not the date adjustment.

Am I missing a setting somewhere?

Neil.

Reply With Quote
The following user says Thank You to NW27 for this post:
 
  #9 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


NW27 View Post
So I'm guesing that the TimeZoneOffSet is doing the time offset but not the date adjustment.

You're completely correct Neil - thanks for raising the issue here. I was able to replicate it here, so it's not related to your settings etc.

I've attached an updated EE.ReadFile function which adjusts the date (and not just the hours). The settings and other functions can be left untouched, only the ReadFile function needs to be replaced.

With the updated function, I get the following output when using TimeZoneOffSet of 16:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Where the notepad is in EST, and the events on the left on TimeZoneOffSet 16.

(Note that the remaining minutes calculation is wrong here, since my pc's local time is not on Australia time, so the first events have already passed but are still displayed here for that reason.)

Let me know if you run into other problems or the TimeZoneOffSet still gives you problems.

-----

Note: importing the attached EE.ReadFile function will overwrite the existing. For users that have modified the EE.ReadFile function, the following lines...

 
Code
    dateNum        = StrToNum(LeftStr(rawStr, 7));
    
    // Check to see if the date falls in the range specified, if Yes, then continue
    if (dateNum >= FromDate) and (dateNum <= ToDate) then begin
        timeNum        = DateTime2ELTime(ELTimeToDateTime(StrToNum(MidStr(rawStr, 9, 4))) + timeZoneOffset);
..were replaced with:

 
Code
    dtEvent        = ELDateToDateTime(StrToNum(LeftStr(rawStr, 7))) + ELTimeToDateTime(StrToNum(MidStr(rawStr, 9, 4))) + timeZoneOffset;
    dateNum        = JulianToDate(dtEvent);
    
    // Check to see if the date falls in the range specified, if Yes, then continue
    if (dateNum >= FromDate) and (dateNum <= ToDate) then begin
        
        timeNum        = DateTime2ELTime(ELTimeToDateTime(StrToNum(MidStr(rawStr, 9, 4))) + timeZoneOffset);

Attached Files
Register to download File Type: pla EE.ReadFile_v1.1.pla (7.3 KB, 46 views)
Reply With Quote
The following 4 users say Thank You to Jura for this post:
 
  #10 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received


Hi,

Forex Factory has recently modified the HTML code behind its calendar of economic events .

So v1 of EconomicEventsDownloader.jar is not able any more to retrieve the information from Forex Factory Web site.

Enclosed please find a new version (v2) of EconomicEventsDownloader.jar which solves this issue.

As for v1, the enclosed ZIP also contains source code. This source code is useless for the execution of EconomicEventsDownloader.jar. It is just given as a reference if, for any reason (for instance: security), you prefer to review the code and compile yourself the .jar file.

Thanks to @Jura for having spotted the problem in v1, and also having identified a problem (now solved) in beta version of v2. Remaining bugs, if any, are mine.

Nicolas

PS - Forex Factory also limited the historical information available. We cannot obtain economic events prior to 2009 (versus 2007 previously).

Attached Files
Register to download File Type: zip EconomicEventsDownloader_v2.zip (26.2 KB, 68 views)
Reply With Quote
The following 7 users say Thank You to Nicolas11 for this post:

Reply



futures io > > > > The Economic Events Collection for MultiCharts

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
Indicator showing economic events/news on charts (for MultiCharts) Nicolas11 Elite Automated Trading 8 August 10th, 2013 11:34 AM
Screenshot tools collection max-td Beginners and Introductions 26 November 4th, 2012 02:41 AM
All economic events/news 2007-2011 in one CSV file Nicolas11 Elite Automated Trading 12 January 31st, 2012 07:52 AM
Geopolitical Events May Trump Big Week for Economic News Quick Summary News and Current Events 0 March 11th, 2011 10:10 PM
Collection of nuances & issues for developing trading strategies Saroj NinjaTrader Programming 3 July 21st, 2009 12:03 PM


All times are GMT -4. The time now is 06:46 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-18 in 0.15 seconds with 21 queries on phoenix via your IP 54.221.93.187