Originariamente Scritto da
;
Vorrei chiudere un ordine a diversi livelli. Esempio: chiudo metà del mio ordine a takeprofit1 e il resto a takeprofit2 usando qualcosa di simile: Codice inserito if (OrderType () == OP_BUY) {if (Bid gt; OrderOpenPrice () TakeProfit1) {OrderClose (12345, 0.5, Bid 2); } if (Bid gt; OrderOpenPrice () TakeProfit2) {OrderClose (12345, 0.5, Bid, 2); }} Il problema ovvio è che quando il prezzo colpisce il mio TakeProfit1 cercherà di chiudere ogni nuovo tick chiudendo alla fine ...