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

[amibroker] on peak/zig functions



PureBytes Links

Trading Reference Links



I am tryig to understand how some functions, like,  the  peak(..), 
zig() functions work in AB for backtesting.

I understand that these functions can refer to future values if used 
in backtesting. My understanding is that  
peak(C,20,1) can refer to future values. But
peak(C,20,2) will not. All of those that refer to prior values (the 
last arguement)greater than 1 will not refer to future values since 
they don't depend on futue values.

Is this understanding correct? If not, can someone give me an 
example where peak(C,20,2) also refers to future values?











------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/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/