Hi all, I have a question related to the placement of stops and targets when a strategy cumulates positions. Here is a simple code: // Definition of code parameters DEFPARAM CumulateOrders = True // Cumulating positions activated // Conditions to enter long positions indicator1 = RSI[2](close) c1 = (indicator1 CROSSES UNDER 5) if barindex - tradeindex = 0 then SL = lowest[5](low) TGT = 6*(tradeprice-SL) endif IF c1 THEN BUY 1 CONTRACT AT high+1 stop set target profit TGT ENDIF IF longonmarket THEN sell at SL stop ENDIF With this code, every time a position is added to an existing position, it changes the previously set target and stop of the previous position. Anybody an idea how you can add a stop and target to an “add” position, without messing with the previous position its stop and target?