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

[amibroker] variable styles for same array



PureBytes Links

Trading Reference Links

I recently came across the following formula, and other than some 
type of weighted moving average, I can't identify it.  Anybody have 
any ideas?  Is there an AFL equivalent?

 Value = 22.2222 * C + 17.284 * Ref(C,-1) + 13.4431 * Ref(C,-2) + 
10.4557 * Ref(C,-3) + 8.1322 * Ref(C,-4) + 6.3251 * Ref(C,-5) + 
4.9195 * Ref(C,-6) + 3.8263 * Ref(C,-7) + 2.976 * Ref(C,-8) + 2.3147 
* Ref(C,-9) + 1.8003 * Ref(C,-10) + 1.4002 * Ref(C,-11) + 1.0891 * Ref
(C,-12) + .8471 * Ref(C,-13) + .6588 * Ref(C,-14) + .5124 * Ref(C,-
15) + .3985 * Ref(C,-16) + .31 * Ref(C,-17) + .2411 * Ref(C,-18) 
+ .1875 * Ref(C,-19) + .1458 * Ref(C,-20) + .1134 * Ref(C,-21) 
+ .0882 * Ref(C,-22) + .0686 * Ref(C,-23) + .0534 * Ref(C,-24) 
+ .0415 * Ref(C,-25) + .1453 * Ref(C,-26); 

The initial constant(22.2222)is also a mystery, however each 
successive constant seems to be 7/9ths of the previous one.


or this one?

Value2 = 66.6667 * C + 22.2222 * Ref(C,-1) + 7.4074 * Ref(C,-2) + 
2.4691 * Ref(C,-3) + .823 * Ref(C,-4) + .2743 * Ref(C,-5) + .1372 * 
Ref(C,-6);
where the successive constants are 1/3 of the previous one.

Any insights would be appreciated
Thanks
Rick



------------------------ 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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

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