Calcualtion of total closed lots script-indicator
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);
Hello,
I'm looking for a script/indicator that tells me how much lots I've already traded.. Is there any such script/indicator..?!