• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:17am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:17am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

A better Editor for mql is available. 100x better than MetaEditor 20 replies

Need Help converting AFL Amibroker to MQ4 Metatrader 4 replies

Its better learn wisdom late, than never to learn it at all 8 replies

AmiBroker AFL help 0 replies

MQL Coding - Let’s talk about how to code mql 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: What is better to learn, MQL or AFL (Amibroker)??
Cancel

What is better to learn, MQL or AFL (Amibroker)??

  • Post #1
  • Quote
  • First Post: Jul 27, 2010 3:40am Jul 27, 2010 3:40am
  •  wowzers
  • | Joined Jan 2009 | Status: Member | 168 Posts
Hi, this is a question for programmers that are familiar with mt4 and amibroker languages.

I am wondering what is better to learn? I hear afl is terrific but is it as good as mql for EA's and Indis? One advantage afl has is it can be used in any market as long as the data's available.

Also I dont want to learn mql for mt4 when the programming language is going to change for mt5??? But if mql is more versatile than obviously I would. Anyone can comment with their experiences and thoughts?

Thanks
  • Post #2
  • Quote
  • Jul 27, 2010 12:23pm Jul 27, 2010 12:23pm
  •  michx
  • | Joined Jul 2010 | Status: Member | 23 Posts
Yo,
There are minimum 3 reasons for suppose the MQL is much better than AFL:
1. i didnt hear about AFL (and more peoples too i suppose)
2. Everyone hear about MQL
3. if u want to learn MQL u need only learn C++ -> It's very popular language and its almost the same - if u understand C++ u will understand MQL4 and MQL5!

and u should know MQL5 is almost the same what MQL4 but first is more wide and its actually the same what c++ (contain object-oriented programming), MQL4 not and its poorly than C++

GooD LucK
 
 
  • Post #3
  • Quote
  • Jul 28, 2010 8:34am Jul 28, 2010 8:34am
  •  wowzers
  • | Joined Jan 2009 | Status: Member | 168 Posts
Hi michx,

AFL is amibrokers code language. Amibroker is a platform similar to tradestation and metastock that unlike MT4 can be used with all financials. It is a pretty neat program. You should check it out.
 
 
  • Post #4
  • Quote
  • Jul 28, 2010 1:06pm Jul 28, 2010 1:06pm
  •  michx
  • | Joined Jul 2010 | Status: Member | 23 Posts
Hi again
I didnt say AFL is bad language or something like that - I just wanted say that MQL is much more popular and i think u will learn it much easier (almost everyone can help u ).
Actually all languages are similar and if u learn one language u will be able to change the language very easy for another one.

C++ is one of the most popular language on the world and there are thousands books, courses and tutorials about it and MQL is really very similar so if u learn C++ you will be need max 1 days to start writeint first probrams in MQL -> mb 1 week to writeing fluently.
Scecoundly MQL5 is very powerfull language that give u possibility to do almost everything what u dream - even games like the snake :-) -> http://www.mql5.com/en/forum/913

I'm not sure u will be able to do so much in AFL, but i can be wrong...
 
 
  • Post #5
  • Quote
  • Jul 28, 2010 2:14pm Jul 28, 2010 2:14pm
  •  fx13
  • | Joined Dec 2009 | Status: Hunting | 394 Posts
MQL as it's widely used.

My dream is getting MQL supported outside of metatrader. Dukas already offer to convert MQL but if MQL can became the C of trading that would be great.

13
Brokers are angels
 
 
  • Post #6
  • Quote
  • Jul 28, 2010 2:42pm Jul 28, 2010 2:42pm
  •  flyer415
  • Joined Nov 2008 | 693 Posts
I would first pick the platform that i wanted to use. Then learn that language.

If you can learn one language then learning another is easy enough.

If you really like the MT4/MT5 platform over the Amibroker platform then why would you want to learn AFL. In that case you would not and therefore the question is moot.

If you prefer the Amibroker platform then learn AFL.
 
 
  • Post #7
  • Quote
  • Jul 29, 2010 2:05pm Jul 29, 2010 2:05pm
  •  wowzers
  • | Joined Jan 2009 | Status: Member | 168 Posts
Quoting flyer415
Disliked
I would first pick the platform that i wanted to use. Then learn that language.

If you can learn one language then learning another is easy enough.

If you really like the MT4/MT5 platform over the Amibroker platform then why would you want to learn AFL. In that case you would not and therefore the question is moot.

If you prefer the Amibroker platform then learn AFL.
Ignored

Thanks, I am planning to use both platforms and so I have decided to learn both, starting with mql.
 
 
  • Post #8
  • Quote
  • Aug 5, 2010 12:23am Aug 5, 2010 12:23am
  •  Tipster
  • | Commercial Member | Joined Aug 2010 | 174 Posts
