
3206 
strontiumDog: Hello For a while I've been using the following lot size calculation in EAs, and more recently in a script I can drag onto a chart for it to do the lot size calc for manual trades automatically. My trading partner said, 'wow and it handles situations where the base currency is GBP and the pair for calculation are for example AUDNZD where neither of the pair are the same as the base currency?'. Now I'm suddenly in need of a sanity check that this is right. I'm 99.9% sure it's OK other than the couple of points I've put in my own code, but I'd really appreciate someone on a higher plane than I reassuring me that I'm doing this right for all FX pairs (and would this work for Oil also?):



Hello
For a while I've been using the following lot size calculation in EAs, and more recently in a script I can drag onto a chart for it to do the lot size calc for manual trades automatically. My trading partner said, 'wow and it handles situations where the base currency is GBP and the pair for calculation are for example AUDNZD where neither of the pair are the same as the base currency?'. Now I'm suddenly in need of a sanity check that this is right. I'm 99.9% sure it's OK other than the couple of points I've put in my own code, but I'd really appreciate someone on a higher plane than I reassuring me that I'm doing this right for all FX pairs (and would this work for Oil also?):