forinti=OrdersTotal-1;i>=0;i--{ifOrderSelecti,SELECT_BY_POS,MODE_TRADES{ifOrderMagicNumber==订单识别码&&OrderSymbol==Symbol{ifOrderType==OP_BUY{doublebprofit=OrderProfit+OrderCommission+OrderSwap;if-1*bprofit>AccountBalance*0.2//亏损超过余额的20%{限制一根柱子下注一次=Time;Mq4_laber"平多1",Yellow,0;Mq4_cLoseallNew订单识别码,"",0;}}}}}官方电话官方网站向TA提问。
齐晓华2019-12-21 18:38:19