I need an EA that read signal from a csv file

MQL4 Эксперты

Работа завершена

Время выполнения 115 дней

Техническое задание

I need an Expert Advisor that works in strategy tester and in live trading on a Metatrader 4 terminal. I would like this job to be done through the "Job service".

The task will be to read signal from a csv file and to execute orders when one or several new signals are detected. The file is updated daily but the EA must performs its check every 5 minutes.

How it works ?

Let's take an example to see how it works.

Content of the file the 2015-01-01:

Date,Pair,PriceLimit,PositionType

File is empty, there is no signal and no position that need to be open.

Content of the file the 2015-01-02:

Date,Pair,PriceLimit,PositionType
2015-01-02,EURUSD,1.17545,1
2015-01-02,EURGBP,0.77877,-1
2015-01-02,USDJPY,120.132,1

The 2nd of January the EA must open 3 positions :

  • long EURUSD with limit at $1.17545 plus an offset
  • short EURGBP with limit at $0.77877 plus an offset
  • long USDJPY with limit at $120.132 plus an offset

The offset is a value that comes from an external variable. It can be positive or negative depending on the type of the position : long or short.

Lot size must be calculated so that the margin is equal to 1/3 of the balance the EA can trade with (see bellow in Volume Of The Position).

Content of the file the 2015-01-15:

Date,Pair,PriceLimit,PositionType
2015-01-02,EURUSD,1.17545,1
2015-01-02,EURGBP,0.77877,-1
2015-01-02,USDJPY,120.132,1
2015-01-15,EURUSD,1.18325,1
2015-01-15,EURGBP,0.79877,-1
2015-01-15,USDCHF,1.06877,-1

The 15th of January the EA :

  • must close the USDJPY (long) position at market price
  • and open a new USDCHF (short) position with a limit at 1.06877 plus an offset
  • the EURUSD (long) and EURGBP (short) positions remains open

Same rules as above apply for the offset and the lot size.

Content of the file the 2015-01-19:

Date,Pair,PriceLimit,PositionType
2015-01-02,EURUSD,1.17545,1
2015-01-02,EURGBP,0.77877,-1
2015-01-02,USDJPY,120.132,1
2015-01-15,EURUSD,1.18325,1
2015-01-15,EURGBP,0.79877,-1
2015-01-15,USDCHF,1.06877,-1
2015-01-19,AUDUSD,0.82287,1
2015-01-19,USDJPY,119.225,-1
2015-01-19,USDCHF,0.99885,-1

The 19th of january the EA :

  • close the EURUSD and EURGBP position at market price
  • and open two new positions : AUDUSD (long) and USDJPY (short) with 1/3 of the capital each and at limited price +/- offset (same as above)
  • the USDCHF (short) position remains open

Same rules as above apply for the offset and the lot size.

Number of positions

In this exemple the file structure correspond to a strategy that trade with 3 positions at a time but the EA must be able to handle a file with only one position at a time, or with two positions at a time or even with four positions at a time. No more.

Exemple with a strategy that trade with only one position at a time :

Date,Pair,PriceLimit,PositionType
2015-01-02,EURUSD,1.17545,1
2015-01-15,EURGBP,0.79877,-1
2015-01-19,USDCHF,0.99885,-1

The currency pair can be the same and the signal alternate between long and short:

Date,Pair,PriceLimit,PositionType
2015-01-02,EURUSD,1.17545,1
2015-01-15,EURUSD,1.20877,-1
2015-01-19,EURUSD,1.15885,1

Exemple with a strategy that trade with 2 positions:

Date,Pair,PriceLimit,PositionType
2015-01-02,EURUSD,1.17545,1
2015-01-02,EURGBP,0.77877,-1
2015-01-15,EURUSD,1.18325,1
2015-01-15,USDCHF,1.06877,-1
2015-01-19,AUDUSD,0.82287,1
2015-01-19,USDJPY,119.225,-1

And so on for the strategy that trade with four positions.

What is a signal ?

A signal is an information in the file that point to a currency pair (i.e. EURUSD) for which no position is actually open in the direction specify by the column PositionType (long : 1 or short : -1).

Opening And Closing A Position

One position must be open if a signal is detected for the day of the current bar (it must works in Strategy Tester with a csv file that contain the history of signals over several years)

Opening a new position would automatically close an existing position, except for the n first positions opened after the EA is launch.

Opening a new position and closing an existing position should trigger a popup window with trading information.

The order to open a position (long or short) must be done at a limited price : the limited price is calculated from the column "PriceLimit" of the csv file plus or minus an offset that should be settable as an external variable. The offset must be positive of negative whether the position type is long or short.

Example :

  • if PriceLimit to open a short position on EURUSD is $1.17555 and the offset is 10pips then the price limit must be $1.17545 (i.e. 1.17555 - 10) 
  • if PriceLimit to open a long position on EURUSD is $1.17555 and the offset is 10pips then the price limit must be $1.17565 (i.e. 1.17565 + 10)

The order to close a position (long or short) must be done at market price.

There is no take profit nor stop loss.

All opened position must be closed automatically when EA is shut down.

If an error occurs when opening or closing a position, the EA should display a window with the error information and retry the attempt.

Volume Of The Position

I would like an external variable that define the % of the account balance the EA can use to open positions.

Example :

My account balance is $1000 and the variable is set to 80% so the EA must have $800 to trade with.

Total margin must be equal to 100% of the account balance the EA can trade with (i.e. $800).

The size of each position must depend of the number of position in the strategy (i.e. in the file).

  • for a one position strategy the margin of the position must correspond to 100% of the account balance the EA can trade with (i.e. $800 * 1)
  • for a two positions strategy the margin of each must correspond to 50% of the account balance the EA can trade with (i.e. $800 * 0.5)
  • for a tree positions strategy the margin of each must correspond to 33.33% of the account balance the EA can trade with (i.e. $800 * 0.33)
  • for a four position strategy the margin of each must correspond to 25% of the account balance the EA can trade with (i.e. $800 * 0.25)

