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

[amibroker] Typo in REF help section?



PureBytes Links

Trading Reference Links

Isn't ref (c,+14)supposed to be for 14 days in the future? The 
example has for only 12.


REF
- reference past/future values of the array Trading system toolbox

 

SYNTAX  ref( ARRAY, period )  
RETURNS ARRAY  
FUNCTION  References a previous or subsequent element in a ARRAY. A 
positive period references "n" periods in the future; a negative 
period references "n" periods ago.  
EXAMPLE The formula "ref( CLOSE, -14 )" returns the closing price 14 
periods ago. Thus, you could write the 14-day price rate-of-change 
(expressed in points) as "C - ref( C, -14 )." The formula "ref( C, 
+14 )" returns the closing price 12 periods ahead (this means looking 
up the future)  
SEE ALSO    

See updated/extended version on-line.



------------------------ 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/