Forex
Google

Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2006, 02:58 AM
moscar.1 moscar.1 is offline
Junior Member
 
Join Date: Mar 2006
Posts: 6
moscar.1 is on a distinguished road
Cool MT4 DDE with perl

Hi to all,

I tried to make a DDE Client in perl, but I cant get any data from MT4.

I would like to know waht is wrong with this code in perl:

use strict;
use Win32E::Client;

my $Client = new Win32E::Client('MT4', 'BID');
die "Unable to initiate conversation" if $Client->Error;

my $group= $Client->Request('EURUSD');
print "$group\n";


$Client->Disconnect;

Thank you.

Oscar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-10-2006, 05:23 AM
elihayun's Avatar
elihayun elihayun is offline
Senior Member
 
Join Date: Jan 2006
Posts: 350
elihayun is on a distinguished road
dde with perl

I tried it too, and it wont work for me. I ask the mql4 group but with no luck.
what i did i took the data from Yahoo. For now I see that I dont need it at all, I am doing everything inside the tool.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-10-2006, 04:53 PM
fxwise fxwise is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
fxwise is on a distinguished road
If you have Microsoft Excel, put a DDE link in a spreadsheet and then use WIN32::OLE from Perl to get the spreadsheet cell contents.

Perl never has been good with DDE. That module is very old and unsupported (not even on CPAN any more).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-10-2006, 04:59 PM
moscar.1 moscar.1 is offline
Junior Member
 
Join Date: Mar 2006
Posts: 6
moscar.1 is on a distinguished road
Thanks for your replay

But, I need to send the data to the Metastock, not to a spredsheet, that is why I asking if someone know why my code s not working.

Thanks to all.

Oscar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



All times are GMT. The time now is 06:19 AM.