PureBytes Links
Trading Reference Links
|
> BARINDEX
> - get zero-based bar number
Ok, you can start counting from 1 or from 0 and "zero-based" means that
barindex() starts counting from 0.
> returns zero-based bar number - the same as Cum(1)-1 but it is
cum(1) instead starts counting from 1. So barindex() gives 0 for the first
bar and cum(1) gives 1 for the first bar. As clearly stated in the manual
barindex() == cum(1) - 1.
Clear enough?
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Your own Online Store Selling our Overstock.
http://us.click.yahoo.com/rZll0B/4ftFAA/46VHAA/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/
|