I wrote the code with an Exit this way:
if (Position.MarketPosition == MarketPosition.Short)
{
if (Low [0] <MIN (14) [1])
{
ExitShortStop (High [0], "ExitShortProva1", "ShortProva1");
}
}
in the output is written like this:
06/13/2000 22:00:00 Entered internal PlaceOrder () method at 13/06/2000 22:00:00:
BarsInProgress = 0 Action = Stop = BuyToCover OrderType LimitPrice Quantity = 0 = 0 = 49.69 StopPrice SignalName = 'ExitShortProva1' FromEntrySignal = 'ShortProva1'
The next day the stock open at 49.75 - 49.06 Low - High 51 .
Why do not you close the position as written in the output to 49.69 ?
Thank you.
Hello.
Roberto
Comment