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

[amibroker] Yet another question about the equivalent of PREV



PureBytes Links

Trading Reference Links

Oddly enough, I actually understand how to use AMA2 as an equivalent of 
that other product's PREV function.  However, what happens if you need 
some earlier value of the variable? For example:  K = C + (0.98 * 
Ref(K,-6)).  Ref(K,-1) == PREV; what does Ref(K,-6) equal?  I'm tempted 
to try Ref(PREV,-5), or rather the AMA2() equivalent, but it can't be 
that easy.

Many thanks.

Owen Davies


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/