Forex
Google

Go Back   Forex Trading > Discussion Areas > Metatrader 4
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 01-15-2006, 03:07 AM
jwhite1319 jwhite1319 is offline
Member
 
Join Date: Dec 2005
Posts: 37
jwhite1319 is on a distinguished road
MT4 functionality.

Can anyone explain to me how to establish a live DDE connection betwee MT4 and microsoft excel.

I would like to be able to pull live prices information from MT4 directly into excel.

The syntax for doing this with intellicharts for instance looks like this:

=fxtrek|Bid!EURUSD

It was really quite simple. I am hoping I can do the same with MT4. Help anyone?

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-15-2006, 06:55 AM
noegrahaz noegrahaz is offline
Junior Member
 
Join Date: Sep 2005
Location: Indonesia
Posts: 8
noegrahaz is on a distinguished road
hi jwhite1319

there's an excel file at mt4 directory, usually at C:\Program Files\MetaTrader 4 called DDE-samples.xls. just double click that file it should self explanatory.
oh and don't forget to turn on enable DDE server on MT4 at tools-option-server.


hope this help

Last edited by noegrahaz : 01-15-2006 at 07:18 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-15-2006, 05:04 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow Visual basic DDE code

Hi there!
You can give my Visual basic DDE code a look, I think it will be clearer than the Excel file.
You can find it with the source code at this article:

MT4 Monitor - MetaTrader DDE client in Visual Basic
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-15-2006, 09:42 PM
jwhite1319 jwhite1319 is offline
Member
 
Join Date: Dec 2005
Posts: 37
jwhite1319 is on a distinguished road
Thanks

Thanks Guys! This is good.
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 09:54 PM.