Empirical Study Of The Effectiveness And Optimization Of Technical Indicators In Stock Markets