This is an updated version on one of my previous scripts. Small explanation in the description.
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 + donchian)
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..)