if (GetCurrentAsk() >= Position.AvgPrice)
{
SetTrailStop(CalculationMode.Ticks, 10/TickSize);
}
else
{
SetTrailStop(CalculationMode.Ticks, 20/TickSize);
}
The problem is that the trail stop will always stay at "10/TickSize" and it won't adjust if the price drops below the "Position.AvgPrice".
Do I have to cancel the trail stop first before changing it? If not, what am I doing wrong?
Thanks a lot!
Edit: Also, I'd like to know how to cancel a trail stop at "CurrentAsk < Position.AvgPrice" and set a Stop Loss instead. When the CurrentAsk returns to > Position.AvgPrice I'd like to cancel the stop loss and set a trail stop again.

Comment