RE: QAC - by hand (calculator)
N = Portfolio Control divided by Number of Shares
For AIM next sell calculate S = 1 - SAFE - Minimum Trade Size %
i.e. 10% safe, 5% Minimum Trade Size S = 1 - 0.1 - 0.05 = 0.85
For AIM next buy calculate B = 1 + SAFE + Minimum Trade Size %
i.e. 10% safe, 5% Minimum Trade Size B = 1 + 0.1 + 0.05 = 1.15
Next Sell Price = N / S
Next Buy Price = N / B
If you tend to use the same AIM settings, perhaps 10% SAFE, 10% minimum trade size for instance, then its simply to remember that S and B are 0.8 and 1.2 respectively, and therefore just a matter of calculating each AIM's PC / #Shares figure and then dividing that by 0.8 and 1.2 for the next sell/buy price trigger levels.
At those trigger price levels, assuming your minimum trade size is 10% then you sell (buy) 10% of the shares (for 5% minimum trade size its 5% of the shares).
Clive.