SMA & EMA Simple Crossover

Tracks and highlights trends by using a simple SMA and EMA indicator. When a shorter SMA (default set to 10 periods) and a longer EMA (default set to 20 periods) cross over, a cross is placed upon the chart at the crossover point. Defaults settings for the periods and colours can be changed the user to meet their own preferences using the settings button (i.e. without having to edit the script).
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?