
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, I am trying to trade on RSI divergence, and coded as below. I borrowed some logic from RSI Divergence indicator codes, however, when I backtest it, this EA doesn't seem to function and the backtest ends in a second. Can someone take a look at my code and let me know where I got it wrong? I think it may have to do with my "shift" setting, but I am not sure. Thanks very much for any help!