Excel DDE interface
  #1 (permalink)  
Old 04-02-2007, 06:39 AM
Freshman
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
shadrach is on a distinguished road
Default Excel DDE interface

Sorry about the double post... I posted in the wrong forum and I'm not sure how to move it...

Hi Everyone,

I'm trying to update my stock position sizing spreadsheet to use with forex. I thought it might be nice to use DDE so I can have live pricing/spread updates.

I have a data entry box where I put in Currency code, buy price, stop price etc... I want the currency code to be a drop down box so I can click and select the appropriate one... Now the question is how to reference the DDE data according to what is in the currency code cell.

Let say the currency code is in cell B3.

For a standard DDE reference I'd type something like this in the cell:
=MT4|BID!EURUSD

Now assuming cell B4 has the value 'EURUSD' in it what I want to do is something like: =MT4|BID!{value of B4}

I've tried just plugging it in i.e.: =MT4|BID!B4 but it doesn't like that. Tried putting the B4 in quotes... no luck.

The excel doco is remarkably sparse on this point and I'm wondering if it's even possible to use anything other that a direct reference.

So has anyone got any ideas how I can do this? Even if I can't any suggestions on how I could achieve the same result (even it means creating tables on other sheets to cross reference or something?)

thanks in advance.
Reply With Quote
ProFX Powerful Trading System
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Metatrader historic data feed into Excel JR97 MetaTrader and ZeroCode 3 07-17-2005 11:42 PM


All times are GMT. The time now is 07:54 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast