Supertrend python. The first step is creating the trading rules.