Forum: NinjaTrader
March 16th, 2015, 03:57 AM
|
Replies: 4
Views: 1,378
You need to store the PnL of previos days in...
You need to store the PnL of previos days in if(FirstBarOfSession) totPnL=...
Then on each bar you query todays PnL as totPnL - Performance.AllTrades.TradesPerformance.Currency.CumProfit;
|