Quote:
Originally Posted by Vman
I wrote this EA and received a parameter error when I compiled. I would appreciate someone correcting this problem.
thanks....
Attachment 37594
|
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).
fxd01