News Trader EA - page 78

Sergey Golubev
Moderator
113899
Sergey Golubev  

It is from the first post of this thread:

Version 6.

- Please find EA (version #6), example of forex calendar in text file and SetsFile.

- this version is having possibility of input of external (different) settings for each type of news. Set you setting in SetsFile. Last number in text calendar is number of the settings.

Everything concerning the version #6 is in v2_3_5_6.zip file (v6.zip).

Last number in text calendar is number of the settings. It is Igorad's description. But as I see there is 0 (zero) as settings number so it means 'inner EA's settings'?

Because number of the settings is the simple numbers as

1

2

3 and so on

and not as 0

May be it is not external settings and it is internal EA's settings.

Thus, some number (may be last one) is the number of the settings in SetsFile.txt). It is for version #6 only.

Ovidiu Marius
603
Ovidiu Marius  

If UseExternalSets=0 SetsFile is not used so for now I replaced last number by 0

I made sample file

2008.05.08;1:30;AUD;AUD Employment Change (APR);2;0

2008.05.08;1:30;AUD;AUD Unemployment Rate (APR);2;0

2008.05.08;1:30;AUD;AUD Participation Rate (APR);1;0

2008.05.08;5:45;CHF;CHF Unemployment Rate (APR);2;0

2008.05.08;5:45;CHF;CHF Unemployment Rate s.a. (APR);2;0

2008.05.08;6:00;EUR;EUR Germany Trade Balance (MAR);3;0

2008.05.08;6:00;EUR;EUR Germany Current Account (Euro) (MAR);3;0

2008.05.08;6:00;EUR;EUR Germany Imports s.a. (MoM) (MAR);1;0

2008.05.08;6:00;EUR;EUR Germany Exports s.a. (MoM) (MAR);1;0

2008.05.08;10:00;EUR;EUR Germany Industrial Production s.a. (MoM) (MAR);1;0

2008.05.08;10:00;EUR;EUR Germany Industrial Production n.s.a. w.d.a. (YoY) (MAR);2;0

2008.05.08;11:00;GBP;GBP Bank of England Rate Decision;3;0

2008.05.08;11:45;EUR;EUR European Central Bank Rate Decision;3;0

2008.05.08;12:15;CAD;CAD Housing Starts (APR);2;0

2008.05.08;12:30;USD;USD Initial Jobless Claims (May 3);1;0

2008.05.08;12:30;USD;USD Continuing Claims (APR 26);1;0

2008.05.08;14:00;USD;USD Wholesale Inventories (MAR);1;0

2008.05.08;16:30;USD;USD Former Fed Chairman Greenspan Speaks in New York;2;0

2008.05.08;17:30;USD;USD ICSC Chain Store Sales (YoY) (APR);1;0

2008.05.08;23:50;JPY;JPY Foreign Buying Japan Stocks (May 2);1;0

2008.05.08;23:50;JPY;JPY Foreign Buying Japan Bonds (May 2);1;0

2008.05.08;23:50;JPY;JPY Japan Buying Foreign Stocks (May 2);1;0

2008.05.08;23:50;JPY;JPY Japan Buying Foreign Bonds (May 2);1;0

2008.05.08;23:50;JPY;JPY Official Reserve Assets (APR);1;0

2008.05.09;1:30;AUD;AUD Reserve Bank of Australia Quarterly Monetary Policy Statement;2;0

2008.05.09;5:00;JPY;JPY Leading Economic Index (MAR P);3;0

2008.05.09;5:00;JPY;JPY Coincident Index (MAR P);1;0

2008.05.09;6:45;EUR;EUR France Industrial Production (MoM) (MAR);1;0

2008.05.09;6:45;EUR;EUR France Industrial Production (YoY) (MAR);1;0

2008.05.09;6:45;EUR;EUR France Manufacturing Production (MoM) (MAR);1;0

2008.05.09;6:45;EUR;EUR France Manufacturing Production (YoY) (MAR);1;0

2008.05.09;11:00;CAD;CAD Unemployment Rate (APR);2;0

2008.05.09;11:00;CAD;CAD Net Change in Employment (APR);3;0

2008.05.09;12:30;CAD;CAD International Merchandise Trade (MAR);3;0

2008.05.09;12:30;USD;USD Trade Balance (MAR);3;0

but next event is not displayed properly (wrong date)

Files:
nt6a.jpg 17 kb
Sergey Golubev
Moderator
113899
Sergey Golubev  

I had this problem with 1970 and when i replaced webget with new webget file so it was fixed. But it was long time ago. May be you are using new webget file as I updated everything already on many threads.

Sergey Golubev
Moderator
113899
Sergey Golubev  

As to your calendar so I see that you made many news events on same date/time. This calendar in text file is just for EA and if EA see many news on same date/time so RA may be confused about what to do ...

But as I know EA will trade one new event even if it is written many events for the same pair with the same date/time. But just in case ...

Ovidiu Marius
603
Ovidiu Marius  

So were is right webget ? Is just a sample file, is not sorted out, first I want to see if I can get it work

Sergey Golubev
Moderator
113899
Sergey Golubev  

There is this thread about webget https://www.mql5.com/en/forum/176725 but i am not sure about what is new and what is old one.

Download webget from this post (attachments): https://www.mql5.com/en/forum/177102 as it was updated by me some time ago.

Ovidiu Marius
603
Ovidiu Marius  

Same file and same problem.

Sergey Golubev
Moderator
113899
Sergey Golubev  

I don't know ...

Try to use currency filter in v #6 just to see more (if error).

I remember I had same error (with the other versions) but when I replaced webget so everything was fine.

Ovidiu Marius
603
Ovidiu Marius  

filter is set...

if go in trade correctly I don't care about this error

Igor Durkin
6957
Igor Durkin  

NewsTrader_v6 works properly with correct calendars.

At the end of each line should be semicolon(";"):

2008.05.08;11:00;GBP;GBP Bank of England Rate Decision;3;0;

As you can see on a screenshot there's no problem with your calendar.

Files:
nt_6.gif 14 kb