Integrating MetaTrader with a file structure

MQL5 Script Integrazione

Specifiche

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. 

Con risposta

1
Sviluppatore 1
Valutazioni
(119)
Progetti
127
41%
Arbitraggio
3
33% / 67%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(54)
Progetti
64
42%
Arbitraggio
5
20% / 60%
In ritardo
4
6%
Gratuito
3
Sviluppatore 3
Valutazioni
(1)
Progetti
16
81%
Arbitraggio
1
100% / 0%
In ritardo
2
13%
Gratuito
4
Sviluppatore 4
Valutazioni
(13)
Progetti
34
76%
Arbitraggio
1
100% / 0%
In ritardo
6
18%
Gratuito
5
Sviluppatore 5
Valutazioni
(130)
Progetti
210
40%
Arbitraggio
90
20% / 43%
In ritardo
85
40%
Gratuito
6
Sviluppatore 6
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
Ordini simili
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

Informazioni sul progetto

Budget
200 - 2000 USD
IVA (25%): 50 - 500 USD
Totale: 250 - 2500 USD
Per lo sviluppatore
180 - 1800 USD
Scadenze
da 2 a 8 giorno(i)