Hi Wilson
Not sure I understand the question 100% but I'll give you an answer anyway.
Initially the EA opens trades as per the requirements that I posted on the first page. Then in an effort to attempt to catch more pips on a long trend, the EA will close out the "basket" but leave some trades open with a TS to follow the trend while at the same time starting a new "basket" of trades.
So it has two manners of closing out trades, firstly by the basket, in other words all trades at the same time for a combined profit of X, or it will selectively leave some profitable trades open to take advantage of a trend that may be running in an attempt to get more pips rather than just closing the entire basket and starting a new one.
Hope that helps.
As for the MA question, that one is simple, as long as the MA are in the same state, the EA will trade, so even little dips that correct will be traded.