Zorro has this built-in function. Try plotMonthProfit()