The script works with RSI and Stoch to make sure the price is oversold or overbought, but also use CCI to identify the cyclical trends. If the price is on support or resistance and the indicators are oversold or overbought and alert there's an option to buy or sell.