so did you play around with the values to see if gives a different result? you have used window size of 50, do you feel as general rule of thumb you are using the correct value?..
I am sharing post comment which explains a bit of same, it will probably help you make changes and try again