Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > General Discussion


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 09-19-2006, 06:49 AM
lowphat's Avatar
Senior Member
 
Join Date: Sep 2005
Posts: 200
lowphat is on a distinguished road
MT4 c++ dll stuff in russian

can someone who knows c++ look at this and tell me if it can open trades
Attached Files
File Type: zip primer21.zip (1.98 MB, 58 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-19-2006, 09:52 AM
ipixtlan's Avatar
Member
 
Join Date: May 2006
Location: Serbia
Posts: 58
ipixtlan is an unknown quantity at this point
Here is the English translation
Author: Minaev Y.L., 2006
Attached Files
File Type: doc Readme1.doc (24.0 KB, 82 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-19-2006, 05:10 PM
lowphat's Avatar
Senior Member
 
Join Date: Sep 2005
Posts: 200
lowphat is on a distinguished road
so they made a free demo that will work for gbpusd which will be fine but i still dont know if you can place orders and such. i guess its unavoidable having to learn c++ :/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-19-2006, 07:10 PM
lowphat's Avatar
Senior Member
 
Join Date: Sep 2005
Posts: 200
lowphat is on a distinguished road
oh BTw theres a delphi 6 ver if someone knows delphi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-19-2006, 08:55 PM
Member
 
Join Date: Aug 2006
Posts: 56
JosTheelen is on a distinguished road
What I can see at the source unit1.cpp is thatit shows a list of transactions:

Form1->StringGrid1->Cells[0][i+1]=IntToStr(xxx[i].order);
Form1->StringGrid1->Cells[1][i+1]=ope[xxx[i].cmd];
Form1->StringGrid1->Cells[2][i+1]=IntToStr(xxx[i].volume);
Form1->StringGrid1->Cells[3][i+1]=AnsiString(xxx[i].symbol);
Form1->StringGrid1->Cells[4][i+1]=DateTimeToStr(xxx[i].open_time);
Form1->StringGrid1->Cells[5][i+1]=FloatToStr(xxx[i].open_price);
Form1->StringGrid1->Cells[6][i+1]=FloatToStr(xxx[i].sl);
Form1->StringGrid1->Cells[7][i+1]=FloatToStr(xxx[i].tp);
Form1->StringGrid1->Cells[8][i+1]=DateTimeToStr(xxx[i].close_time);
Form1->StringGrid1->Cells[9][i+1]=FloatToStr(xxx[i].close_price);
Form1->StringGrid1->Cells[10][i+1]=FloatToStr(xxx[i].commission);
Form1->StringGrid1->Cells[11][i+1]=FloatToStr(xxx[i].profit);

When it opens orders, it probably does that in the expert-advisor, but the zipfile doesn't contain the source of it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-12-2006, 11:27 AM
Junior Member
 
Join Date: Dec 2006
Posts: 1
3arnoos is on a distinguished road
C++ Convertion and Development

Hello all

Is there any way to issue a buy or sell order from C++ to MQL or the metatrader platform?
Using a DLL does not seem to do it, since I need the order to be initiated from a C++ program, and NOT in response to a MQL query.

Peace Out!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-19-2006, 04:34 PM
Member
 
Join Date: Aug 2006
Posts: 56
JosTheelen is on a distinguished road
Couldn't you make a MT4-EA that continuously looks if some file exists and if it exists read it? That you can let your C++ program make that file, maybe a textfile with data in it describing an order.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-19-2006, 05:26 PM
mqldev's Avatar
Member
 
Join Date: Dec 2006
Posts: 59
mqldev is on a distinguished road
Quote:
Originally Posted by 3arnoos
Hello all

Is there any way to issue a buy or sell order from C++ to MQL or the metatrader platform?
Using a DLL does not seem to do it, since I need the order to be initiated from a C++ program, and NOT in response to a MQL query.

Peace Out!
I think that could not be done!
Communication with MetaTrade is only one way - The MT have to query you c++ dll!
__________________
Online Expert Advisor Builder
http://www.mqldev.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-19-2006, 06:15 PM
Member
 
Join Date: Dec 2005
Posts: 68
asmdev is on a distinguished road
"The application interfaces of each component in the complex are distributed together with the corresponding component and can be found in the API directory. Open interfaces of all MetaTrader API components are provided. Besides, the source code of MetaTrader Server API and DataFeed API components are also supplied as open source in C++. Detailed examples of creating user applications allow you to use MetaTrader API to get acquainted with the principles of software interaction."

http://www.metaquotes.net/metatraderapi/

ask them maybe you can.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12-19-2006, 06:20 PM
Foreverold's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 257
Foreverold is on a distinguished road
a program that will do almost anything try it for free

http://www.networkautomation.com/aut...TOKEN=22574321
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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
Better NN EA development fxspeedster Expert Advisors - Metatrader 4 437 Yesterday 02:54 PM
Win MACD EA Development realsaid Suggestions for Trading Systems 8 11-05-2008 04:14 PM
EA Development winter9021 Non Related Discussions 0 01-03-2008 03:57 AM
StochThreshold | ... under development wibitiens Indicators - Metatrader 4 0 05-26-2007 03:26 AM


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



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