I wrote this EA and received a parameter error when I compiled. I would appreciate someone correcting this problem.
thanks....
rsi_ea.mq4You have to add one more parameter to the iRSI call.
iRSI(symbol, period, rsiperiod, 0, 0);
The First 0 represents the PRICE_CLOSE (or PRICE_OPEN, PRICE_TYPICAL etc). The second 0 corresponds to the bar number (0=current bar, 1=previous bar etc).
fxd01
You have to add one more parameter to the iRSI call.
iRSI(symbol, period, rsiperiod, 0, 0);
The First 0 represents the PRICE_CLOSE (or PRICE_OPEN, PRICE_TYPICAL etc). The second 0 corresponds to the bar number (0=current bar, 1=previous bar etc).
fxd01I am interested abouth you EA.. If you can fix it an re-upload I verry appreciat... Thanks for sharing.
PipeTrader.
That seems to have resolved the issue.
Thanks so much !
Currently road-testing
Here is the corrected version thanks to fxd01. I am currently road-testing this EA in a demo..... It is set to go long when RSI goes over 50 and short when it goes under 50.
Thanks for sharing you EA.. I will test this an post the result.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I wrote this EA and received a parameter error when I compiled. I would appreciate someone correcting this problem.
thanks....
rsi_ea.mq4