

I send to you my lot size calc. It's based on equity and not on Balance. It's better if you use more thant 1 trade together.


In the documentation :
For my five digit broker : mode_tickvalue = 1; mode_ticksize = 0.00001 So why every body give this line : double pipValue = MarketInfo(Symbol(),MODE_TICKVALUE); if (Digits==3  Digits==5) pipValue *= 10; Aint this wrong ? 

This is wrong, missworded (?) double pipValue = MarketInfo(Symbol(),MODE_TICKVALUE); if (Digits==3  Digits==5) pipValue *= 10; It should be : if Digits == 5 AND if you work in Pips, then .... if (Digits==3  Digits==5) pipValue *= 10; if someone work in Point, someone don't care about Pips. 
3501 
ffoorr: That is just for when people input values as pips. Point is not usually equal to 1 pip.In the documentation :
For my five digit broker : mode_tickvalue = 1; mode_ticksize = 0.00001 So why every body give this line : Aint this wrong ? double pipValue = MarketInfo(Symbol(),MODE_TICKVALUE); if (Digits==3  Digits==5) pipValue *= 10;



Let's say my mini account has margin of $10,000, and I want to risk 2% on the next trade (that is, simply use $200 to buy <some amount> of contracts).
[I realize this is a limited view of "risk". I'm not interested in stopLoss pips, or profit targets, or whatever.]
Using MetaTrader, I get the following mini account information from my broker:
accountLeverage = AccountLeverage(); // value = 200
modeLotSize = MarketInfo("EURUSDm", MODE_LOTSIZE); // value = 10000
modeLotStep = MarketInfo("EURUSDm", MODE_LOTSTEP); // value = .01
modeMinLot = MarketInfo("EURUSDm", MODE_MINLOT) ); // value = .01
QUESTION: How do I calculate the lot size for $200? (It would be useful to know the cost of a minimum size lot. In this case, the minimum size lot is .01).
QUESTION: Is the lot size calculation formula the same for all currency pairs?
Thank you very much in advance.
I send to you a good lot size calculator based on the equity and not on the balance. It's better if ou have more one trade.