Forex
Google
New signals service!

Go Back   Forex Trading > Programming > Metatrader Programming


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
  #11 (permalink)  
Old 01-05-2008, 01:40 PM
Junior Member
 
Join Date: Apr 2006
Posts: 13
X.Oden is on a distinguished road
So based on this, should I ditch my C studies and move to C#? I am only on chapter 2 in the C studies. Do you have experience with both? I know from Coders Guru's response, he has been around a while, so I was basing learning to program MQL4 on first studying C according to his MQL4 tutorial manual.

Any light on this would be appreciated...



Quote:
Originally Posted by Guyver View Post
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-05-2008, 01:46 PM
Junior Member
 
Join Date: Apr 2006
Posts: 13
X.Oden is on a distinguished road
Can you recommend a good book to start off with? What compiler would I need as well? I need the cheapest and fastest approach. I have no experience programming in most languages except dos batch scripts and basic.

Thanks again.


Quote:
Originally Posted by Guyver View Post
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 01-05-2008, 02:24 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 295
Beno is on a distinguished road
I have taken the same approach and started with C as I believe it should give me a good grounding.

Any of the

For DUMMIES range of books.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 01-19-2008, 11:00 PM
cooltrader28@yahoo.com's Avatar
Member
 
Join Date: Dec 2007
Posts: 33
cooltrader28@yahoo.com is on a distinguished road
find an indicator that scan trends in different periods in 1 chart

i saw something on steinitz EA . now i build an indicator myself


how can i start?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 01-19-2008, 11:55 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 2,853
Blog Entries: 34
Linuxser has disabled reputation
Quote:
Originally Posted by cooltrader28@yahoo.com View Post
i saw something on steinitz EA . now i build an indicator myself


how can i start?
You could start with this thread and then read the section.
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 01-24-2008, 09:24 PM
Junior Member
 
Join Date: Jan 2008
Posts: 1
Gustavo Aguilar is on a distinguished road
Cool Debugging options for MT4 ?

Quote:
Originally Posted by codersguru View Post
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!

Hi!
I know something about programming (C, old Pascal) and I remember that these Compilers had the option to run the program Step by Step and a window where the value of any variable can be displayed at every time. Those options are very useful to debug the program (specially for the non-profesional programmers, like me).

With that, I want to ask if there is a way I can use something alike in the Metatrader-Compiler (step by step & value of variables), because I'm feel lost many times and I don't know if my code is gonna doing what I want.

I appreciate your opinion, and I thank you for your invaluable course, it's great man!!
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

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:30 PM.



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