![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
Hi,
I'm building some simple EA to learn mql5.
I cannot understand how MetaTrader behaves after a series of orders like the following:
basically the EA starts three buys in 3 different days with different market price and so different stoplosses; whats the behaviour?
when price falls back to 115 just 0.1 lots are sold?
or the whole position of 0.3 lots is going to have an average buy price of 115 and an average stoploss of 110?
or other things happens?
thanks in advance
M.