I use this script on the H4 and confirm it with the D1. So when the D1 is buy and H4 is buy I go long and then when the H4 goes short I exit.
Overall I am very happy with the way things are running and this is my optimal strategy. I tried something different last week and the results weren't as good... Be sure to check out my video on the manual backtest I did on Japanese from 2017 to 2018 August the system definitely works better by flitering using that D1!
Head of Grey Trading