View Single Post
  #2 (permalink)  
Old 07-03-2007, 07:51 PM
fxd01 fxd01 is offline
Member
 
Join Date: Nov 2005
Posts: 87
fxd01 is on a distinguished road
Quote:
Originally Posted by Vman View Post
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
Reply With Quote