Two-Way Stock Average Calculator