Yes I have modified the formula to suit JPY pairs, otherwise it would be 0.01 lot size every time.
The previous test I did yesterday was a fixed 0.1 lot and for this test the lot size is based on the account equity. I've allowed 2% risk for each trade so obviously as the account grows the lot size will increase according and vice versa. I have limited the max. no of trades to 5.