Programing MT4 101

 

Hi guys,

Im developer, but taking the first steps of learn programming on MT4.

Really basic questions:

Is the code C#? or what?

What kind of IDE is used here? or is through Metatrader itself?

Any guide or good "book" to check out?

Totally lost here, where should i start?

Thnks in advance

 
rubenscc:

Hi guys,

Im developer, but taking the first steps of learn programming on MT4.

Really basic questions:

Is the code C#? or what?

What kind of IDE is used here? or is through Metatrader itself?

Any guide or good "book" to check out?

Totally lost here, where should i start?

Thnks in advance

Hi,

the language syntax is similar to C#.

IDE is MetaEditor itself (come with the MetaTrader platform, just hit Ctrl+F4 to access).

Jim Dandy tutorials' youtube playlist is a good start for beginner:


YouTube
  • www.youtube.com
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
 
rubenscc:

Hi guys,

Im developer, but taking the first steps of learn programming on MT4.

Really basic questions:

Is the code C#? or what?

What kind of IDE is used here? or is through Metatrader itself?

Any guide or good "book" to check out?

Totally lost here, where should i start?

Thnks in advance

It might seem a bit daunting, but seriously, most of what you need is in Editor MT4  Guide, or in Google, or here.

A "hello world" EA? Assuming you know how to create a new EA template in MetaEditor....delete the code thats there and put this code in.

The code will display in the top left corner "Hello world " following by the server time of your broker. To update the time every tick, put the same code in the void OnTick() function...

Then, just move on and let what you want to do next, be your guide...eg. you might to know the number of the current hour...just type "hour" into MT4 guide and see what it says....

#property strict
int OnInit()
  {
   Comment("Hello world : ",TimeCurrent());
   return(INIT_SUCCEEDED);
  }
 

Awesome guys, this definitly helps me get started

Thank u very much

Reason: