I am making a trigger where when the price moves, for example, 20 ticks in the green, then move the stop loss to lets say 2 ticks in the green as a "breakeven"
Here is what I am using:
if(High[0] >= Position.AveragePrice + beTrigger*TickSize)
{
SetStopLoss("One", CalculationMode.Ticks, beOffset * -1, false);
SetStopLoss("Two", CalculationMode.Ticks, beOffset * -1, false);
}
(insert the short scenario here)
So if my beTrigger value is -2, it works just fine, it will move my stop to 2 ticks in the red when the trigger of 20 ticks green hits, BUT, if I put in positive 2, Then my chart is showing it only moved it up to entry price. It wont let it move the stop loss into the green.
Can someone help me with this please?
Thank you!

Comment