DislikedHi All
I'm showing the same and I have a theory
For this to be happenings Pippo is either: -
-- Deciding that SendTrade is still true and therefore a pending order is needed, or
-- The DoesTradeExist is not finding the pending trade.
So, I can't see any problems with the code in either of the two options
The best I can do is change 'bool SendTrade;' to 'bool SendTrade = false;' to make sure that SendTrade is initialised to false. I'm testing this now to see if it does fix the problem.
PaulIgnored
Edd