下载MetaTrader 5

Rose, MT supplied MTAPI to public ?

要添加评论,请登录注册
okwh
1636
okwh  

I find New API MetaTrader 4 AVAILABLE 'New API MetaTrader 4 AVAILABLE'

EXE rprogram can use it to control MT.

I think it is use communtion mode betweent processes.

Is it supplied by MetaQuotes Software Corp. ?

Where can find such information about communtion between exe and MT/s termianl program ?

not only MQL4 with DLL.

Wish MT can supply similar API to public !!!

for examples:

int SymbolsTotal_MT4(int handle);
string SymbolGet_MT4(int handle, int index);

double AccountBalance_MT4(int handle);
double AccountCredit_MT4(int handle);
string AccountCompany_MT4(int handle);
string AccountCurrency_MT4(int handle);
double AccountEquity_MT4(int handle);
double AccountFreeMargin_MT4(int handle);
double AccountFreeMarginMode_MT4(int handle);
int AccountLeverage_MT4(int handle);
double AccountMargin_MT4(int handle);
string AccountName_MT4(int handle);
int AccountNumber_MT4(int handle);
double AccountProfit_MT4(int handle);
string AccountServer_MT4(int handle);
int AccountStopoutLevel_MT4(int handle);
int AccountStopoutMode_MT4(int handle);
double AccountFreeMarginCheck_MT4(int handle, string symbol, int cmd, double volume);

int OrdersTotal_MT4(int handle);
int OrdersHistoryTotal_MT4(int handle);
int OrderGet_MT4(int handle, int index, int select, int pool);
double OrderClosePrice_MT4(int handle, int ticket);
int OrderCloseTime_MT4(int handle, int ticket);
string OrderComment_MT4(int handle, int ticket);
double OrderCommission_MT4(int handle, int ticket);
int OrderDelete_MT4(int handle, int ticket);
int OrderExpiration_MT4(int handle, int ticket);
double OrderLots_MT4(int handle, int ticket);
int OrderMagicNumber_MT4(int handle, int ticket);
double OrderOpenPrice_MT4(int handle, int ticket);
int OrderOpenTime_MT4(int handle, int ticket);
double OrderProfit_MT4(int handle, int ticket);
double OrderStopLoss_MT4(int handle, int ticket);
double OrderSwap_MT4(int handle, int ticket);
string OrderSymbol_MT4(int handle, int ticket);
double OrderTakeProfit_MT4(int handle, int ticket);
int OrderType_MT4(int handle, int ticket);
bool OrderClose_MT4(int handle, int ticket, double lots, double price, int slippage);
bool OrderCloseBy_MT4(int handle, int ticket, int opposite);
bool OrderModify_MT4(int handle, int ticket, double price, double stoploss, double takeprofit, int expiration);
int OrderSend_MT4(int handle, string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment, int magic, int expiration);

double MarketInfo_MT4(int handle, string symbol, int type);
int GetTickCount_MT4(int handle);
int GetLastError_MT4(int handle);
string ErrorDescription_MT4(int errorcode);
bool IsConnected_MT4(int handle);
bool IsDemo_MT4(int handle);
bool IsTradeContextBusy_MT4(int handle);
int TimeCurrent_MT4(int handle);

Rashid Umarov
管理员
12264
Rashid Umarov  
DxdCn >>

I find New API MetaTrader 4 AVAILABLE 'New API MetaTrader 4 AVAILABLE'

EXE rprogram can use it to control MT.

I think it is use communtion mode betweent processes.

Is it supplied by MetaQuotes Software Corp. ?

Where can find such information about communtion between exe and MT/s termianl program ?

not only MQL4 with DLL.

Wish MT can supply similar API to public !!!

No, this soft is not our and we can't answer your question.
okwh
1636
okwh  

not yours ? but it can logon from one exe program outside of MT !

MQL can not control logon.

such things will have some effects on MT's security !

Rashid Umarov
管理员
12264
Rashid Umarov  

This is a trick not API :)

Try to use this soft on a computer without installed MetaTrader 4.

okwh
1636
okwh  
without installed MetaTrader 4 ? no, in fact, it also run MT, but its MT only run on bckground, do not display MT/s interface.
Rashid Umarov
管理员
12264
Rashid Umarov  
DxdCn >>
without installed MetaTrader 4 ? no, in fact, it also run MT, but its MT only run on bckground, do not display MT/s interface.

So you see that this tool uses terminal MetaTrader 4 as service for emulation API function. This is fiction only.

okwh
1636
okwh  

This is fiction only.

yes, but use such dll can control login logout outside of MT.

this maybe influence MT's terminal 's safety.

Rashid Umarov
管理员
12264
Rashid Umarov  
DxdCn >>

This is fiction only.

yes, but use such dll can control login logout outside of MT.

this maybe influence MT's terminal 's safety.

Don't use programs from unknown source. We can't save you from you. Do you agree?

okwh
1636
okwh  

:) YES, I do not use. through Mt allow it appeared on MQL4 froum.

I am waiting your MQL5 and wish MT will supply interface to .Net not only interface to C's DLL.

Xiaobing Pang
47
Xiaobing Pang  

我也很想用在别的环境里编程的时候可以控制MT4的登陆,现在在MQL里不能切换帐户这一点限制太大了.

像DXDCN提到,希望MQL5能支持.NET,否则在C或C++里写DLL,太烦人了.......

另外DXDCN有办法用程序切换登陆帐户吗?除了用好个NEW MT4 API.....

Xiaobing Pang
47
Xiaobing Pang  
还有一点个问题一直不清楚,在MT里能用EA直接实现那个保存用户详细结单的功能吗?不要自己循环打印所有单子
12
要添加评论,请登录注册