if (Close[0] > Position.AvgPrice + 15 * TickSize)
{
SetStopLoss(CalculationMode.Price, Position.AvgPrice + 2 * TickSize);
}
This only works if the bar closes greater than 15 ticks above entry. I need it to work any time the bar is greater than 15 ticks above entry, even if the bar closes less than 15 ticks.
What should I change if(Close[0] to?

Comment