This looks really nice, but as I understand calculating sharpe ratios on trades, you calculate the average based on single calculations AVG(Max(Loss or Gain)-RiskFreeRate)/STDEV of daily returns)
Summing up the entire trade result as it looks like you did would likely distort the Sharpe ratio...