I also use both, mostly because my code for Ami and IB is for EOD trading. For FX autobos, I think MQL is easier to implement, there is less fuss with the order sending routines.
Tipster
Tipster Trendlines - Trade from the chart
 
 
  • Post #9
  • Quote
  • Sep 7, 2010 9:37pm Sep 7, 2010 9:37pm
  •  eatree
  • | Commercial Member | Joined Sep 2010 | 93 Posts
I would say go straight to MQL5. It is much more powerful and comprehensive. It would be a good investment for your time.
 
 
  • Post #10
  • Quote
  • Edited 8:24am Sep 8, 2010 7:32am | Edited 8:24am
  •  7bit
  • Joined Mar 2009 | Status: Member | 1,231 Posts
I don't know why MQL4 is permanently compared to C++. Is it the curly braces that remind you of C++? Many languages have these nowadays but this does not make then similar. And I suppose you mean the C part of C++ which is as procedural as MQL4 (the "++" does not provide anything relevant for a comparison with MQL4).

MQL4 and C (and also C++) play in a completely different league. C is a very low level language, for example C does not even know strings (they must be simulated with an array of char each time you need one (C++ wraps a class around this but the language itself still does not know what a string is). C requires you to permanently care about memory allocations and freeing memory after usage, it requires you to understand what a pointer is (and its grotesque pointer and dereferencing syntax) and how exactly the data is stored and represented in the hardware and other low level things that permanently distract you from getting higher level problems solved.

I would rather describe MQL4 as some kind of stripped down Java without classes.

I would learn Java. The more advanced platforms (once you leave the retail sector and start doing serious business with serious money) will require you to know Java anyways. And once you have learned one language you will learn every subsequent one in only a fraction of the time and learning more languages is not a "waste of time", it makes you a better programmer (in all the languages you know already) with each new language you learn. They don't use valuable storage room in your brain, instead they even seem to create new room for new ideas.
 
 
  • Post #11
  • Quote
  • Sep 8, 2010 10:25pm Sep 8, 2010 10:25pm
  •  peterc005
  • | Joined Jan 2010 | Status: Member | 35 Posts
Definitely go with MQL.

MQ4 and MQ5 are very similar, so moving from one to the other is not a big deal.

The MQL language constructs are loosely based on C/C++, so it is a lot easier to find people and resources with the right skills.

MetaTrader is probably the most popular trading platform now, so is most likely to be around in ten years time.
 
 
  • Post #12
  • Quote
  • Sep 9, 2010 4:27am Sep 9, 2010 4:27am
  •  peterc005
  • | Joined Jan 2010 | Status: Member | 35 Posts
Well, C came first and is a subset of C++. Both use curly braces.

No many people realise, but structs in C can do pretty much the same job as classes in C++.

Neither are an easy language to learn for beginners.

C is a very basic language, and doesn't have string manipulation built in, but the stand C library does. A C has is some very basic low-level operands and the ability to call functions which do the higher level work.

MT4 is more like C than C++

MT5 seems to have more of a Java influence.

In particular, I think DotNet and the idea of managed code comes thru in MT5.
 
 
  • Post #13
  • Quote
  • Feb 12, 2012 11:42am Feb 12, 2012 11:42am
  •  Tequilla
  • | Joined Feb 2012 | Status: Member | 5 Posts
AFL. Much easier, much faster, much better.
You can connect Amibroker to any platform and create your own trading, mechanical or automated system using AFL.
You will need MQL only to be able to get orders from AFL.
Here is how.
http://paulsfxrandomwalk.blogspot.co...atrader-4.html
 
 
  • Post #14
  • Quote
  • Jan 23, 2019 12:26pm Jan 23, 2019 12:26pm
  •  kiran23
  • | Joined Jan 2019 | Status: Junior Member | 1 Post
new member so not sure if answered elsewhere. MQL4 versus MQL5 - which should a person with no monogramming experience learn.
Is there a consensus on which is best. Most discussion is from years ago.
 
 
  • Post #15
  • Quote
  • Last Post: Edited 1:47pm Jan 26, 2019 12:15pm | Edited 1:47pm
  •  mcquak
  • Joined Mar 2013 | Status: Inactive | 471 Posts
Quoting kiran23
Disliked
new member so not sure if answered elsewhere. MQL4 versus MQL5 - which should a person with no monogramming experience learn. Is there a consensus on which is best. Most discussion is from years ago.
Ignored
Try to avoid Metatrader platform and so mql shitty language as much as possible. There are many brokers with decent APIs options one can use for free or with just demo account and being available for all mature languages like C++/C#/Java/Python. Either through the REST, some sort of custom streaming or I even know broker offering FIX protocol freely with no minimum account size. These are really professional and serious options for aspiring algo trader.

There is no need to learn obscure MQL

Chase value, not price
 
 
  • Platform Tech
  • /
  • What is better to learn, MQL or AFL (Amibroker)??
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023