Integrating MetaTrader with a file structure

MQL5 スクリプト 統合

指定

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. 

応答済み

1
開発者 1
評価
(119)
プロジェクト
127
41%
仲裁
3
33% / 67%
期限切れ
0
2
開発者 2
評価
(54)
プロジェクト
64
42%
仲裁
5
20% / 60%
期限切れ
4
6%
3
開発者 3
評価
(1)
プロジェクト
16
81%
仲裁
1
100% / 0%
期限切れ
2
13%
4
開発者 4
評価
(13)
プロジェクト
34
76%
仲裁
1
100% / 0%
期限切れ
6
18%
5
開発者 5
評価
(130)
プロジェクト
210
40%
仲裁
90
20% / 43%
期限切れ
85
40%
6
開発者 6
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 100%
期限切れ
0
類似した注文
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

プロジェクト情報

予算
200 - 2000 USD
VAT(付加価値税) (25%): 50 - 500 USD
合計: 250 - 2500 USD
開発者用
180 - 1800 USD
締め切り
最低 2 最高 8 日