Spread spectrum linked to optimization techniques play a very important role in today's world. Optimization gives the best one among all the solutions and the spread spectrum is used to minimize distortion, hence optimized spreading code is very important in wireless communication. This study shows a comparison of two recent modified techniques of DE with the help of engineering design problems and application of that modified DE (considering the better one) in wireless communication to optimize logistic map based spreading code. A comparative study of properties of both optimized and non-optimized spreading code is also discussed in this paper. The performance of the optimized spreading code is also evaluated with the help of bit error rate (BER) by applying it in static and dynamic direct sequence spread spectrum system (DSSS). The performance of the proposed technique (optimized dynamic logistic map code based DSSS) displays better results than non-optimized spreading code and orthogonal spreading code considering BER. Therefore, the proposed method can be efficiently applied in the wireless communication system.