This is an indicator version of my Simple 17 script.
The rules are simple, when the price closes after crossing above the MA, we have a long signal. When the price closes after crossing below the MA we have a short signal.
I have set up alerts that fire upon these crosses, one for long, one for short.