Economic Calendar Indicator for MC

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
damageboy
Posts: 70
Joined: 15 Sep 2006
Been thanked: 14 times

Economic Calendar Indicator for MC

Postby damageboy » 23 Oct 2006

Hi,
I've coded an utility and indicator for MC to plot Economic Events,
The resulting chart looks something like this:
Image

Update:
I've re-exported the indicator to include the ELDateToString and ELTimeToString function which may not be installed on your MC installation...

NOTE: This indicator is based on ADE, which is based on ELCollections extension to TS, which is also compatible with the latest beta of MC (1.90.644.1126).
To install ADE / ELCollections / GlobalVariables you can refer to a prior post of mine:
http://forum.tssupport.com/viewtopic.php?t=2483

The package is made of 3 parts:
  • A .csv file containing the economic events, generated from the Econoday economic calendar: http://www.bloomberg.com/markets/ecalendar/index.html
    You will find it in the EconodayScraper.zip file named "econoday-2006.csv"
  • An utility to (re-)generate the above mentioned .csv file, this utility required the .net 2.0 runtime framework to be installed in advance
  • The indicator
The indicator has the following inputs:
  • TZOffset - Amount in hours (can be positive/negative) to offset the data for display, For example, in the example chart, I use the exhcnage time zone, so ET needs to be offset by "-1" for local MC
  • Filename - Path to the .csv file. No istakes here or you have to reload MC
  • DisplayTickOffset - Some configurable display offset to make sure economic events don't appear one on top of the other..
  • DisplayTimeText - Prepend the time of the event to the text (useful when pltting events on high time frames charts (60m/120m)
  • FontName - Font to use for the text
  • FontSize - Guess....
NOTE: You will have to set the chart space to the right property so that the information items can actually appear at their correct place...
Attachments
ee.xml
Updated version with ELDateToString() and ELTimeToString() functions included...
(13.18 KiB) Downloaded 362 times
EconodayScraper.zip
(108.93 KiB) Downloaded 397 times
ee.png
ee.png (49.53 KiB) Viewed 2481 times
Last edited by damageboy on 29 Oct 2006, edited 3 times in total.

bernard
Posts: 4
Joined: 24 Oct 2006
Been thanked: 1 time

Postby bernard » 24 Oct 2006

Thanks, can you also post the program that generates the csv file? Or it's inside the EconodayScraper.zip?

damageboy
Posts: 70
Joined: 15 Sep 2006
Been thanked: 14 times

Postby damageboy » 26 Oct 2006

It's inside the EconodayScraper.zip file

If you feel anxious to see the source PM me, I don't mind sharing it, just didn't want to add TOO much noise.

Guest

Postby Guest » 29 Oct 2006

I don't see where to download the indicator, its not in the EconodayScraper zip, or am I possibly missing something?

Thanks a bunch for your generous contributions

damageboy
Posts: 70
Joined: 15 Sep 2006
Been thanked: 14 times

Postby damageboy » 29 Oct 2006

@Guest:
My bad, I somehow deleted the .xml attachment.
My sincere apologies...

Master post now contains the .xml file.
The EconodayScraper.zip file contains the app + .csv

epepping

Function unknown

Postby epepping » 29 Oct 2006

Thanks, I installed everything including the collections and the neccesasy AD library.
however when i compile the ELTimeToString function is unknown...

damageboy
Posts: 70
Joined: 15 Sep 2006
Been thanked: 14 times

Postby damageboy » 29 Oct 2006

I will add it to the list of exported functions and re-export.
It's just one of those functions I was never sure about whether they belong to the plain vanilla distribution or not... (The name ELXXX usually suggests they do..)

AccuracySR
Posts: 16
Joined: 15 Mar 2006
Been thanked: 1 time

Postby AccuracySR » 13 Mar 2007

Hi
I get an error when I try to add the study
company Bamboo
erro location EL collections
error category el collections error
source string there is no colection with that ID erro code 0

I importeed and complied the els files (all data and ell collections) and I put the dll files in the correct location but wasnt sure where the EconodayScraper\Econoday-2006.csv and EconodayScraper\EconodayScraper.exe exel go?

damageboy
Posts: 70
Joined: 15 Sep 2006
Been thanked: 14 times

Postby damageboy » 13 Mar 2007

Hi,
The .csv file can go anywhere you want to place it in.
The "trick" is to point the indicator to the .csv file.
So the Filename input of the indicator should point to the file.

Example:
The .csv file is placed in c:\2007.csv
The Filename input needs to point to "C:\2007.csv"
The input MUST INCLUDE the Quote marks.

The .exe/.dll files can go anywhere you want them to, they are not used @ runtime.
In theory (unless bloomberg changes the economic event listing) you should run the .exe file once every year to get the .csv file :)

ax
Posts: 34
Joined: 21 Nov 2005
Has thanked: 15 times
Been thanked: 2 times

Postby ax » 04 Jan 2009

Trying to run scraper and I receive an error message "unable to connect to the remote server"

Any help would be most appreciated.

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Postby TJ » 04 Jan 2009

ax wrote:Trying to run scraper and I receive an error message "unable to connect to the remote server"
Any help would be most appreciated.


In all fairness, please first tell us WHAT you have done...
Last edited by TJ on 04 Jan 2009, edited 1 time in total.

bomberone1
Posts: 159
Joined: 02 Nov 2010
Has thanked: 13 times
Been thanked: 10 times

Re: Economic Calendar Indicator for MC

Postby bomberone1 » 04 Jul 2011

It doen't work anymore.
Could you post opencode to improve it please?

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Economic Calendar Indicator for MC

Postby TJ » 04 Jul 2011

bomberone1 wrote:It doen't work anymore.
Could you post opencode to improve it please?


Have you read the whole thread?

In all fairness, please first tell us WHAT you have done...

bomberone1
Posts: 159
Joined: 02 Nov 2010
Has thanked: 13 times
Been thanked: 10 times

Re: Economic Calendar Indicator for MC

Postby bomberone1 » 05 Jul 2011


bomberone1
Posts: 159
Joined: 02 Nov 2010
Has thanked: 13 times
Been thanked: 10 times

Re: Economic Calendar Indicator for MC

Postby bomberone1 » 05 May 2016

UPDATE?

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Economic Calendar Indicator for MC

Postby TJ » 05 May 2016

Please see this thread:
The Economic Events Collection for MultiCharts
viewtopic.php?f=5&t=9951


Return to “User Contributed Studies and Indicator Library”