#if TESTBED || INDCOM
return TotalTradeProfit();
#else
if (TotalTradeProfit() != startegy.Performance.AllTrades.Performance.Currenc y.CumProfit)
{
// Indicator.("signals","Total Net Profit calc:{0} NT:{1}", TotalTradeProfit(), startegy.Performance.AllTrades.Performance.Currenc y.CumProfit);
}
return startegy.Performance.AllTrades.Performance.Currenc y.CumProfit;
#endif
(There is no space in 'currency' in the actual code but the forum makes it look like there is)

Comment