If you wanted to differentiate between buy and sell comments on the chart you could use the following:
// Buy condition
if (c[1] == color.lime)
strategy.entry("Long", strategy.long, comment="Buy Long")
// Sell condition
if (c[1] == color.red)
strategy.close("Long", "Sell Long")