1. You've used a lot of boolean "&". If you don't actually need all the conditions to be evaluated (you don't), use "&&".
2. Look up the CumUp and CumDown indicators to simplify. For example, your entry rules can be simplified to:
CODE:
Please log in to see this code.
As for the agressiveness, that changes things more than you might think. The logic is written for a single Position and the entry and exit logic are mutually exclusive. When you start dealing with multiple positions, you shouldn't generally use "LastPosition" logic. Look up scripts that use
ActivePositions.Count in the code, or, use the Strategy Builder with the Multi-Position option selected for exambples.