This is the first script I've written. Its sole purpose is to make me learn a bit of pine script. Its not intended to trade live. Feel free to modify it if you wish and let me know if you do it. Also any comments are welcome!
Also i need help in two things: 1. Im unable to print the "in-strategy" rsi on chart 2. I want to ignore the first buy signal after each sell. I was looking to ad a counter to the signals but im unable to do it.