Hi Marty,
Glad it worked for you.
SetTradeDelays(1,1,1,1) delays the entry and exit by 1 day from when the trade signal is given. So the RSI cross occurs today, it enters tomorrow. The first 1 is the Buy Delay, the next is the Sell Delay, then Short Delay, then Cover Delay.
The ExRem lines remove all excess buy & sell signals. Ie, it gives you the first buy signal, followed by the next sell signal, then next buy signal, etc. So removes any extra signals in between. So it will only buy once, and won't produce another buy signal until it's had a sell signal first, and won't produce another sell signal until there's been a buy signal first.