Error Handling

The EA should control only its own positions and shouldn't deal with positions opened manually or by other EAs.

If there are any errors, it must print a message describing the error.

Important

The EA should verify the csv file for new signal every 5 minutes.

The EA should be able to run in strategy tester with a csv file that contain several years of signal. 

The EA should be able to work with multi-currency, includind the BTC/USD pair at FXOpen.

When runing the EA on a real account, it should create a button on the chart, which permits trading.

Few Questions

How the program will be checked? Will you get a demo version?

Will you get the source code of the program, and if so, when - after the complete payment or right away?

How long will be the technical support and on what terms? Will the fix of errors (discrepancies from the algorithm) be done free of charge? How much will small improvements cost?

What electronic payment systems does the developer use? is euro accepted for currency ?

Откликнулись

1
Разработчик 1
Оценка
(180)
Проекты
301
30%
Арбитраж
54
24% / 54%
Просрочено
99
33%
Работает
2
Разработчик 2
Оценка
(14)
Проекты
27
22%
Арбитраж
18
6% / 89%
Просрочено
8
30%
Свободен
3
Разработчик 3
Оценка
(42)
Проекты
70
43%
Арбитраж
6
33% / 50%
Просрочено
19
27%
Свободен
4
Разработчик 4
Оценка
(128)
Проекты
236
65%
Арбитраж
30
37% / 23%
Просрочено
49
21%
Свободен
5
Разработчик 5
Оценка
(259)
Проекты
533
50%
Арбитраж
54
41% / 37%
Просрочено
224
42%
Работает
6
Разработчик 6
Оценка
(221)
Проекты
369
66%
Арбитраж
10
50% / 0%
Просрочено
46
12%
Свободен
7
Разработчик 7
Оценка
(584)
Проекты
912
46%
Арбитраж
31
39% / 29%
Просрочено
93
10%
Работает
8
Разработчик 8
Оценка
(169)
Проекты
218
50%
Арбитраж
6
17% / 67%
Просрочено
11
5%
Свободен
9
Разработчик 9
Оценка
(1)
Проекты
4
0%
Арбитраж
0
Просрочено
2
50%
Свободен
10
Разработчик 10
Оценка
(59)
Проекты
182
55%
Арбитраж
31
45% / 16%
Просрочено
103
57%
Свободен
11
Разработчик 11
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
Похожие заказы
I need someone to create an MA crossover EA. This program should be able to trade the crosses. We would be using the MA indicators to make decisions about buying and selling stocks or other assets. The MA crossover would help me invest my money more effectively by automatically executing trades based on these indicators. If you can create this program, please let me know as I am interested in working with you
the idea of the bot is to trade based on trend. we are going to use 5 different sma( smoothed moving average). they are sma7,sma20, sma50, sma100 and sma200. the bot will look for only buy trades when all the smas are facing up. the bot will look for only sell trades when all the smas are facing down. when we are in a up trend, the bot will look to enter trades on bullish candles that create fvg. if there is an fvg
Topx 80+ USD
1)I need EA with on/off button per currency and buttons to control lots size, auto change of currency with time, Dashboard of 4 indicators (Bollinger, Currency strength, FVG and Gann ) and trade management. Entry: When buy is clicked, the EA draws a line. After x pips market move away from the line or when price moves to given price line and or time, the EA opens buy order if clicked/selected indicators align. Set
I'm looking for an experienced developer to make some modifications to my MT4 Currency Strength Table indicator. Key Requirements: - I would like to have the add on feature of delta or the difference of the strength of currencies displayed in the new table and showing as B or S of only the one currency pair when the delta or difference arises. the delta will change values as the difference of strength of compared
I need Spike DETECTOR EA for Boom and Crash.. which will send me notification or alerts when spike is near. The EA should also be able be buy on crash Index and sell on Boom Index depending on the market..Demo may be provided for faster execution of my order
· I need an MT5 EA that trades on Currencies, Indices, Metals, Crypto, Commodities and Deriv Synthetic Indices. · It should trigger trades on the Moving average cross above or below of the RSI levels in the same window. It should have a Trailing stop and break even input variables. Please note that I only want to use the RSI levels and not its period hence the RSI period will be set to 1. Also the
ODSMART EA 30 USD
I want an EA developed from this strategy that will buy and sell based on the appearance of these colours. Blue-buy (Enter when the signal indicator is at zero on the blue background) Red -sell( Enter when the signal indicator is at 100) White and brown, exit trade
i want to create RSI trading bot in 1 min time frame this is will happern in 1 min timeframe if RSI level 3 min chat frame touch 27 RSI level than excute buy order as and if 3 min time frame candle touch 72 level RSI will excute sell order than profit will be 3 time where order fill from and stop loss open ,. and i want in the setting able adjust the stoploss in tick adjust the take profit and entry lot
I am in the middle of conducting a complex experiment. And part of this experiment entails modifying an existing free MT5 EA (DarkCloud PiercingLine Stoch, for which i can pass the source code to you if you need) to: run only on specific days and within specific hours on those specific days. I will provide you with the schedule. I need the EA to come with scheduling choices so that the user can choose which days and
Hi, I'm looking for a developper to create an EA based on: The combination of 6 FOREX indicators The strategy is based on the combination of 6 indicators It can be used regardless of the timeframe. It can be used regardless of the symbol

Информация о проекте

Бюджет
30 - 50 USD
Исполнителю
27 - 45 USD
Сроки выполнения
от 5 до 10 дн.