I become crazzy

 

I have built an EA mixing TDSGlobal and MACD samples.

The buys and sells and trailingStops work, but not the Pending Order Management when my conditions are triggered.

I have messages "MarketOrder #XXXXX cannot be deleted.

Where am I wrong ?

Help will be appreciate.

Thanks in advance.

Jo