**Re: NetTrap Metatrader Expert Advisor** Quote:
Originally Posted by **Dubai** If standard acc, Mark, 1 lot should be £10. |
SML is, in effect, a mini account, with lot sizes of 10000 (as opposed to 100000 on a standard account). Therefore, 1 lot = £1. (I'm not sure how they reconcile that to the market, where lot sizes are measured in US $ but luckily, we don't have to worry about that! )
In the EA, I calculate a multiplier based on the internal field LOTSIZE, which I divide by 10000. Therefore, for a standard account, multiplier will be 10, for a mini, 1 and for a micro, 0.1. The calculated amount per pip is divided by this multiplier, thus giving the correct lot size equivalent for the account; e.g. in SML, £5 per pip beccomes 5 lots, as the multiplier is 1. On an Alpari standard account, the multiplier is calculated as 10, so £5 per pip converts to, say, $8, which is then converted to 0.8 lots.
Cheers,
Greg |