Lot=NormalizeDouble(AccountFreeMargin()*MaximumRisk/5000.0,10) Int losses=0 // number of losses orders without a break Int orders=HistoryTotal() // history orders total !! plz help id like to add something like this to it !! i have found this code, but it is no compatabe with ea builder Now all it need is a code that lot increase when losing. Lots = NormalizeDouble(AccountBalance()*Risk/StopLoss/(MarketInfo(Symbol(), MODE_TICKVALUE)),2) I have found this code its easily adapted to work with the ea builder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |