This is very cool and simple script I just play around with non security MTF and this is the end result:) buy period is lime, sell period is red since it based on the changes of the MTF by time it give us very nice signal of bullish or bearish period since no security is here so no repaint fear.. if you use 1 hour candle choose either daily (better for crypto ) or weekly MTF (better for stocks ) or even higher if you use lower TF then try to see which MTF is best suited for it simple and nice I think :) here on tesla facebook boeing nifty forex etc