first I write to you in Spanish, I am lazy, due to work I have not connected, second try testing with rsi at lengths of 400 and above and the sma should be 10% good luck