The crossing of moving averages can help you determine the tendency of an instrument to trade.
The script has two configurable moving averages that will help you determine the trend and then take advantage of it in your strategy.
Remember to use the alerts.