Forum on trading, automated trading systems and testing trading strategies
If you can't find what you need in the Codebase or the Market, then create a request in Freelance Service.
Alain Verleyen:
The code base is not well searchable....
Mohamed Mohamady:
Hello,
I'm looking for a script/indicator that tells me how much lots I've already traded.. Is there any such script/indicator..?!
double Lot = 0; for(int x=OrdersHistoryTotal()-1;x>=0;x--) { if ( OrderSelect(x,SELECT_BY_POS,MODE_HISTORY)) Lot += OrderLots(); } Print(Lot);
![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,
I'm looking for a script/indicator that tells me how much lots I've already traded.. Is there any such script/indicator..?!