View Single Post
  #1068 (permalink)  
Old 05-14-2008, 08:09 PM
montedoro montedoro is offline
Junior Member
 
Join Date: Mar 2008
Posts: 22
montedoro is on a distinguished road
Sivach, you need to increase the MaximumRisk (make it =1) or you need to play with more initial balanse. Else the the lots you play are not enough to reach the profit target. When MoneyManagement=true lots are autocalculated and

lot=NormalizeDouble(AccountBalance()/10000,lotPrecision)*MaximumRisk;

So if you play with very low account balance and low MaximumRisk will be very difficult the profit target to be reached. That`s why when you have only one placed order the trailings don`t want to close it - the profit target is not reached. There`s no bug, just increase the MaximumRisk or Initial balance or both.

Last edited by montedoro; 05-14-2008 at 08:16 PM.
Reply With Quote