Jump to content

{share} Script to disable EA on news


Recommended Posts

It is unique. It will disable all the expert advisors of the current terminal when a news related to the forex pairs currencies will emerge.

 

a9c64b3964.gif

 

It will be usefull for ex4 files that you can't modify to implement a news filter inside.

 

You have to put it in the scripts folder.

 

You can set :

 

- ApplySecondsInterval, the number of seconds of interval between two calculationS (to lower cpu charges),

- DisableMinBeforeNews, number of minutes before the news to disable all expert advisors,

- EnableMinAfterNews, number of minutes after the news to enable all expert advisors,

- MinimumImpact, 1 = yellow, orange and red news; 2 = orange and red news, 3 = red news,

- ForceALL, consider all the news,

- ForceAUD, consider the two currencies of the pair, AND the AUD news,

Etc...

 

And then drag it on ONE chart.

 

https://www.sendspace.com/file/7w8r2l

Edited by aaaaaaaaaaaaaaaaaaaaaa
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...