I am republishing this indicator as something changed within TradingView's script engine so that the old script ceased to function ( a minor syntax error that used to be acceptable but no longer is). Anyhow here's the fixed version which as you can see has done a great job of keeping us on the right side of the trend with once-hot stocks like Skyworks !