Hi there, I'm having a problem with SetTrailStop. If my code is:
SetProfitTarget(CalculatioMode.Ticks, 10);
SetStopLoss(CalculationMode.Ticks, 10);
EnterShort():
then all is good. However, if I go with SetTrailStop instead, of
SetProfitTarget(CalculatioMode.Ticks, 10);
SetTrailStop(CalculationMode.Ticks, 10);
EnterShort():
then I get errors:
Stop price can not be changed above the market, aeffected order: Sell 1 StopMarket
Strategy submitted an order tha generated the following error: Unable to change order. Strategy has sent cancel request, attempted to close the position and terminate itself.
Obviously, something is going on that I don't understand. Can you explain why SetTrailStop is failing me? Thanks,

Comment