Forex
Google

Go Back   Forex Trading > Discussion Areas > General Discussion
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 02-24-2006, 05:38 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Question Is it possible?

Does anyone know if it is possible to import multiple data feeds from different brokers either:
a) directly into MT4
b) to a third party program--Then call to it for quotes from MT4 ?

I would like to develop a system to take advantage of arbitrage opportunites. For example: Broker A is 00; Broker B is 12; Broker C is 10. Place a BUY order at Broker A and a SELL at broker B. Wait for price to converge and close trades...etc.

Any input would be helpful!

Last edited by Nicholishen : 02-24-2006 at 11:46 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2006, 11:24 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Arrow

Additionally, I am wondering if it is possible to Export quotes from multiple versions of MT running on different brokers to ONE Excel sheet thru the DDE server? Then would it be possible to write a VBasic to analyze data then pass a signal to an external program (dll?) then import back to MT to execute trades?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-25-2006, 12:21 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
Unhappy DDE Server!

Quote:
Originally Posted by Nicholishen
Additionally, I am wondering if it is possible to Export quotes from multiple versions of MT running on different brokers to ONE Excel sheet thru the DDE server? Then would it be possible to write a VBasic to analyze data then pass a signal to an external program (dll?) then import back to MT to execute trades?
I don't think the DDE client (The visual basic or Excel program) has the ability to connect to multi MetaTrader instances. Because the idea behind the DDE is connecting to the server by it's exe name. Maybe if we change the name of the MeteTrader.exe it works, I didn’t try!

But, if we create our own DDE server- it's an easy task for a c++ guru- it will be possible.
This is the algorism:

Step1: We build a DDE server (DLL) which assign a unique id for every MetaTrader instance (the id maybe the account number or anything unique).
Step2: Making a visual basic DDE client which able to connect to multi DDE servers.
Step3: The visual basic program will store the data in an Excel sheet.
Step4: We build another DLL to restore the already saved data.

But this require TIME
__________________
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 02-25-2006, 02:38 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Thank you for the information CodersGuru!

How can it be possible to FileWrite() from multiple instances of MT to (1) csv?

Also, is it possible to write to multiple csv's and have the ability to call to them @ locations outside of the resident expert folder?

Last edited by Nicholishen : 02-25-2006 at 02:45 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-25-2006, 08:37 PM
fxwise fxwise is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
fxwise is on a distinguished road
It's very easy to patch the terminal.exe program to change the DDE server name from MT4 to something else. Obviously it can only be a 3 character string.
I've done it and it has the desired effect.

I won't post here how to do it as it almost certainly breaks the terms of use of the program.

If people want the facility in the program to change the DDE server name then make a suggestion on the metaquotes site in the program suggestions page and maybe if enough people request it they will do it.

I dont think comparing different price feed helps with trading. It does show who the more buckety bucket shops are (those with furthest price shifts away from the market).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-05-2006, 04:31 PM
pip-gandalf pip-gandalf is offline
Member
 
Join Date: Mar 2006
Posts: 53
pip-gandalf is on a distinguished road
Just use edonkey and download Metaserver for tradestation (it works great - dde between six brokers).
Tradestation is now free(i think) - - or just edonkey it (use bitcomet - and serach for edonkey at torrentspy.com) - along with some great new movies....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-05-2006, 05:05 PM
eric79 eric79 is offline
Senior Member
 
Join Date: Dec 2005
Posts: 217
eric79 is on a distinguished road
I think the bigger problems would be to get the orders filled and not to get problems with the broker.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-05-2006, 07:48 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Quote:
Originally Posted by eric79
I think the bigger problems would be to get the orders filled and not to get problems with the broker.
...and upon further analysis, I don't think the profitablity would be worth the time investment...
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 04-13-2006, 12:41 PM
jojolalpin's Avatar
jojolalpin jojolalpin is offline
Member
 
Join Date: Mar 2006
Posts: 89
jojolalpin is on a distinguished road
Hi!

Do you know a way to tell MT4 to get tick data from a specified datasource (txt file, database etc..)?
It would allow to backtest EA's on tick data.

jojo
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 05:10 AM.