TradesCumProfit = Performance.AllTrades.TradesPerformance.Currency.C umProfit -
priorTradesCumProfit +
Position.GetProfitLoss(Close[0], PerformanceUnit.Currency);
StrategyPlot(0).Value.Set(TradesCumProfit);
StrategyPlot(1).Value.Set(0);
StrategyPlot(2).Value.Set(TradesCumProfit);
I have tried replacing tradescumprofit with a static value, and still nothing showed up. Any suggestions?
based on the following thread, it appears not to work. Please use the strategy PNLTest available for download to confirm for yourselves.

Comment