[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: MA, DEMA and TEMA can take array parameters, but EMA can't?



PureBytes Links

Trading Reference Links

Hi, Dimitri,

Wilders does not accept variable period

Plot(Wilders(C,RSI(3)),"",2,1);

return a bad argument

stepghane


<nenapacwanfr@xxxx> wrote:
> Dimitri,
> 
> I didn't know that wilders accept variable period...
> Thanks
> 
> Stephane
> 
> > Dave,
> > I have posted in the files section the varPER.txt with the EMA, 
AMA 
> > and WILDERS smoothing relations.
> > AMA and WILDERS do accept variable periods, like MA.
> > You will also find some RSI applications there.
> > Dimitris Tsokakis
> > --- In amibroker@xxxxxxxxxxxxxxx, "Dave Merrill" <dmerrill@xxxx> 
> > wrote:
> > > thanks, much appreciated. seems like there's a new version just 
> out 
> > too (:-)
> > > 
> > > any chance of variable period RSI, CCI, ROC and the rest of the 
AB
> > > indicators I'm forgetting right now? some of these I've coded 
up 
> > myself in
> > > AFL, but they're much slower than the built in versions. I'd 
> > imagine your
> > > dll would be pretty close to built in speed, yes?
> > > 
> > > dave
> > >   In Indicators.dll varperiod Indicators are
> > >   Stochastic
> > >   GraphXSpace=1;
> > >   Plot(StochK(9,1),"",colorBlue,1);
> > >   Plot(scStoch(9),"",colorGreen,1+8);
> > >   Plot(scStoch(RSI(14)),"",colorRed,1);
> > > 
> > >   Ema
> > >   Plot(EMA(C,21),"",colorBlue,1);
> > >   Plot(scEMA(C,21),"",colorGreen,1+8);
> > >   Plot(scEMA(C,RSI(14)),"",colorRed,1);
> > >   Plot(C,"",1,64);
> > > 
> > >   Linregslope
> > >   Plot(LinRegSlope(C,21),"",colorBlue,1);
> > >   Plot(scLinRegSlope(C,21),"",colorGreen,1+8);
> > >   Plot(scLinRegSlope(C,RSI(14)),"",colorRed,1);
> > > 
> > >   MFI // just added today
> > >   Plot(MFI(21),"",colorBlue,1);
> > >   Plot(scMFI(21),"",colorGreen,1+8);
> > >   Plot(scMFI(RSI(14)),"",colorRed,1);
> > > 
> > > 
> > > 
> > > 
> > >   > thanks stephane, I'll take a look. until I do, can you tell 
> me 
> > if
> > >   it also
> > >   > contains variable period versions of other built in AB 
> > indicators?
> > >   other
> > >   > than allowing variable periods, do they perform the same as 
> the
> > >   native
> > >   > versions? if so, that'd be a nice workaround until variable 
> > periods
> > >   are a
> > >   > native AB capability for everything.
> > >   >
> > >   > dave
> > >   >   if you want, in indicators.dll there is a Ema with 
variable 
> > period
> > >   >
> > >   >   Plot(scEMA(C,RSI(14)),"",colorRed,1);
> > >   >   Plot(C,"",1,64);
> > >   >
> > >   >
> > >   >   stephane
> > > 
> > > 
> > >         Yahoo! Groups Sponsor
> > > 
> > > 
> > > 
> > >   Send BUG REPORTS to bugs@xxxx
> > >   Send SUGGESTIONS to suggest@xxxx
> > >   -----------------------------------------
> > >   Post AmiQuote-related messages ONLY to: 
amiquote@xxxxxxxxxxxxxxx
> > >   (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > >   --------------------------------------------
> > >   Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > 
> > >   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> > Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/