仕事が完了した
指定
Hi!
I need a bridge between Matlab and MT4 that can receive historical data from MT4 feed into Matlab and Matlab can place order to MT4. details is as the following:
1. MT4 should send the following data for the last (variable) candles and for specified currency pairs (either one pair or several pairs depending on the settings up to 20 pairs).
a. High, Low, Open, Close and current broker Time for a time-frame (variable) for example M15, H1 or ...
b. Current equity (balance)
c. For each pair, the current open orders should be also send to Matlab. Since I don’t want to open a new order if previous order is still open (not hit TP or SL), then I need to know if there is any open order exist for each pair or not.
Above-mentioned table should be received from MT4 to the Matlab with (variable) frequency, for example every hour or every 5 min or whatever.
It should be also possible to receive historical data when the current candle closed on a time frame. For instance if M15 time frame selected, then when the current candle closed on M15 time frame, historical data of last (variable) time-frames should be send to Matlab (here frequency would be 15 minutes, pushed by candle close time).
2. By calling a function in Matlab, an order should be placed into MT4 (for an specified currency pairs) with the following information given by Matlab:
a. Entry Price (EP) in case of pending order
b. Stop Loss (SL)
c. Take Profit (TP)
d. Trailing SL (if activated)
e. Lot size