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,610 / 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

  #41 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 854 received
Forum Reputation: Legendary

monexx,

did you download the Economic events before with the Java tool?

Regards,
ABCTG


monexx View Post
Hello Jura
I compiled code in Multicharts but the chart does not show me anything.

Can you please advise where it can be wrong?


Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
  #42 (permalink)
Trading Apprentice
Nitra Slovakia
 
Futures Experience: Intermediate
Platform: Multicharts
Favorite Futures: Currency Futures
 
Posts: 3 since Feb 2014
Thanks: 2 given, 0 received


ABCTG View Post
monexx,

did you download the Economic events before with the Java tool?

Regards,
ABCTG


Yes, I downloaded it.
Upcoming economic events idicator works well.
This version for backtest published by Jura does not work .
It will not appear historical economic events on the chart .

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



monexx View Post
Yes, I downloaded it.
Upcoming economic events idicator works well.
This version for backtest published by Jura does not work .
It will not appear historical economic events on the chart .

What have you tried so far, and when does the error occur?


Last edited by Jura; February 20th, 2014 at 12:40 PM. Reason: Responded to wrong post.
Reply With Quote
The following 2 users say Thank You to Jura for this post:
 
  #44 (permalink)
Trading Apprentice
Nitra Slovakia
 
Futures Experience: Intermediate
Platform: Multicharts
Favorite Futures: Currency Futures
 
Posts: 3 since Feb 2014
Thanks: 2 given, 0 received

I turned off : Update on every tick
I compile the code in this form :

Inputs:
NameOfList("myHistList"),
RegionsToKeep("EUR;USD;GBP"),
ChopUpStrings(False),
Ticks_OffSet(8),
HighImpact_Color(Red),
MediumImpact_Color(yellow),
LowImpact_Color(cyan),
DisplayArrow(True),
Arrow_Size(5),
DisplayLine(True),
Line_Width(1),
Line_Style(2),
DisplayText(True),
Text_FontSize(10),
Text_FontName("Lucida Sans Typewriter"),
Text_FontColor(white);

Variables:
tickOffSet( Ticks_OffSet * MinMove), //(Power(10, Round(Log(PriceScale) / Log(10), 0)) / MinMove) ),
tickSize(MinMove / PriceScale),
dtEconEvent(0), prevDtEconEvent(0), dtNextBar(0), dtPrevBar(0), indexNumber(1),
firstDate(0), firstTime(0), arrowID(0), textID(0), tlID(0), loopDoneForBar(False), impactOfEvent(0),
listLength(0),
x(0), y(0), z(0);

if (CurrentBar = 1) then begin
firstDate = Date;
firstTime = Time_s;
end;

Arrays:
barPrice[](0), barDT[](0), barPriceLow[](0);

once cleardebug;

// Collect data
if (BarStatus(1) = 2) then begin
x = Array_GetMaxIndex(barPrice);

Array_SetMaxIndex(barPrice, x + 1);
Array_SetMaxIndex(barDT, x + 1);
Array_SetMaxIndex(barPriceLow, x + 1);

barPrice[x+1] = Highest(High, 10); //High;

if (x > 10) then
barPrice[x+1-10] = Highest(High, 20);

barDT[x+1] = ELDateToDateTime(Date) + ELTimeToDateTime_s(Time_s);
barPriceLow[x+1] = Low - (MinMove * 2);

end; //: Data collection


if (LastBarOnChart_s = True) and (BarStatus(1) = 2) and (GetAppInfo(aiRealTimeCalc) = 0) then begin

// Generate economic events list
once begin

value1 = EE.GetHistoricalEvents(NameOfList, firstDate, Date);
// value1 = EE.GetFutureEvents(NameOfList);
value1 = EE.KeepTimeRange(NameOfList, SessionStartTime(0, DayOfWeek(Date)), SessionEndTime(0, DayOfWeek(Date)));
value1 = EE.KeepRegions(NameOfList, RegionsToKeep); // Only keep the specified regions in the list
value1 = EE.RemoveImpact(NameOfList, 0); // Remove all events with impact 0 (i.e. bank holiday)

// Note: uncomment the line below to see which Economic Events are in the list after the filtering functions. (For debugging purposes)
// EE.PrintToOutputLog(NameOfList);
end;

Print("Lengt of bar array: ", array_getmaxindex(barPrice), " and barDt: ", array_getmaxindex(barDT));

dtEconEvent = EE.DateTimeOfEvent(NameOfList, indexNumber);
listLength = EE.GetMaxIndex(NameOfList);

z = 1;
y = 1;
value1 = 1;
value2 = 1;

// Loop through data
for x = 1 to Array_GetMaxIndex(barDT) - 1 begin

// if there are multiple economic events on this time
for z = 0 to 9 begin

if (IntPortion(barDT[x]) = IntPortion(dtEconEvent)) and (barDT[x-1] < dtEconEvent) and (barDT[x+1] > dtEconEvent) then begin

