News event monitor EA that closes/disables trading

Rene's trading Expert Advisors

News event monitor EA that closes/disables trading

Postby BolibompaNisse » Wed May 27, 2020 5:00 pm

Hi Rene,
I have a question about the "Additional filter to target specific news…" I think the idea is brilliant and it was just what I needed to meet some prop firms trading rules. But how does the filter work? In my case I need to Close and stop all trades during for example specific news like "Natural Gas Storage or Bank Holiday but and no other news. I put low to high news to true and put in the comma separated list in the additional filter. Is this correct?
BolibompaNisse
 
Posts: 3
Joined: Mon May 18, 2020 9:44 am

News event monitor EA that closes/disables trading

Postby renexxxx » Wed May 27, 2020 6:52 pm

BolibompaNisse » Thu May 28, 2020 3:00 am wrote:Hi Rene,
I have a question about the "Additional filter to target specific news…" I think the idea is brilliant and it was just what I needed to meet some prop firms trading rules. But how does the filter work? In my case I need to Close and stop all trades during for example specific news like "Natural Gas Storage or Bank Holiday but and no other news. I put low to high news to true and put in the comma separated list in the additional filter. Is this correct?

Almost.

The "Additional filter to target specific news" is not a list of filters, separated by comma's. It is just one filter. So, if you want to target only the news items that have "Gas" in their title, enter the string "Gas" for this parameter. The comparison is case-sensitive. We could have made this a list of regular expressions, but thought that this would be overkill and confuse the user unnecessarily.

René
User avatar
renexxxx
 
Posts: 861
Joined: Sat Dec 31, 2011 3:48 am

News event monitor EA that closes/disables trading

Postby SteveHopwood » Wed May 27, 2020 7:03 pm

renexxxx » Wed May 27, 2020 6:52 pm wrote:We could have made this a list of regular expressions, but thought that this would be overkill and confuse the user unnecessarily.


I agree. SHF is a Forex trading forum. Coders could go nuts trying to accommodate every other possible combination of instruments. Best to try to stay as sane as possible, especially right now.

:xm: :rocket:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 9452
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

News event monitor EA that closes/disables trading

Postby lowlaywei87 » Mon Mar 22, 2021 10:37 am

Guys....I don't have the permission to view & download this news filter...I want this news filter so badly....Anyone can share with me ?? PLS Help..........
lowlaywei87
 
Posts: 2
Joined: Mon Mar 22, 2021 10:32 am

News event monitor EA that closes/disables trading

Postby tomele » Mon Mar 22, 2021 11:35 am

lowlaywei87 » 22 Mar 2021, 11:37 wrote:Guys....I don't have the permission to view & download this news filter...I want this news filter so badly....Anyone can share with me ?? PLS Help..........


Be patient. You have to wait until Steve sends you his welcome package. You must read and understand it to become a full member of SHF.
Happy pippin, Thomas ;)

It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.
(Mark Twain)

My Broker: Global Prime
My VPS Service: FX VPS
Keep the coder going: Donate
User avatar
tomele
 
Posts: 1159
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

News event monitor EA that closes/disables trading

Postby lowlaywei87 » Thu Mar 25, 2021 4:00 pm

renexxxx » Sun Jan 08, 2017 7:30 pm wrote:
luke » Sun Jan 08, 2017 8:58 pm wrote:I'm also missing one of the include files, mql4-http.mqh is referenced in LibFF.mqh. A google search turned it up here: https://github.com/sergeylukin/mql4-htt ... 4-http.mqh

My mistake.

All these include files were already attached in this thread, so I didn't bother to attach them here as well. But I have now also included mql4-http.mqh to Post 1 of this thread. Both files are identical.

Hope you can compile now ... if not, you still have the option to use the .ex4 file.



Bro, both files LibFF.mqh & mql4-http.mqh from below directories are identical ya ?
lowlaywei87
 
Posts: 2
Joined: Mon Mar 22, 2021 10:32 am

News event monitor EA that closes/disables trading

Postby renexxxx » Thu Mar 25, 2021 7:24 pm

lowlaywei87 » Fri Mar 26, 2021 2:00 am wrote:
Bro, both files LibFF.mqh & mql4-http.mqh from below directories are identical ya ?

I do not respond well to people calling me "Bro". A bit more respect on your second post on this forum would suit you well. Otherwise, your second post will be your last.

All the files you need are attached in Post 1 of this thread.
User avatar
renexxxx
 
Posts: 861
Joined: Sat Dec 31, 2011 3:48 am

News event monitor EA that closes/disables trading

Postby SteveHopwood » Thu Mar 25, 2021 7:59 pm

lowlaywei87 » Thu Mar 25, 2021 4:00 pm wrote:
Bro, both files LibFF.mqh & mql4-http.mqh from below directories are identical ya ?

Just to reinforce Rene's reply. Morons are not welcome at SHF. Your post identified you as a moron. Post so stupidly again and it will be a race to see which of the mods bans you first. :lol:

Not that Rene needs my reinforcement. He is one of the most senior members of SHF with the authority to do pretty much what he wants. Just something for folks to consider before posting idiotically in one of his threads.

You think that both of these files are identical? I am no more going to confirm or deny this than did Rene. Warning folks: anyone else daft enough to do so is in serious trouble.

lowlaywei87, identify your one firing synapse and give it some electric shock stimulation to fire it into movement, and work out the answer for yourself.

Sorry, but you really are an idiot.

:xm: :rocket:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the several thousand SHF members who wisely choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 9452
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

News event monitor EA that closes/disables trading

Postby heart1010 » Wed Mar 31, 2021 8:46 am

Thanks for the update renexxxx!
heart1010
 
Posts: 52
Joined: Wed Mar 30, 2016 8:33 pm

News event monitor EA that closes/disables trading

Postby sureshjit » Wed Jul 14, 2021 10:54 am

Hi everyone, is anyone else getting the following error in their experts log with this CloseOnNewsEav2.1?

2021.07.14 20:49:28.806 CloseOnNewsEAv2.1 GBPUSD.a,H1: invalid pointer access in 'EasyXmlNode.mqh' (175,11)

Prior to today the EA seemed to be working fine.

R, Suresh
sureshjit
 
Posts: 3
Joined: Sat Jul 10, 2021 7:11 am

PreviousNext

Return to Auto-trading EA's and EA monitors

Who is online

Users browsing this forum: No registered users and 1 guest