Hello.
Sorry for late reply.
Thank you for your post.
I use a little bit a different approach, so need to know if I am on right way.
Using rule "Trade no more than 2% of amount", I simplify formula to defaultTradeAmount= Equity x Trade risk(%) x Pip value / Lot Size.
So if I have $1000 on my account and want to trade 1% of account it should be:
1000 x 0.01 x 10 / 100000 = 0.001 TradeAmount
About Pip value, I know most pairs have pip value around $10 (but not all) so it is "quick&dirty" solution.
Please see attached file.
Any improvements are more than welcome!!
Regards