![How to start with MQL5 How to start with MQL5](https://c.mql5.com/36/48/how-to-start-with-mql5__3.jpg)
How to start with MQL5
- 2021.06.04
- www.mql5.com
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors...
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello all,
Am new to EA coding, i have 2 questions :
1- what is GetTicketNumber of a position ? is it an INTEGER that starts from 0 or 1 ?
2- How to close all positions By Type ? Only close buy or sell only positions.
Thanks for your help all.