Writing an EA from scratch

 

Hello to everybody;

I am new of trading on line, even though I know very well computer science and programming; because my goal is to write an automated MQL5 trading robot, I am asking you tutorials which explain from scratch how to place and monitor a trading order, what bars are and why are necessary and so on.

Any help and indication will be very appreciated

Davide

 
MetaTrader 5 Help
MetaTrader 5 Help
  • www.metatrader5.com
All types of orders are available in the platform, including market, pending and stop-orders. With such a diversity of order types and available execution modes, traders can implement various trading strategies for successful performance in the currency markets and stock exchanges. You will certainly appreciate the functionality of the mobile...
 

Hello Sergey...

https://www.mql5.com/en/articles/392#01

In this page I have read, almost at beginning: "Crossing of a certain level is considered to be true if the bar is fully completed. That is, you trade using only completed bars.".

What does exactly mean ? What does a bar stand for ?

In commenting the first pictures, always showed in this link, I found some indicators levels, for example "H_PCH" but I am not able to locate them.... could you help me ?

 
Something about the bars - read this post #109
Reason: