I need an EA that read signal from a csv file

MQL4 Experts

Job finished

Execution time 115 days

Specification

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 ?

Responded

1
Developer 1
Rating
(180)
Projects
301
30%
Arbitration
54
24% / 56%
Overdue
98
33%
Free
2
Developer 2
Rating
(14)
Projects
27
22%
Arbitration
18
6% / 89%
Overdue
8
30%
Free
3
Developer 3
Rating
(42)
Projects
70
43%
Arbitration
6
33% / 50%
Overdue
19
27%
Free
4
Developer 4
Rating
(128)
Projects
236
65%
Arbitration
30
37% / 23%
Overdue
49
21%
Free
5
Developer 5
Rating
(266)
Projects
540
50%
Arbitration
55
40% / 36%
Overdue
224
41%
Free
6
Developer 6
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
7
Developer 7
Rating
(595)
Projects
927
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
8
Developer 8
Rating
(169)
Projects
218
50%
Arbitration
6
17% / 67%
Overdue
11
5%
Free
9
Developer 9
Rating
(1)
Projects
4
0%
Arbitration
0
Overdue
2
50%
Free
10
Developer 10
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free
11
Developer 11
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) for MT4. The EA should close an open trade automatically when a Golden or Death Cross occurs in the Alligator Indicator. Please let me know if you have experience with similar projects and how we can discuss the details further
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD
Deadline
from 5 to 10 day(s)