if (
SystemPerformance.AllTrades.Count > 0
)
{
Trade oneTradeAgoData = SystemPerformance.AllTrades[SystemPerformance.AllTrades.Count - 1];
oneTradeAgoPnL = ( oneTradeAgoData.EntryTime <= ToTime(HourFrom) || oneTradeAgoData.EntryTime >= ToTime(HourTo) ) ?
0.0 : oneTradeAgoData.ProfitCurrency ;
}
EntryTime thows this error
_TradesCounterCleaned.cs 'NinjaTrader.Cbi.Trade' does not contain a definition for 'EntryTime' and no extension method 'EntryTime' accepting a first argument of type 'NinjaTrader.Cbi.Trade' could be found (are you missing a using directive or an assembly reference?) CS1061 158 50
What is the simplest way to check for the Entry Time of trades for later use with SystemPerformance?

Comment