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.
Attachments forums
Re: Simple Expert Advisors (EA's) for MT4
MrPip, Tue Aug 22, 2017 4:41 am