When I'm in a short position I'd like to move my stop loss to breakeven once the trade has gone a certain distance in my favour. Any ideas how I do this, I've been trying the below, but struggling to get any traction. Assume I'm missing something
So I'm in a short position named "Go Short" which has Profit target 50 ticks and Stop Loss of 50 ticks
if (position.marketposition==marketposition.short) && Close [0]< AvgPrice - 15*TickSize
SetStopLoss("GoShort",CalculationMode.Price,AvgPri ce,false)
Comment