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

[amibroker] Variable periods



PureBytes Links

Trading Reference Links

Tomasz,
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





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