| PureBytes Links Trading Reference Links | mickeyamelinckx wrote:
> I canīt seem to find the PREV function in AB and the REF function 
> does not seem to work !
> 
> So how could I code something like;
> 
> AD = yesterday AD value + ( High - low)
> 
> Thanks
Hi Mickey
try this
AD[0] = H[0] - L[0];
for (i = 1; i < BarCount; i++)
	AD[i] = AD[i-1] + (H[i] - L[i]);
Plot(AD, "", 1, 1);
Franco ;-)
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Inkjet cartridges up to 80% off. HP, Epson, Lexmark--we have your brand.
Free shipping on every order to the U.S. and Canada! Excellent service.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/QWB0QC/.eUGAA/ySSFAA/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/ 
 |