Thank you,
For the specific task only closed would be enough. For general purposes I guess that all trades would be better. I know that this will be an easy task for you, but when you write it can you explain of how it works?

I've tried to read the for(all_trade) macro definition but, I admit, is quite obscure to me...

Ciao

Last edited by MatPed; 01/25/18 09:17.