This new script gives you a direction bias based on closing above and below the lines, with an option to filter fake signals by waiting for one more candle close.
Also added more moving averages compared to the first script (built ins + )
Hope you like it!
(If you're a coder with a slightly larger brain than me, please tell me in the comments if I fixed the repainting problem correctly, I'm not 100% sure..)
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.