Forex



Go Back   Forex Trading > Downloads > Tools and utilities
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2005, 10:58 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Lightbulb MT4 Monitor - MT4 DDE in visual basic 6.

Hi folks,

I didn't open Visual basic since 2 months; I opened it tonight and converted the "DDE-Sample.xls" to Visual basic with some improvements (a full pairs list).



If you like it, I will make it save the history.
Do you have any suggestions?
Attached Files
File Type: zip MM.zip (8.7 KB, 1304 views)
__________________
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 11-19-2005, 02:14 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Talking Any feedback!

I'll be happy for any , even something like: "codersguru, you have made a silly thing"
__________________
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 11-19-2005, 05:57 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
fivewhy is on a distinguished road
Vb6?

Is the code in VB6?

I think it is a neat app, but I would like to see the source code. Is that the source included in the zip? I couldn't find actual vb code.

Basically, the app re-displays the info from the MaketWatch window via a DDE interface. That would be cool to see the code to do that, but I don't see the use for an end-user..unless I'm just stupid and missing something.

5y
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 11-19-2005, 06:04 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
The source code is included.

Quote:
Originally Posted by fivewhy
Is the code in VB6?

I think it is a neat app, but I would like to see the source code. Is that the source included in the zip? I couldn't find actual vb code.

Basically, the app re-displays the info from the MaketWatch window via a DDE interface. That would be cool to see the code to do that, but I don't see the use for an end-user..unless I'm just stupid and missing something.

5y
fivewhy,

Thank you very much . The source code is included in the zip file.

PHP Code:
Private Sub Check1_Click()
MsgBox "Coming soon!"vbExclamation vbOKOnly"MT4 Monitor"
End Sub

Private Sub Form_Load()
    
LoadPairs
End Sub

Private Sub TimerCheckBrowsers_Timer()
    
On Error GoTo err1
    TxtDDE
(0).LinkTopic "MT4|BID"
    
TxtDDE(0).LinkItem Combo1.Text
    TxtDDE
(0).LinkMode 1
    TxtDDE
(0).LinkRequest
    
    TxtDDE
(1).LinkTopic "MT4|ASK"
    
TxtDDE(1).LinkItem Combo1.Text
    TxtDDE
(1).LinkMode 1
    TxtDDE
(1).LinkRequest
    
    TxtDDE
(2).LinkTopic "MT4|HIGH"
    
TxtDDE(2).LinkItem Combo1.Text
    TxtDDE
(2).LinkMode 1
    TxtDDE
(2).LinkRequest

    TxtDDE
(3).LinkTopic "MT4|LOW"
    
TxtDDE(3).LinkItem Combo1.Text
    TxtDDE
(3).LinkMode 1
    TxtDDE
(3).LinkRequest

    TxtDDE
(4).LinkTopic "MT4|TIME"
    
TxtDDE(4).LinkItem Combo1.Text
    TxtDDE
(4).LinkMode 1
    TxtDDE
(4).LinkRequest
   
   
Exit Sub
err1
:
    
TxtDDE(0).Text "N/A"
    
TxtDDE(1).Text "N/A"
    
TxtDDE(2).Text "N/A"
    
TxtDDE(3).Text "N/A"
    
TxtDDE(4).Text "N/A"
    

End Sub

Public Sub LoadPairs()
    
Combo1.AddItem "USDCHF"
    
Combo1.AddItem "USDJPY"
    
Combo1.AddItem "EURUSD"
    
Combo1.AddItem "GBPUSD"
    
Combo1.AddItem "EURJPY"
    
Combo1.AddItem "EURCHF"
    
Combo1.AddItem "EURGBP"
    
Combo1.AddItem "USDCAD"
    
Combo1.AddItem "AUDUSD"
    
Combo1.AddItem "GBPJPY"
    
Combo1.AddItem "GBPCHF"
    
Combo1.AddItem "CHFJPY"
    
Combo1.AddItem "NZDUSD"
    
Combo1.AddItem "EURCAD"
    
Combo1.AddItem "AUDJPY"
    
Combo1.AddItem "EURAUD"
    
Combo1.AddItem "AUDCAD"
    
Combo1.AddItem "AUDNZD"
    
Combo1.AddItem "NZDJPY"
    
Combo1.Text "EURUSD"
End Sub 
__________________
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 11-21-2005, 02:18 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
fivewhy is on a distinguished road
OK, so it appears that you are using the "LinkRequest" method of the textbox to call data from the DDE server. But this method isn't available in .NET 2.0 and I can't seem to find it anywhere.

If I wanted to connect to a DDE sever in .NET, do you know how I would do that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 11-21-2005, 02:26 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
fivewhy is on a distinguished road
Nevermind, DDE is no longer supported in .NET
and the LinkRequest method is restricted to just VB prior to .NET

hmmmm, that sucks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 11-21-2005, 02:35 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
fivewhy is on a distinguished road
Here is a library to use DDE in .NET
http://workspaces.gotdotnet.com/ndde

This seems to be pretty good, does anyone else have a better option?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 11-21-2005, 02:50 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Thumbs up Great efforts!

Quote:
Originally Posted by fivewhy
Here is a library to use DDE in .NET
http://workspaces.gotdotnet.com/ndde

This seems to be pretty good, does anyone else have a better option?
fivewhy,

Thank you very much for your efforts.
__________________
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 12-02-2005, 01:54 AM
Senior Member
 
Join Date: Nov 2005
Location: Canada
Posts: 208
Blaiserboy is on a distinguished road
App...

Guru...

I used to use Metatrader 3 and take the output from it to import into another program through the use of a DDE...

I don't think that Metatrader 4 provides that out put, at least my program can't seem to locate it...

Is that what you have created here...?

thanks


dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 12-02-2005, 02:09 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by Blaiserboy
Guru...

I used to use Metatrader 3 and take the output from it to import into another program through the use of a DDE...

I don't think that Metatrader 4 provides that out put, at least my program can't seem to locate it...

Is that what you have created here...?

thanks


dave
dave,
What kind of outputs you want to get form Metatrader 4?
And how did you use DDE with MT3?
__________________
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
DDE mt4, dde vb6, metatrader visual basic, mm.zip, monitor, MT4 DDE, mt4 excel dde, MT4 Monitor, MT4 Monitor - MetaTrader DDE client in Visual Basic


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
dll tutorial for Visual Studio 2005 bwilhite Tools and utilities 12 03-29-2008 02:00 PM
StepMa_Stoch_w/visual alert leightonbeaty Indicators - Metatrader 4 1 10-27-2006 12:18 AM
Visual Trader newdigital Tools and utilities 0 10-15-2005 09:42 AM


All times are GMT. The time now is 06:47 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.