This is essentially what I'm doing.
When I decide to enter a market short order, I do:
int SStopLoss=10;
EnterShort(DefaultQuantity, "");
SetStopLoss("", CalculationMode.Ticks, SStopLoss, false);
Then on a bar update, I may reset the stop like this:
double newStop=40.00
SetStopLoss(CalculationMode.Price,newStop);
Also, on a bar update, I may decide to exit the order, like this:
ExitShort();
SetStopLoss("", CalculationMode.Ticks, SStopLoss, false);
I do the SetStopLoss because I read somewhere that I need to do that for the next order.
Any suggestions or pointers would be appreciated.
Craig.
Comment