#4 - implemented the algorithm for calculation of indicator points, adjusted saving negative points