This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
DDE usage with Java instead of ExcelBack to topics list |
|
dacosta123
2004.12.17 15:37
Hi,
I was wondering whether anybody has ever tried using the dde through something other than Excel (or OpenOffice). Following is a small piece of the code i use to try and make it work. // Connect to MetaTrader metaTrader.connect("MT", "BID"); // This seems to go ok // Request an item String usdchf = new String(metaTrader.request("USDCHF")); // Error thrown This is the exception thrown. com.javaparts.dde.DDEException: Request transaction has failed [4009] A transaction has failed (was rejected by server). I'm aware that this is java but maybe someone has gotten the dde link from java to MT to work and i'm just not seeing something. Any help or suggestion appreciated. tia Fermin DCG |
|
soniabvc
2009.06.12 19:25
You can export indicators and prices from MT4 to Excel and
execute orders from excel to several MT4s + other cool staff. It is explained here
www.fxdialogue.com.
|
|
ace.aaacbc
2009.06.18 09:57
* are you sure it has connected to MT? I believe it should be MT4 * is metaTrader.request("USDCHF") supposed to be a string? I created a similar application but using .NET, and its working. I used MT4 instead of MT. give it a try. :) |
|
xarlotie
2009.07.20 17:36
hi ace.aaaacbc! is is really posibble to use .NET with uniDDE? were you able to get a lot of data like trades, traders, quotes, etc.? can you send me some help. thanks. email me at charlotte.ayao@gmail.com
|
|
consytot
2009.07.21 12:45
helo...ace.aaacbc please send me a sample code of mt4 to java.. this is my email add conrad_f17@yahoo.com.ph
|
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
