Hi I am using a strategy to open up to 2 positions and would like to change the stop loss after the price moved 10 point from the entry. In backtesting it seems that it is working however, it doesnt work in real execution. I ran this strategy today and it didnt change the stop loss. Luckily I was in profit and hit the target. Does it have anything to do with IG limitation? Is there any work around? sl=21 tp=29 if countoflongshares<80 and countofshortshares<80 then if dhigh(0) – lowest[1]>30 and close[0]>open[1] and dopen(0) – lowest[1]>1 then buy 50 contracts at market SET STOP LOSS sl set target profit tp endif if highest[1] – dlow(0)>30 and close[0]<open[1] and highest[1] – dopen(0) >1 then sellshort 50 contracts at market SET STOP LOSS sl set target profit tp endif endif if longonmarket and close = tradeprice + 10 then set stop loss 0 elsif longonmarket and close = tradeprice -20 then set target profit 0 endif if shortonmarket and close= tradeprice -10 then set stop loss 0 elsif shortonmarket and close= tradeprice +20 then set target profit 0 endif