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

[amibroker] Re: Variable periods



PureBytes Links

Trading Reference Links

Hi, dimitri,

in Indicators dll there is a stoch with variable period but without 
smoothing
ex
Plot(scStoch(RSIa(StochK(9))),"",colorGreen,1);


stephane
> > Does StochD(D) function accepts variable D ?
> > The AFL error window said that
> > "the 0-th argument of function call has invalid (or unsupported) 
type"
> > when I tried the example
> > 
> > D=14+Cum(1)%11;//variable period from 14 to 24
> > Plot(StochD(D),"",1,1);
> > 
> > On the other side, the StochD() equivalent
> > 
> > D=14+Cum(1)%11
> > X=MA(MA(100*(C-LLV(L,D))/(HHV(H,D)-LLV(L,D)),3),3);
> > Plot(X,"",1,1);
> > 
> > works just fine.
> > Would it be possible to have variable D directly for StochD(D) 
[the 
> > same for RSI(D)] instead of using the analytic formula ?
> > Is it also possible, for some next AFL function reference 
edition, to 
> > know in advance the functions that do not accept variable
> > arguments? It would save a lot of time...
> > TIA
> > Dimitris Tsokakis
> > 
> > 
> > 
> > 
> > 
> > 
> > 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 
http://docs.yahoo.com/info/terms/ 
> > 
> > 
> >


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/ArdFIC/hP.FAA/ySSFAA/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/