Hello,
I'm trying to trail pending order but I'm not sure about the way and I have some dubs....
1. Can you tell me if this is the best way to trail a pending order? (see add file)
Anyway it do not work well because I have not find a good solution to use a "Positions Ammount" related with a specific pending order.

I need check the presence or not of every pending order.
For all pending order there is "positions amount"

But in the single position list the "position amount" is not the number of pending order, is the quantity of inversion.
Why this difference and how to detect nº of pending order selected?
