A simple script which buys and sells based on the Didi Index. Take profit and stop loss is adjustable in the source code.
Trend Analysis

Disclaimer