Braket tidak ada karena saya memiliki lebih banyak fungsi selama penghitungan pesanan. Di bawah ini adalah kelanjutan setelah baris terakhir dari kode di atas. Kode yang dimasukkan jika (OrderSymbol () == Symbol () OrderType () == OP_SELL) {double BreakEvenSell = OrderOpenPrice () - (BE_Pips * Point); gandakan PP_Pipsell = OrderOpenPrice () - (PP_Pips * Point); gandakan PP_Lotssell = PP_Percent * OrderLots (); if (PartialProfit == true) {if (PP_Pipsell gt; = Tanyakan PP_Lotssell gt; 0,0 OrderLots () gt; = 0,2) {OrderClose (OrderTicket (), PP_Lotssell, Ask, MaxSlippage, 0); Cetak (Untung Sebagian Diambil dari Jual, OrderTicket ()); }} if (BreakEven == true) {if (BreakEvenSell gt; = Tanyakan OrderStopLoss ()! = OrderOpenPrice () - (BE_AddedPips * Point)) {OrderModify (OrderTicket (), OrderOpenPrice (), OrderOpenPrice (), OrderOpenPrice () - Order_pendedPips *) Point), OrderTakeProfit (), 0,0); Print (BreakEven Dieksekusi pada, OrderTicket ()); }} if (OrderStopLoss () gt; NormalalizeDouble (stoploss, 4) RiskManagement == true OrderStopLoss ()! = OrderOpenPrice () - (BE_AddedPips * Point)) {OrderModify (OrderTicket (), OrderLabPrice (), stopLoss, OrderTakeProfit () , 0,0); }} if (OrderSymbol () == Symbol () OrderType () == OP_BUY) {double BreakEvenBuy = OrderOpenPrice () (BE_Pips * Point); gandakan PP_Pipbuy = OrderOpenPrice () (PP_Pips * Point); gandakan PP_Lotsbuy = PP_Percent * OrderLots (); if (PartialProfit == true) {if (PP_Pipbuy lt; = Bid PP_Lotsbuy gt; 0,0 OrderLots () gt; = 0,2) {OrderClose (OrderTicket (), PP_Lotsbuy, Bid, MaxSlippage, 0); Cetak (Untung Sebagian Diambil dari Beli, OrderTicket ()); }} if (BreakEven == true) {if (BreakEvenBuy lt; = Bid OrderStopLoss ()! = OrderOpenPrice () (BE_AddedPips * Point)) {OrderModify (OrderTicket (), OrderOpenPrice (), OrderOpenPrice () Order_pendedPips *) Point), OrderTakeProfit (), 0,0); Print (BreakEven Dieksekusi pada, OrderTicket ()); }} if (OrderStopLoss () lt; NormalalizeDouble (stoploss1,4) RiskManagement == true OrderStopLoss ()! = OrderOpenPrice () (BE_AddedPips * Point)) {OrderModify (OrderTicket (), OrderOpenPrice (), stopLoss1, OrderTakeProfit)) , 0,0); }}}