I need an EA that read signal from a csv file

MQL4 Experts

Tâche terminée

Temps d'exécution 115 jours

Spécifications

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 ?

Répondu

1
Développeur 1
Évaluation
(180)
Projets
301
30%
Arbitrage
54
24% / 54%
En retard
99
33%
Travail
2
Développeur 2
Évaluation
(14)
Projets
27
22%
Arbitrage
18
6% / 89%
En retard
8
30%
Gratuit
3
Développeur 3
Évaluation
(42)
Projets
70
43%
Arbitrage
6
33% / 50%
En retard
19
27%
Gratuit
4
Développeur 4
Évaluation
(128)
Projets
236
65%
Arbitrage
30
37% / 23%
En retard
49
21%
Gratuit
5
Développeur 5
Évaluation
(259)
Projets
533
50%
Arbitrage
54
41% / 37%
En retard
224
42%
Travail
6
Développeur 6
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
7
Développeur 7
Évaluation
(584)
Projets
912
46%
Arbitrage
31
39% / 29%
En retard
93
10%
Travail
8
Développeur 8
Évaluation
(169)
Projets
218
50%
Arbitrage
6
17% / 67%
En retard
11
5%
Gratuit
9
Développeur 9
Évaluation
(1)
Projets
4
0%
Arbitrage
0
En retard
2
50%
Gratuit
10
Développeur 10
Évaluation
(59)
Projets
182
55%
Arbitrage
31
45% / 16%
En retard
103
57%
Gratuit
11
Développeur 11
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
I currently have an EA (.ex5 file format) running happily on MT5 system. I would like someone to convert it to MQL4 (.ex4 file format) so that I can run that same EA on the MT4 system
Hello, I'm looking for a trade copier from MT5 to NT8. The copier should be able to: 1.) Open/closed trade based on the position in MT5. 2.) Fast executions of trades. 3.) Adjustable Lot Size
Hi all, I'm looking for the conversion of an indicator into an EA based around certain rules. I'm also looking for the EA to have a dynamic target/stop loss based on standard deviations with dynamic order sizing. Likely to be future work after this as well
I need Copy Trade program on MT5 to MT5 With Some Condition..... 1. Trade must be on Reverse (IF Master Buy then On Slave is Sell) 2. Custom Lots Size on Slave 3. Symbols Adjustment 4. TP and SL (on Slave TP and SL +.50 Added) 5. Open and Closed Order on Same time(Also On market Condition)
NEED A DEVELOPER TO CREATE AN INDICATOR USING MOVING AVERAGES AND TO LOCK IT SO THAT ITS NOT EDITABLE OR VALUES CHANGED. I NEED THE INDICATOR TO HAVE LOG IN DETAILS AND A TRIAL RUN, THE CODE WILL EXPIRE AFTER A CERTAIN PERION AND ANOTHER CODE MUST BE OBTAINED FOR THE INDICATOR TO WORK. I WILL PROVIDE THE SETTINGS
Alves bot 30 - 70 USD
I need a honest guy who can create a coded trading robot which can execute trades based on only 3 indicators RSI , MACD AND 2 EMA Iwill provide all the necessary settings needed for macd the rsi and ema. If the robot is not possible then i need someone who can combine all this indicators to work as one indicator to be providing entry points
Buenos días, estoy buscando desarrollar una EA que utilice los retrocesos de fibonacci. y sus extensiones ya que operando manualmente me ha dado buenos resultados, las condiciones son las siguientes: dibujar fibonacci entrada entre el nivel 78.60% y 88.00% stop loss en el nivel 120.00 % take profit entre el 0.00% y el -27.00% lotaje basado en los pips de distancia entre la entrada y el stop loss, siempre arriesgando
"I have a MetaTrader 5 file and I want to convert it to MetaTrader 4. Is there anyone who can easily and quickly help me complete this task? Please let me know, and I will assign this job to them."
EA with two types of trading strategy’s. Each to be turned off and on if I wish. Trading strategy 1 Variables #stoploss #virtual take profit distance for example 5,10,15,20 # only one trade placed at a time. 1m chart if current bar move 200pips in a direction then a buy or sell is placed depending on that direction. Stop loss to be 180 in opposite direction to the trade for example 200 bullish movement then
Scalping bot MT5 100 - 250 USD
Expert (Trading Robot) Scalping bot to trade off Support / Resistance lines Operating on MT5 Used on all Market Watch Symbols (Forex, Commodities, Indicies, Virtual Indicies) Bot must be able to start trading within seconds of being activated Programming to be precise for accurate execution Full detail to be sent to successful applicant

Informations sur le projet

Budget
30 - 50 USD
Pour le développeur
27 - 45 USD
Délais
de 5 à 10 jour(s)