Forex
Google

Go Back   Forex Trading > Programming > Metatrader Programming
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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-28-2006, 07:24 PM
Aaragorn's Avatar
Aaragorn Aaragorn is offline
Senior Member
 
Join Date: Jun 2006
Location: USA
Posts: 801
Aaragorn is on a distinguished road
Best Way To Learn Mql4.....

I've been reading tutorials on coding in mq4 but I'm just not getting it by myself.

Would someone who knows how to code tutor me please? If I am not on my IM at the specific time you try to contact me please let me know when is the best time and method to contact you.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-29-2006, 06:58 AM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,432
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by Aaragorn
I've been reading tutorials on coding in mq4 but I'm just not getting it by myself.

Would someone who knows how to code tutor me please? If I am not on my IM at the specific time you try to contact me please let me know when is the best time and method to contact you.

Thanks
Try Codersguru lessons here http://www.forex-tsd.com/metatrader-training/
Besides there is Codersguru website http://www.metatrader.info/index.php

And there are some other lessons in this section http://www.forex-tsd.com/analytics/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-29-2006, 07:15 AM
Morpheus Morpheus is offline
Senior Member
 
Join Date: May 2006
Posts: 213
Morpheus is on a distinguished road
You'd probably learn more by going to a programming forum. MQL programming is basically C++. I learned by just hanging out at c++ forums and asking questions.

Here is where I learned:

http://forums.devshed.com/c-programming-42/

Get a compiler. Microsoft Visual Studio 2003 is a good one. Write a couple easy win32 console programs. Learn the syntax and then you should be able to write code on MQL but really there is a limitation as to what you can do in MQ4. I'm uncertain whether a holy grail can really be programmed. That's probably why metatrader decided to release its software. I'm sure they had the best mathematicians in the world working on a holy grail. After they couldn't find it, they released the metatrader software to the public.

I'd like to really know who owns Metatrader. That might be interesting to find out......

Last edited by Morpheus : 06-29-2006 at 07:20 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-29-2006, 07:19 AM
elihayun's Avatar
elihayun elihayun is offline
Senior Member
 
Join Date: Jan 2006
Posts: 350
elihayun is on a distinguished road
Quote:
Originally Posted by Aaragorn
I've been reading tutorials on coding in mq4 but I'm just not getting it by myself.

Would someone who knows how to code tutor me please? If I am not on my IM at the specific time you try to contact me please let me know when is the best time and method to contact you.

Thanks
Do u know ANY programming language? If not, u have to start by yourself first. Teaching from the basics its a long task.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-30-2006, 01:53 AM
Aaragorn's Avatar
Aaragorn Aaragorn is offline
Senior Member
 
Join Date: Jun 2006
Location: USA
Posts: 801
Aaragorn is on a distinguished road
I think i made some progress today, I learned what was blocking me with the other indicator, it didn't HAVE a buffer and the example in the tutorial used a buffer. I have another indicator and successfully added it to an EA without the compiler giving me any errors, there were some errors but I resolved them. My current issue is that I can't quite get the indicator values recognized by the rest of the EA so I can't use it as a filter until I learn how to get the EA to 'see' the indicator variables outside of the indicator code itself. I am not starting from ground zero here. If i could just get a little tutoring with specific projects.
help adding indicator as filter and to modify EAs

Last edited by Aaragorn : 06-30-2006 at 01:56 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-30-2006, 01:58 AM
Aaragorn's Avatar
Aaragorn Aaragorn is offline
Senior Member
 
Join Date: Jun 2006
Location: USA
Posts: 801
Aaragorn is on a distinguished road
Quote:
Originally Posted by elihayun
Do u know ANY programming language? If not, u have to start by yourself first. Teaching from the basics its a long task.
I've done some work with excel and I seem to be learning mq4 without alot of support just reading the tutorials. I wonder what I could learn WITH tutoring?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-18-2007, 01:35 AM
X.Oden X.Oden is offline
Junior Member
 
Join Date: Apr 2006
Posts: 13
X.Oden is on a distinguished road
Best Way To Learn Mql4.....

Hi all, I'm currently reading a book called Beginning C. It is a great book with excellent explanations. I have zero C programming experience, but just wrote my first Hello World program.

Should I continue learning C to help me become more familiar with MQL4 or should I delve right into MQL4?

I don't want to waste time, but since looking at the C book, going back to MQL4 codes seem more readable.

I tried understanding the dictionary to certain functions, commands etc in MQL4, but that stuff is so cryptic.

I figure I learn C to get the basics of coding and familiarity of some of the rules in C which I seem to find familiarities with in MQL4.

