i have a Interbank fx demo . how do using in delphi. please a short sample.
Hi, Folks!
We developped a dll capable of handling several instances of client terminal MT4 in background, allowing login in several accounts and multiples brokers simultaneously(MAX. 32).
Mainly goal, we kept in mind, when developing this API was permit handling orders in MetaTrader brokers from anothers softwares, for example MetaStock.
This API has more than 55 functions provindg informations about:
- Symbols and History;
- Accounts, including support to AccountFreeMarginCheck();
- Orders, reading historical/opened orders, sending any kind of them(buy/sell, limit/stop, ...), and changing take profit, stop loss, etc.;
- Market Info, used mainly to retrieve Bid/Ask;
- Errors occurred in each account;
- and some checkup functions.
This installation is zipped and available to download at http://www.itevolution.com.br/tz/files/TZMT4API.zip
You can use it on any platform you want. There is a text inside installation(<TZAPIFolder>\Developer) describing all functions and its C's header, and also a Delphi's header too.
This API can be also used in MT4 like code sample below.
Best regards and profitable trade!
I can't get any values
after login (handle/result=1)
accountbalance returns 8 (real balance=1000)
accountcompany returns 16273773 (some number like this)
I dont undestand how to use the Dispose_MT4 function.
Anyone got this to work?
Thanks
SB
I can't get any values
after login (handle/result=1)
accountbalance returns 8 (real balance=1000)
accountcompany returns 16273773 (some number like this)
I dont undestand how to use the Dispose_MT4 function.
Anyone got this to work?
Thanks
SB
We'll provide a short sample in delphi and in mql4 too. Until this try to use GetLastError_MT4() and ErrorDescription_MT4() after get logged, it can give you some clues.
We just finished a short delphi sample.
Here it's: http://www.itevolution.com.br/tz/files/Short_Sample_Delphi.zip
Executable is inside package above.
For a quick test:
- Run Sample.exe
- Press Login
- Press Account Information, Information will be displayed on right side
- Press Symbols, all available symbols will be displayed on right side
- Press Send Order, and a order will be send. To verify this order, you can log onto account using MetaTrader Client Terminal
Best regards and profitable trade!
Hi, haitham!
I think you wanna build a single installation package, Am I right?
If yes, you can copy on you own alls files, keeping folder's structure, which is inside <Program Files\TradeZone\TZMT4API> and tzmt4api.dll under <system32>.
Another thing you have to do: in register, point Folder under [HKEY_CURRENT_USER\Software\TradeZone\TZMT4API] to your program location
Sample:
[HKEY_CURRENT_USER\Software\TradeZone\TZMT4API]
"Folder"="my programe location"
kindest regards.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, Folks!
We developped a dll capable of handling several instances of client terminal MT4 in background, allowing login in several accounts and multiples brokers simultaneously(MAX. 32).
Mainly goal, we kept in mind, when developing this API was permit handling orders in MetaTrader brokers from anothers softwares, for example MetaStock.
This API has more than 55 functions provindg informations about:
This installation is zipped and available to download at http://www.itevolution.com.br/tz/files/TZMT4API.zip
You can use it on any platform you want. There is a text inside installation(<TZAPIFolder>\Developer) describing all functions and its C's header, and also a Delphi's header too.
This API can be also used in MT4 like code sample below.
Best regards and profitable trade!