
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I just cannot figure this out in my head so I would really appreciate if someone can explain to me.
I want to calculate the best lot size based on a known number of pips stop loss.
I know I can use code like this:
double lots = AccountFreeMargin() * Risk/100 / ( StopLossPoints * MarketInfo( Symbol(), MODE_TICKVALUE ) );
Please can someone show me a real life worked example as I know this will help me understand.
E.g. with $5000 free margin, mini account with 200:1 leverage, 50 pip stop loss, and 2% risk