Our partnerSkilling
  • Spreads from 0.1 pips
  • 1,000+ instruments
  • Free demo account

65% of retail investor accounts lose money when trading CFDs with this provider.

Open account
Module 1 · What is algorithmic trading?

1.2 MetaTrader 4, MetaTrader 5 and cTrader

Lesson 2 of 19Reading time: 2 min

Most CFD brokers offer at least one of three platforms for algorithmic trading. Skilling offers all three. Each platform has its own programming language. You can read more about each of them in our platform guides.

MetaTrader 4MetaTrader 5cTrader
LanguageMQL4MQL5C# (and Python)
The robot is calledExpert Advisor (EA)Expert Advisor (EA)cBot
File.mq4.mq5.cs / .algo
EditorMetaEditorMetaEditorBuilt into the Algo app, or Visual Studio
Launched200520102011
StrengthsHuge amount of ready-made code and help onlineFaster testing, more time frames, more order typesA modern language used across the IT world, a tidy API

MQL4 and MQL5

MQL stands for MetaQuotes Language. Both resemble the programming language C++. MQL5 is newer and more powerful, but also a little more long-winded: indicators, for example, must be created once and read with a separate function. In MQL4 you can read an indicator directly with one line.

C# in cTrader

cTrader uses C#, a widely used language from Microsoft. That means you learn something you can also use outside trading. The code is often easier to read than MQL, and cTrader has clear documentation of all its functions.

Which should you choose?

  • New to programming and want as much help online as possible: MetaTrader 5.
  • Already have MT4 and lots of old robots: MetaTrader 4.
  • Want to learn a “real” programming language and like tidy code: cTrader.

In this course we build the same robot in all three languages. That way you see that the logic is the same – only the way it is written differs.

Use a demo account

All three platforms let you open a free demo account. Algo trading works on demo exactly as on a real account, and that is where you should test.

Try it yourself

Install MetaTrader 5 or cTrader with a demo account, and find the editor where robots are written.

Key takeaways

  • MetaTrader 4 uses MQL4, MetaTrader 5 uses MQL5, cTrader uses C#.
  • The logic of a robot is the same – only the way it is written differs.
  • MT5 has the most help online, cTrader has the most modern language.
Practise what you have learned – without riskTry it on a free demo account with Skilling, with real prices and virtual money.
Open a free demo account

65% of retail investor accounts lose money when trading CFDs with this provider.