Download MetaTrader 5

Skip hours when there are RED Economic news from forexfactory or myfxbook

To add comments, please log in or register
Vaidas Siburskis
125
Vaidas Siburskis  

Hello,

Is there a script or indicator from which i can read colour or smth that will allow to skip some trading hours based on red news? I do not want that my robot will trade on high impact news.

Ronnie Mansolillo
5529
Ronnie Mansolillo  
orangutangas:

Hello,

Is there a script or indicator from which i can read colour or smth that will allow to skip some trading hours based on red news? I do not want that my robot will trade on high impact news.

Hi Orangutangas,

if you run on charts already an EA you need to add this function to your EA or add a script that disable trading during high volatility of market. This is an idea but I don't have experience on this.

I will suggest to you to post a job inside the freelance section and you will solve your issue.

Vaidas Siburskis
125
Vaidas Siburskis  
Rosiman:

Hi Orangutangas,

if you run on charts already an EA you need to add this function to your EA or add a script that disable trading during high volatility of market. This is an idea but I don't have experience on this.

I will suggest to you to post a job inside the freelance section and you will solve your issue.

there is somehow a way to read data from dll and translate to script for high volatility hours
Ronnie Mansolillo
5529
Ronnie Mansolillo  
orangutangas:
there is somehow a way to read data from dll and translate to script for high volatility hours

Yes I also think there could be a solution. Now if you don't find it inside code base section you may need a developer inside the freelance section to code it on your needs.

You need it for MT4 or MT5?I will take a look inside code base.

Vaidas Siburskis
125
Vaidas Siburskis  
Rosiman:

Yes I also think there could be a solution. Now if you don't find it inside code base section you may need a developer inside the freelance section to code it on your needs.

You need it for MT4 or MT5?I will take a look inside code base.

MT4 please. There is one indie in FF that goes to kernell32.dll or smth and extract data from it but still have not maanged how it works.
Ronnie Mansolillo
5529
Ronnie Mansolillo  
orangutangas:
MT4 please. There is one indie in FF that goes to kernell32.dll or smth and extract data from it but still have not maanged how it works.

There are some codes that close all orders as the following links,so you may need to change them and only allow during high volatility. You should ask a developer:

https://www.mql5.com/en/code/11104

https://www.mql5.com/en/code/11973

https://www.mql5.com/en/code/10995

https://www.mql5.com/en/code/8728

This other code calculates volatility:

https://www.mql5.com/en/code/7755

Now is up to you.

Ronnie

KILL ALL ORDERS (All Symbols)
KILL ALL ORDERS (All Symbols)
  • votes: 8
  • 2014.01.30
  • Jack Thomas
  • www.mql5.com
Someone asked me to provide them a way to close all their orders. This script will serve that purpose. Place this script in your \experts\scripts folder. When you want to close all the orders just drop this script on a chart.
Vaidas Siburskis
125
Vaidas Siburskis  
Rosiman:

There are some codes that close all orders as the following links,so you may need to change them and only allow during high volatility. You should ask a developer:

https://www.mql5.com/en/code/11104

https://www.mql5.com/en/code/11973

https://www.mql5.com/en/code/10995

https://www.mql5.com/en/code/8728

This other code calculates volatility:

https://www.mql5.com/en/code/7755

Now is up to you.

Ronnie

thank you guys
To add comments, please log in or register