This is using RSI divergence as one way to determine a potential reversal point. If it takes or not will determine the exact nature of the stop. The trend line is used to see if price bounced off the other side on its way up, gives it added confluence.