This is based on Lazy Bear famous script of Wave trend So in basic we do MTF on it One can choose to use the signal of the MTF (circles red or green for buy and sell) or the regular buy and sell by cross green /red to the script one can add if it cross the 0 above or bellow (not done here) the MTF is taken from pinescripter example how to avoid repainting , so it good also for using your indicator to make MTF scripts alerts included