Integrating MetaTrader with a file structure

MQL5 Scripts Integration

Specification

I've modified the project so I repost the text with improved instructions:

The project is to integrate a strategy computing application with trading information.

Overview: I’ve have built a trading algorithm as a separate application and would need to be able to feed it information through files. As a second step I would like to receive orders from a file and execute those orders.

In more detail on 2 separate steps:

Step 1:
Targeting OANDA.com.
I would like to have 5 sec data on as all available currency pairs.

The data is to be put into a csv file in a specific directory (../datainput/ with the unix time as the name. For a specific time the filename would be: 149830433.csv

In the code example the format and the full data information could be seen (http://developer.oanda.com/rest-live/development-guide/)

Example:

Pair 1 name

Pair 2 name

Pair n name

Unix time

openBid

openAsk

highBid

highAsk

lowBid

lowAsk

closeBid

closeAsk

The team at oanda.com has a few pages with code examples:

http://developer.oanda.com/rest-live/console/

http://developer.oanda.com/rest-live/authentication/ https://github.com/oanda/py-api-streaming https://github.com/oanda/CAPISample




Step 2:
I would like to be able to read from a file (in a specified directory) and extract the information on the specific pairs and make orders to sell or buy.
The file will be named “order.csv” and should be renamed after being read/executed by your application to “unixtime-order.csv” (the current unix time minus order dot csv)

The instruction could not be long (buy) and short (sell) at the same time. A sanity data check for corrupted data (both buy and sell) should be done.

If the data in the order is 0 then nothing should be done at this time.

This data should be put into the MT4 or MT5 application and the application can then execute the order on the connected trader site. 

Responded

1
Developer 1
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
2
Developer 2
Rating
(54)
Projects
64
42%
Arbitration
5
20% / 60%
Overdue
4
6%
Free
3
Developer 3
Rating
(1)
Projects
16
81%
Arbitration
1
100% / 0%
Overdue
2
13%
Free
4
Developer 4
Rating
(13)
Projects
34
76%
Arbitration
1
100% / 0%
Overdue
6
18%
Free
5
Developer 5
Rating
(130)
Projects
210
40%
Arbitration
90
20% / 43%
Overdue
85
40%
Free
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
I need to automate the supertrend indicator on ctrader with partial tp and sl. I already have a sort of script (without tp and sl) but when I go to compile it gives me an error. would you be able to make it work by adding the partial tp and sl

Project information

Budget
200 - 2000 USD
VAT (25%): 50 - 500 USD
Total: 250 - 2500 USD
For the developer
180 - 1800 USD
Deadline
from 2 to 8 day(s)