Hi there, great job on making this EA. It helps me place orders on a sloping line, tremendously useful. But I don't think the risk settings are working well. I have set the Lot mode to "FIX_PROG" and Risk as 1.0, but it keeps placing orders for 0.09 lots for every pair. That is not 1% risk. How do I set it so that it calculates exactly 1% risk of my balance amount?
mmsrect #: Hi there, great job on making this EA. It helps me place orders on a sloping line, tremendously useful. But I don't think the risk settings are working well. I have set the Lot mode to "FIX_PROG" and Risk as 1.0, but it keeps placing orders for 0.09 lots for every pair. That is not 1% risk. How do I set it so that it calculates exactly 1% risk of my balance amount?
Hello. Sorry for late response.
FIX_PROG lot calculation is based on LotFix setting, BalanceLot setting, and your Account Balance. Doesn't affect by Risk setting.
The calculation is : Your Account Balance / BalanceLot x LotFix.
Example :
Your Balace = $1750
BalaceLot = 100
LotFix = 0.01
So your lot size will be : 1750/100 x 0.01 = 0.175. Lot size will be round down and 2 digit decimal. So the final Lot is 0.17.
Risk setting is for DYNAMIC calculation.
The calculation is : Risk / 1000 x Account Free Margin / BalaceLot.
The result will be round to 2 digit decimal.
You can use FIX mode so it will only use LotFix setting as your lot size.
If you have questions, please contact me. Thank you.
Hi there, great job on making this EA. It helps me place orders on a sloping line, tremendously useful. But I don't think the risk settings are working well. I have set the Lot mode to "FIX_PROG" and Risk as 1.0, but it keeps placing orders for 0.09 lots for every pair. That is not 1% risk. How do I set it so that it calculates exactly 1% risk of my balance amount?
Hello. Sorry for late response.
FIX_PROG lot calculation is based on LotFix setting, BalanceLot setting, and your Account Balance. Doesn't affect by Risk setting.
The calculation is : Your Account Balance / BalanceLot x LotFix.
Example :
Your Balace = $1750
BalaceLot = 100
LotFix = 0.01
So your lot size will be : 1750/100 x 0.01 = 0.175. Lot size will be round down and 2 digit decimal. So the final Lot is 0.17.
Risk setting is for DYNAMIC calculation.
The calculation is : Risk / 1000 x Account Free Margin / BalaceLot.
The result will be round to 2 digit decimal.
You can use FIX mode so it will only use LotFix setting as your lot size.
If you have questions, please contact me. Thank you.