In the strategy (code) I have two series (on bar close): basic and for 1tick.
I use only EnterLong and only ExitLong. Even though, later in the Strategy Performance I see stats for Short Trades, even though there is no EnterShort in the code.
I noticed that the statistics for short trades are generate in the if-statement in 1tick function:
if (Position.GetUnrealizedProfitLoss(PerformanceUnit.Points, Close[0]) <= -4){ ExitLong(Convert.ToInt32(Position.Quantity), "EXIT", ""); }
It is strange as well, that in the statistics I see the 'Entry name' as 'EXIT' and the 'Exit name' as 'GO LONG', which shouldn't be possible as entry is only 'GO LONG', not as a "Exit name".
In the exported Excel file with all trades report I see no 'Short' trades.
Comment