A MT4 AND MT5 EA which Enables/Disables Auto-Trading by News Data stored in a CSV File

MQL5 전문가

명시


Task:

Create an EA similar to the very famous IceFXNews to disable trading before news events and enable trading after news events

MQL4 & MQL5 versions & Source Codes is required, 

The indicator/EA has option to reads events from

1. A csv file .  The csv file has a strict format / data structure as attached example.The CSV file is saved under C:\Users\username\AppData\Roaming\MetaQuotes\xxxx, so I would not need to update this csv file in each mt4/mt5 directory separately.

2. Forexfactory

3. Investing.com

Parameters and functions:

 

Parameter

Type

Note

Calender data name

text

xxxx.csv. Format is identical as attached example csv file.

Enable news filter

True/false

General switch of news filter

GMT-Offset broker server

int

GMT-Offset broker server to csv file. For example broker server is in GMT3, csv file time and date is for GMT0, then this value should be 3-0=3

Trading currencies in this terminal

Text array

I will manually type in the traded currencies in this array like

“USD,CAD,EUR,…” so that the EA will only take care of USD,CAD and EUR relevant news events.

Only consider forex currencies.

For example, a SGD related news will not stop auto-trading in terminal, which trades only EURUSD and AUDUSD.

If this array is empty, then controll all currencies by news events

This setting controls all parameters/functions below!

Text to identify speech

Text array

“speech,speak,speaks” means events containing any of these 3 strings is a speech-type-event. Case insensitive!

enable low impact news

True/false

General switch of actions by low impact news

Include (enable) low impact  speech

True/false

Treat speech as news

* (star) Close all relative positions before low impact news/speech

True/false

Pay attention: this switch has 2 threshold values below!

Close positions FL/FP threshold

Number

Calculate the to-be-closed-positions’ floating loose/floating profit. For example “-0.8” means only if ALL to-be-closed positions’ FL<=0.8 account currency unit, then close all relative positions.

“15” means only if SUM FP>=15, close all relative positions.

“0” means ignore this setting, close all relative positions if the * (star) parameter is “true”.

Close positions lot size threshold

number

For example, 0.5 means close relative positions lot size >= 0.5, “0” means close all relative positions if the * (star) parameter is “true”.

Close position action time before low impact news/speech

number

5 means close positions 5 minutes before news schedule.

Close positions if low impact news is bad for pending positions

True/false

The EA should record the FL/FP of news relative positions before disable auto-trading.

After auto-trading is enabled after news event, the EA compare FL/FP with the value before disable auto-trading.

If FL/FP after news is worse (more floating loose, less floating profit) than before news, then close all news relative positions.

Disable auto-trading by low impact news/speech

True/false

 

Disable auto-trading action time before low impact news/speech

number

70 means disable auto-trading 70 minutes before news schedule.

Enable trading minutes after low impact news

number

In minute.

Enable trading minutes after low impact speech

number

In minute. Since speech takes more time than news. The time will be different as above.

Repeat above points for mid impact news/speech

Repeat above points for high impact news/speech

 

EA should pop-up warning if close position is later than disable auto-trading (wrong setting, wrong logic).

 

Panel

 

EA should have an very easy panel to show following information:

1.     Next relevant event: time, subject and related currency, action.

Example:

   Position of the Text is chart right down corner.

Next event: 2021.09.15, Nonfarm Payroll Data release, USD, close currency related positions if FL<=0.8 30 minutes before event, disable auto-trading 25 minutes before event, enable auto-trading 30 minutes after event.

 

Thank you!


파일:

응답함

1
개발자 1
등급
(153)
프로젝트
182
25%
중재
9
22% / 33%
기한 초과
4
2%
로드됨
2
개발자 2
등급
(11)
프로젝트
16
31%
중재
5
40% / 40%
기한 초과
4
25%
무료
3
개발자 3
등급
(72)
프로젝트
80
10%
중재
36
8% / 53%
기한 초과
6
8%
작업중
4
개발자 4
등급
(10)
프로젝트
14
14%
중재
7
0% / 43%
기한 초과
1
7%
작업중
비슷한 주문
i have a ready made SMC EA and looking for optimizing and debugging and also adding back the missing things in the requirement file. Basically work with the current code and refine it to fit the requirement file. Most indicator is already in the EA and the requirement file below are mostly finish. here are the things need to add back and debug based on the requirement file 1. TP from the filter and need to check
If you think you can replicate EA ("reverse engineering") from Metarader's Market, and create a new EA from scratch that works 100% the same - please send an offer. I have already managed to find out many features of that EA (entry times, risk management, averaging, trailing...) but I still miss a few
Candle wick bot The bot will have a set amount of wick length to enter trade at candle open price, there will be a set Amount in points that the candle wick has to be to then enter that opposite of the wick direction Settings will look like this : Timeframe: (meaning which candles you’re using to measure open price from for the wick length ) If set to 5 min it’ll be using 5 min candles , if set to 15 it’ll use 15
Looking for a developer to create an MT4 EA based on a custom currency strength indicator and simple moving average. Will provide currency strength indicator code to the selected developer. Buy rules If the EA added in the EURUSD chart and EUR has a currency strength above or equal to 6 and USD has strength less than 2. Wait for the prices comes back to SMA and open the buy trade if the price closes above SMA. Place
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
Sistema HTF EFECTIVO 30 - 60 USD
Hola, me gustaría que un programador experimentado creea un sistema de trading EA que abra y cierre operaciones muy rápido en segundos (HFT). Sería óptimo tener una opción/botón para activar solo para comprar o solo para vender (operaciones unidireccionales). Con una buena interfaz gráfica de usuario. Se agradece la implementación de su propia experiencia con sistemas de trading HFT. Es para mercados volátiles como
Hello, I would like an experienced programmer to create an EA trading system which opens and closes trades very fast within seconds (HFT). To have an option/button to activate either for only buy or only sell (one way trading) would be optimal. With a nice GUI. Implementing your own experience with HFT trading systems is welcomed. It's for volatile markets such as XAUUSD or US30. Taking advantage of order placements
The strategy is a martingale type . i.e if it hits the stop loss , it will double the lot size and place again in that direction, and when it hits the take profit at any level of the martingale, it will start over from the first lot size used initially
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
I'm looking for a developer to assist in creating an Expert Advisor (EA) for use in a prop firm. The EA should be designed for the MT4 trading platform and include the following features: Scalping strategy Maximum drawdown of 3% Please let me know if you're interested and capable of handling this project

프로젝트 정보

예산
50+ USD
개발자에게
45 USD
기한
에서 10  15 일