Simply choose your moving averages and backtest shorting and longing the crossing of these MA's. Meant for dialing in MA crosses as part of a trading setup and not reason enough to take the trade. First script, work in progress.
Thanks to @allanster for the Date Range code:
Added input settings to change the chart time period / the number of days being backtested