Not sure what the difference is, but I figure C will offer alot more options, whereas MQL4 is a scaled down version of C, so I should be ready to program in MQL4 with little learning curve after I'm done with C.

Is this a correct assessment? Any input for those of you who have crossed over I would sincerely appreciate it. Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-18-2007, 01:49 AM
Guyver's Avatar
Guyver Guyver is offline
Senior Member
 
Join Date: Mar 2006
Posts: 778
Guyver is on a distinguished road
Good Going!!.

Quote:
Originally Posted by X.Oden View Post
Hi all, I'm currently reading a book called Beginning C. It is a great book with excellent explanations. I have zero C programming experience, but just wrote my first Hello World program.

Should I continue learning C to help me become more familiar with MQL4 or should I delve right into MQL4?

I don't want to waste time, but since looking at the C book, going back to MQL4 codes seem more readable.

I tried understanding the dictionary to certain functions, commands etc in MQL4, but that stuff is so cryptic.

I figure I learn C to get the basics of coding and familiarity of some of the rules in C which I seem to find familiarities with in MQL4.

Not sure what the difference is, but I figure C will offer alot more options, whereas MQL4 is a scaled down version of C, so I should be ready to program in MQL4 with little learning curve after I'm done with C.

Is this a correct assessment? Any input for those of you who have crossed over I would sincerely appreciate it. Thanks again.

Hi good approach!.

MQL4 is based on C programming language as you already found out

ofcourse just because you need to work with the specific API functions in MQL4 that is why it looks different to some people starting out , but that is only in the beginning so this is a good news. I would say even ( personal opinion) to start with .Net programming language the newer C that is C#.net ( Csharp )


This is what i think you should do

Learn Variables.
Learn Decision making and Looping
Learn Arrays
Learn to Create your own functions ( this is the most important thing ) if you can work with functions and divide and conquer your programs. you are done with it.

C#.net is closer to MQL4 but you can't create classes in MQL4 though you can come close to the look and feel. What you will learn from an Object Oriented Programming Language will benefit you alot since MQL4 works alot of with Objects for e.g what is Color? what is a Trendline? they are all objects so if you can learn how to manupilate the Objects that would be great. ( just my opinion to start with C#.net instead of C Language )
-----------------------------------------------------

Guyver.

Last edited by Guyver : 12-18-2007 at 01:52 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-18-2007, 01:50 AM
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 You are at the right path!

You are at the right path!

Programming is not the language (c, c++, MQL4, PHP etc) but programming is how to think like the programmers!

The book you have will drive you to the MQL4 better than starting with MQL4 without any programming concepts!

c language is the best (and hardest) high level lanaguage has ever made!




Quote:
Originally Posted by X.Oden View Post
Hi all, I'm currently reading a book called Beginning C. It is a great book with excellent explanations. I have zero C programming experience, but just wrote my first Hello World program.

Should I continue learning C to help me become more familiar with MQL4 or should I delve right into MQL4?

I don't want to waste time, but since looking at the C book, going back to MQL4 codes seem more readable.

I tried understanding the dictionary to certain functions, commands etc in MQL4, but that stuff is so cryptic.

I figure I learn C to get the basics of coding and familiarity of some of the rules in C which I seem to find familiarities with in MQL4.

Not sure what the difference is, but I figure C will offer alot more options, whereas MQL4 is a scaled down version of C, so I should be ready to program in MQL4 with little learning curve after I'm done with C.

Is this a correct assessment? Any input for those of you who have crossed over I would sincerely appreciate it. Thanks again.
__________________
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
  #10 (permalink)  
Old 01-05-2008, 01:38 PM
X.Oden X.Oden is offline
Junior Member
 
Join Date: Apr 2006
Posts: 13
X.Oden is on a distinguished road
Coding Problem in MQL4...

How do I setup a bot to open trades while there are manual trades open in an existing account?

I want it to keep track of only the trades it takes and upon closing for profit, only close the trades it has taken.

Can anyone shed some light? I looked at the close symbol and magic number functions, but am not sure how to use them. All I need are a few examples. The mql4 documentation is so cryptic....

Thanks for any help.
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/metatrader-programming/11306-best-way-learn-mql4.html
Posted By For Type Date
skhulz » Best Way To Learn Mql4….. This thread Pingback 12-18-2007 03:38 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learn to Trend yyc196 Suggestions for Trading Systems 97 12-08-2007 06:23 AM
want to learn to program sarenokai General Discussion 4 08-18-2006 03:31 AM
eager to learn superbait Lessons 2 07-22-2006 01:10 PM
When will you guys EVER learn?? sfxtrader Indicators - Metatrader 4 13 07-04-2006 06:12 AM
learn mt3 marcus Metatrader 3 3 11-07-2005 06:02 PM


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