kmcintyre
 Veteran
  Posts: 132
Joined: 9/12/2007
Location: Valley Center, CA
User Profile |
Many standard indicators offer mulptiple variations of parameters (signatures).
RSI(14) vs. RSI(Data, 14)
SMA(50) vs. SMA(Data, 50)
etc.
I would like to be able to pass a data series into my #indicator too!
And if I don't pass a Data series, I would like to default to the current symbol's Close.
(This is known as operator overloading...)
Is there a way to do this in OL?
Thanks
|