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 (4) Thread Tools Display Modes
  4 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-18-2005, 09:58 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
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, 671 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!
Reply With Quote
  #2 (permalink)  
Old 11-19-2005, 01:14 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
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!
Reply With Quote
  #3 (permalink)  
Old 11-19-2005, 04:57 PM
fivewhy fivewhy is offline
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!
Reply With Quote
  #4 (permalink)  
Old 11-19-2005, 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
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!
Reply With Quote
  #5 (permalink)  
Old 11-21-2005, 01:18 PM
fivewhy fivewhy is offline
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!
Reply With Quote
  #6 (permalink)  
Old 11-21-2005, 01:26 PM
fivewhy fivewhy is offline
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!
Reply With Quote
  #7 (permalink)  
Old 11-21-2005, 01:35 PM
fivewhy fivewhy is offline
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!
Reply With Quote
  #8 (permalink)  
Old 11-21-2005, 01:50 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
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!
Reply With Quote
  #9 (permalink)  
Old 12-02-2005, 12:54 AM
Blaiserboy Blaiserboy is offline
Senior Member
 
Join Date: Nov 2005
Location: Canada
Posts: 114
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!
Reply With Quote
  #10 (permalink)  
Old 12-02-2005, 01:09 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

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!
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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/tools-utilities/383-mt4-monitor-mt4-dde-visual-basic-6-a.html
Posted By For Type Date
Servoy Talk :: View topic - Using DDE Links with Seroy This thread Refback 01-07-2008 10:58 AM
Integration between excel and MT4 prices This thread Refback 11-17-2007 10:30 PM
Servoy Talk :: View topic - Using DDE Links with Seroy This thread Refback 09-22-2007 04:42 PM
Integration between excel and MT4 prices @ Forex Factory This thread Refback 06-22-2007 08:27 PM

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


All times are GMT. The time now is 07:36 AM.