How can I use your recommendation if I am going from long straight to short? I suppose to code just "EnterShort();" right? That was your initial recommendation. So, should I use the code that I wrote this morning and include the sample as per your post?
If not, where would I place
// Resets the stop loss to the original value when all positions are closed
if (Position.MarketPosition == MarketPosition.Flat)
{
SetStopLoss(CalculationMode.Ticks, stoplossticks);
}
Technically speaking I am only momentarily flat but that is suppose to be beyond the human eye and beyond the code if I were using just "EnterShort();"
Kay Wai

Comment