This back testing strategy generates a long trade at the Open of the following bar when the %K line crosses up UpBand line. It generates a short trade at the Open of the following bar when the %K line crosses down DownBand line.
You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.