No problem. I don’t know why you cannot average strategyprofit but at least we have a work around solution.
On a separate note could you please use the ‘Insert PRT Code’ button when posting code to make it more readable. I’ve tidied up the last post for you and also added the sp variable into your code to make it complete 🙂
Maybe if GraHal reads this he might want to put the code in his snippet library for others to find (or you can do it if you wish to)?