Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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 .
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));
// 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));
// 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));
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?
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?
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