Forex



Go Back   Forex Trading > Programming > MetaTrader
Forex Forum Register More recent Blogs 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

 
 
Thread Tools
 
Old 10-28-2009, 06:11 PM
zupcon's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Malta
Posts: 266
zupcon is on a distinguished road
Passing XML Using wininet.dll

Has anyone got experience of posting XML using wininet ?

I want to transfer data from remote EA's to a centralised database server.

Pointers to websites, books, tutorials etc would be appreciated
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!
 
Old 10-28-2009, 09:47 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 722
Kalenzo is on a distinguished road
Quote:
Originally Posted by zupcon View Post
Has anyone got experience of posting XML using wininet ?

I want to transfer data from remote EA's to a centralised database server.

Pointers to websites, books, tutorials etc would be appreciated
Use CSV isntead of XML, or put library of the database (API) direct to the metatrader.
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
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!
 
Old 10-29-2009, 10:55 PM
zupcon's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Malta
Posts: 266
zupcon is on a distinguished road
Quote:
Originally Posted by Kalenzo View Post
Use CSV isntead of XML, or put library of the database (API) direct to the metatrader.
Thanks Kalenzo,

I'm already outputting to CSV, then importing the various CSV's into a centralised database.

The problem is that during EA development and testing our data logging requirments tend to be constantly changing, and as fields are added and dropped from the CSV, we need to change our database import code.

XML would at least ensure that the data was self describing. Importing and exporting CSV files is really messy, MT doesnt handle simultaneous file access, so you end up creating loads of files instead of one centralised repository, a direct write from the EA to the database is far preferable.

I like your API suggestion, I'll take another look at MySQL, I've managed to get this working locally in the past, and I'm assuming it'll handle remote connections over IP

cheers
zu
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!
 
Old 10-30-2009, 12:42 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
What about creating a shared memory space .exe in c++? Write to the shared memory space from an EA or script using a dll, then access the memory space via another .exe that will handle sending the data.
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!
 

Bookmarks
Thread Tools

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


All times are GMT. The time now is 09:11 AM.



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