I really want to learn MQL5 Where do I start ? - page 5

 
Take any code from Codobase and start parsing/modifying it, what's needed and why. The main thing is to find a well-commented
 
Andrey F. Zelinsky:

start talking about "old language" -- well, the documentation is not suitable for newbies -- 99% of newbies can't move forward with the documentation -- there is only Kovalev's textbook, good/bad, old/new, but there is only it.

Really wanted to say exactly that, but held back. And now I'll let it pass me by. Have it your way. I haven't read Kovalev's textbook and don't suffer from it. The documentation is enough for me. If I did not understand it from the first reading, I read it again. And continue until I do not understand.

 
Andrey F. Zelinsky:

start talking about "old language" -- well, the documentation is not suitable for newbies -- 99% of newbies can't get off the ground with the documentation -- there is only Kovalev's tutorial, good/bad, old/new, but there is only it.

IMHO of course, but if the local docs didn't get you in, there's no point in looking for it, it's just a waste of time. Well, not everyone is given to it, like writing poetry, for example.
 
Alexey Viktorov:

I really wanted to say exactly that, but I held back. And now I'm going to let it pass me by. Let it be your way. I haven't read Kovalyov's textbook and I don't suffer from it. The documentation is enough for me. If I did not understand it from the first reading, I read it again. And I continue until I understand.


"We all have our own path, our own goal, but we all share the same end. All roads lead to nowhere. So all joy and meaning is not in the goal, but in the road itself" [Carlos Castaneda].

 
Vladimir Simakov:
If you do not know how to make an entrance on local docks, you should not look for it, it makes no sense, it's just a waste of time. Well, not everyone is given, as, for example, to write poetry.

It is less common for people to try to write poetry than to program in mql. No language they want to learn as much as mql, but it is still at the tail end in terms of popularity. Maybe they try it in C, but they quickly understand that they can't handle a normal task, and it's not interesting to write some nonsense. But at Forex they think they have found a grail and they urgently need to program it. I feel pity to share an idea. We must mock ourselves in trying to master the language.

For all those masochists: Programming is not only knowing the syntax of the language, but the ability to set a task to achieve the goal. Exactly the task. Try to write a ToR first, after reading it the programmer will not have any questions and will be able to write your wishes. You do not have to lay out your own grail, write TOR for crossing moving averages. How to determine that the averages have crossed, what to consider when closing the position, so that another one is not opened immediately. And so on...

 

In general, it does not matter what language to program in.

There are procedures and functions that make up the code of any program.

The languages differ only in the form of entries.

For example

Pascal

The function

function SplitString(const Str: string): string;
var
  k: integer;
begin
  result:= Str;
  k:= Pos('-', result);
  if(k > 0) then
  begin
    Delete(result, k, length(result) - k + 1);
  end else result:= '';
end;

Same function in MQL5

string SplitString(const string Str)
{
  if(StringLen(Str) > 0)
  {
    int k = StringFind(Str, "-");
    if(k>-1)
    {
      return(StringSubstr(Str, 0, k));
    }
  }
  return("");
}

The most important thing in programming is to understand what you're doing!

 
prostotrader:

In general, it doesn't matter what language to program in.

...

If it is not with.
 
Dmitry Fedoseev:
If it's not c.

What's wrong with C?

 
Vladimir Simakov:

What's wrong with C?

That's what you - the C-specialists - would do better to tell us. You're welcome to do so. Just because something is wrong with it is the wrong question. Otherwise you will say that I declared that C is the wrong language.

 
muhhacc ccc:
Hi all. I want to learn MQL5 /
Guys, can you tell me where to start? Maybe there is a tutorial video?
I found the video material but I don't understand more than 80% of what it shows how to write EAs by example ( example of various functions and so on ) I need the basics.
Thanks for understanding

Search the internet for a book on MQL5. It may come in handy.

Advanced use of
MetaTrader 5 trading platform
© Timur Mashnin, 2016

Reason: