This indicator is nothing but combination of Magic Trend and Super trend written by KivancOzbilgic So credit goes to him. I have just added some extra functionality which are below: 1. Multi time frame, magic trends time frame can be different from supertrend by changing shortTimeFrame 2. Dynamic time frame, u can change supertrends time also
Best usage is to use Magic Trend on 1 lower time frame than supertrend.
eg. Suppose ur current chart is on 5 min time, ur supertrend will be displayed with current time on chart(which can be changed also using MTF Tradingview feature), u need to keep shorterTimeFrame on lower value such as 3min .