This is a pretty basic script, designed to work on the 6HR XBTUSD chart. Nothing special, but it does a decent job of catching mid-term (1-2 week) trends. It is not optimized to be profitable on other timeframes by itself, but can be used as a confluence indicator.