I corrected the mistakes and made some changes. I used 25/75 for Stoc(14,1,3) for entry and Stoc(5,2,3) for exit. The result is improved. Here are the updated rocket criteria:
1. Long when macd(5,13,6) histogram >= 0.4 and stoc(14,1,3) K > 75 and stoc(14,1,3) D > 75 (K or D is crossing 75)...