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

[amibroker] need some help with AFL...



PureBytes Links

Trading Reference Links

I would like to code the following but am a little confused how to 
code it using AFL.

First Value in PBN Array should be based on the following
FirstPBN = MA (Close, 10);
This could be over the entire data or just what's displayed in the 
chart view.


Then every bar after

PBN = (((Ref(PBN,-1) * 10) + Close) – Ref (Close, -10)) / 10;
//plot PBN
plot(PBN, "PBN",colorblack,styleline);

Any help would be much appreciated.

Thank you




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges & Refill Kits for Your Epson at Myinks.com
Free shipping on orders $50 or more to the US and Canada.
http://www.c1tracking.com/l.asp?cid=5705&lp=home/epson.asp
http://us.click.yahoo.com/brYXfA/_xWGAA/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/