// Calculate daily PnL
dailyPnL += Position.GetProfitLoss(Close[0], PerformanceUnit.Currency);
// my logic here to go long
{
EnterLongLimit(Close[0] + (TickSize * 2), "Long", takeProfit, stopLoss);
}
// my logic to go short
{
EnterShortLimit(Close[0] - (TickSize * 2), "Short", takeProfit, stopLoss);
================================================== ===============================
here are the compile error.

Comment