6/12/2023 0 Comments Ea builder proA five-wave advance identifies the overall trend as up. The Wave Principle identifies the direction of the dominant trend. If(OrderProfit()1) lot=NormalizeDouble(lot+lot+losses/lotincreasewhenlosing,2) If(OrderSymbol()!=Symbol() || OrderType()>OP_SELL) continue ![]() If(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)=false) - calcuulate number of losses orders without a break ![]() 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. |