This TMA study is called rollercoaster for the rounded ways it follows the moving average. Tried pinpointing entry/exit points as well as I could. Included alertconditions as well as syntax at the bottom for use with Autoview in a margin or spot trading environment. There is also the Strategy side chart use :)
As usual, free to use, change it to suit your needs, please don't resell for profit.