Had some free time so...
Cleaned up the entry and exit logic, removed code for extra indicators, fixed _Point problem, fixed MagicNumber code to use StringFind instead of == to match symbols. Tested and appears to work by opening a trade on cross of main and signal at overbought or oversold areas with exit at opposite cross or reaching overbought or oversold or the usual SL TP exit.