Print("PrevBar: ", DateTimeToString(barDT[x-1]), " Event: ", DateTimeToString(dtEconEvent), " next bar: ", DateTimeToString(barDT[x+1]));
Print(Spaces(2), "Date of event: ", FormatDate("dd-MM-yy", ELDateToDateTime(EE.DateList(NameOfList, indexNumber))),
" Time of event: ", FormatTime("HH:mm:ss", ELTimeToDateTime(EE.TimeList(NameOfList, indexnumber))),
" name of event: ", EE.EventList(NameOfList, indexNumber));

// Plot
if (z = 0) then begin

if (DisplayText = True) then

textID = Text_New_s(EE.DateList(NameOfList, indexNumber),
EE.TimeList(NameOfList, indexNumber) * 100,
barPrice[x] + (tickSize * 2) + Arrow_Size,
IffString(ChopUpStrings = True,
StrChopUp(Text(EE.EventList(NameOfList, indexNumber), " (", EE.RegionList(NameOfList, indexNumber), ")")),
Text(EE.EventList(NameOfList, indexNumber), " (", EE.RegionList(NameOfList, indexNumber), ")")
));

if (DisplayArrow = True) then

arrowID = Arw_New_s(EE.DateList(NameOfList, indexNumber),
EE.TimeList(NameOfList, indexNumber) * 100,
barPrice[x], True);

if (DisplayLine = True) then
tlID = TL_New_s(EE.DateList(NameOfList, indexNumber),
EE.TimeList(nameOfList, indexNumber) * 100,
barPriceLow[x],
EE.DateList(NameOfList, indexNumber),
EE.TimeList(nameOfList, indexNumber) * 100,
barPriceLow[x] * 0.85);


end //: z = 0

else if (DisplayText = True) then
value1 = Text_SetString(textID, Text(Text_GetString(textID), NewLine, "&", NewLine,
IffString(ChopUpStrings = True,
StrChopUp(Text(EE.EventList(NameOfList, indexNumber), " (", EE.RegionList(NameOfList, indexNumber), ")")),
Text(EE.EventList(NameOfList, indexNumber), " (", EE.RegionList(NameOfList, indexNumber), ")"))
));

// Formatting
value6 = Text_SetSize(textID, Text_FontSize);
value6 = Text_SetFontName(textID, Text_FontName);
value6 = Text_SetStyle(textID, 0, 1);
value6 = Text_SetColor(textID, Text_FontColor);

value7 = Arw_SetSize(arrowID, Arrow_Size);

value8 = TL_SetStyle(tlID, Line_Style);
value8 = TL_SetSize(tlID, Line_Width);

impactOfEvent = EE.ImpactList(NameOfList, indexNumber);

switch (impactOfEvent) begin

case 1: // low impact
value5 = Arw_SetColor(arrowID, LowImpact_Color);
value5 = TL_SetColor(tlID, LowImpact_Color);

case 2: // medium
value5 = Arw_SetColor(arrowID, MediumImpact_Color);
value5 = TL_SetColor(tlID, MediumImpact_Color);

case 3: // high
value5 = Arw_SetColor(arrowID, HighImpact_Color);
value5 = TL_SetColor(tlID, HighImpact_Color);

end; //: ImpactOfEvent switch

indexNumber = indexNumber + 1;

dtEconEvent = IFF(indexNumber > listLength, 9999999, EE.DateTimeOfEvent(NameOfList, indexNumber));

Print(Spaces(3), "Next econ event = ", DateTimeToString(dtEconEvent));

// value2 = value2 + 1;

end else if (IntPortion(barDT[x]) > IntPortion(dtEconEvent)) then begin

Print("BarDT: ", DateTimeToString(BarDT[x]), " econ event: ", DateTimeToString(dtEconEvent), " - happened on a market closed day");

indexNumber = indexNumber + 1;

dtEconEvent = EE.DateTimeOfEvent(NameOfList, indexNumber);

// value1 = value1 + 1;
end;

end; //: z loop
end; //: x loop

// Print("How many economic events missed? ", value1);
// Print("How many economic events plotted? ", value2);

loopDoneForBar = False;

while (loopDoneForBar = False) begin

// If the economic event doesn't happen on this day -> skip
// that way, when the market is closed when economic events happened, the list moves on
if (IntPortion(barDT[x]) > IntPortion(dtEconEvent)) then begin

y = y + 1;

Print(Spaces(2), "How many days skipped? ", NumToStr(y, 0));

Print(Spaces(4), "Date: ", FormatDate("dd-MM-yyyy", barDT[x]),
" event date: ", FormatDate("dd-MM-yyyy", dtEconEvent));

indexNumber = indexNumber + 1;

if (indexNumber <= listLength) then begin
dtEconEvent = EE.DateTimeOfEvent(NameOfList, indexNumber);
// Print("indexnum: ", NumToStr(indexNumber, 0));
end;

loopDoneForBar = True;

end else

if (barDT[x-1] < dtEconEvent) and (barDT[x+1] > dtEconEvent) then begin

z = z + 1;

Print("How many events are there according to the code? ", NumToStr(z, 0),
" And what is x? ", NumToStr(x, 0));

// Print(Spaces(2), "dt: ", NumToStr(dtEconEvent, 10), " indexNumber: ", indexNumber,
// " Date: ", FormatDate("dd-MM-yyyy", dtEconEvent), " time: ", ToTime_DT(dtEconEvent));

// Draw text & arrows
textID = Text_New_s(EE.DateList(NameOfList, indexNumber), EE.TimeList(NameOfList, indexNumber) * 100, barPrice[x] + tickOffSet,
Text(EE.EventList(NameOfList, indexNumber), "(", EE.RegionList(NameOfList, indexNumber), ")"));

arrowID = Arw_New_s(EE.DateList(NameOfList, indexNumber), EE.TimeList(NameOfList, indexNumber),
barPrice[x] + 0.33 * tickOffSet, True);

indexNumber = indexNumber + 1;
dtEconEvent = EE.DateTimeOfEvent(NameOfList, indexNumber);

if (dtEconEvent = prevDtEconEvent) then
loopDoneForBar = False
else
loopDoneForBar = True;

end else
loopDoneForBar = True;
end;
//prevDtEconEvent = dtEconEvent;




Print("length of list? : ", EE.GetMaxIndex(NameOfList));

end; //: LastBarOnChart_s check




I got this error message : attached screenshot

Attached Thumbnails
The Economic Events Collection for MultiCharts-ee-backtest.png  
Reply With Quote
 
  #45 (permalink)
Slow Learner, Slow Burner
Melbourne, Australia
 
Futures Experience: Intermediate
Platform: NT8, Multicharts,Sierra
Broker/Data: CQG, IB
Favorite Futures: YM,CL,GC,6E,6J
 
Posts: 94 since Mar 2013
Thanks: 82 given, 45 received

Hi Jura and Nicolas,
I've been using your wonderful tool for months now.

However, I ran into my first forexfactory problem today - see pic below.
Do you think they've changed their settings again ?

EDIT - IGNORE THIS, IT'S BACK UP AND RUNNING AGAIN

Attached Thumbnails
The Economic Events Collection for MultiCharts-screen-shot-2014-11-30-10.02.22-am.png  
Reply With Quote
 
  #46 (permalink)
Trading Apprentice
Cape Town
 
Futures Experience: Intermediate
Platform: NinjaTrader, MultiCharts
Favorite Futures: Futures
 
Posts: 6 since Mar 2012
Thanks: 4 given, 0 received

STD Exception

Hi Guys I keep getting the error STD Exception: underflow/overflow/range error??? Anyone know how to fix it??

Reply With Quote
 
  #47 (permalink)
Elite Member
Boston, MA
 
Futures Experience: Intermediate
Platform: MultiCharts, TradeStation, NinjaTrader, ThinkorSwim
Favorite Futures: ES
 
Posts: 22 since Jul 2011
Thanks: 15 given, 12 received


Jura View Post
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.

I'm a little bit confused by this: I only see functions in the download package, but no "indicator." What am I missing here? Thanks...

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


tortoise View Post
I'm a little bit confused by this: I only see functions in the download package, but no "indicator." What am I missing here? Thanks...

This is somewhat ironic. My post that you quote has a sentence that read: "This indicator can be downloaded here.". Did you click on that link? It takes me to the download file (.pla) with the indicator. Does the .pla file not work for you?

Reply With Quote
 
  #49 (permalink)
Trading Apprentice
Phoenix, Arizona
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: YM
 
Posts: 1 since Oct 2011
Thanks: 0 given, 0 received

Economic Events Downloader 5.1 error

I just love the Economic Events tools. They are indispensable!

Starting about March 29, the downloader gives an error message:
Problem for identification of hour in: <td class="calendar__cell calendar__time time">1:30am</td>
main.ParseStringAndSave.parseStringAndSaveToFile(ParseStringAndSave.java:165)

Probably Forex Factory changed the calendar format again.

Could Nicolas11 fix the Java or whoever is officially maintaining the source code?

Thank you, very much appreciate this effort.

Reply With Quote
 
  #50 (permalink)
Trading Apprentice
Hamburg, Germany
 
Futures Experience: Intermediate
Platform: Sierra Charts
Favorite Futures: ES
 
Posts: 5 since Oct 2010
Thanks: 1 given, 0 received

Same Problem



rrams View Post
Starting about March 29, the downloader gives an error message:
Problem for identification of hour in: <td class="calendar__cell calendar__time time">1:30am</td>
main.ParseStringAndSave.parseStringAndSaveToFile(ParseStringAndSave.java:165)

Problem for identification of hour in: <td class="calendar__cell calendar__time time">1:30am</td>
main.ParseStringAndSave.parseStringAndSaveToFile(ParseStringAndSave.java:165)
main.Main.step3_proceedForFutureEconomicEvents(Main.java:134)
main.Main.main(Main.java:319)

Same Problem here, any help how to fix this problem would be apreciated.
Thank you


Last edited by knias; April 4th, 2016 at 06:00 AM.
Reply With Quote

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 04:33 AM.

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-15 in 0.18 seconds with 20 queries on phoenix via your IP 54.234.255.29