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

[amibroker] Re: Percent or Points



PureBytes Links

Trading Reference Links

Lets see if I can do an upgrade quicker than TJ ;-)

How about:

PctChg = (C - Ref(C, -1)) / Ref(C, -1) * 100;
Filter = 1;
AddColumn(Ref(C, -1),"Yesterdays Close",1.4);
AddColumn(C,"Close",1.4);
AddColumn(PctChg,"PctChg",1.2);

Phsst
--- In amibroker@xxxxxxxxxxxxxxx, "dom1_1998" <Dom2000@xxxx> wrote:
> How much trouble would it be to have a choice of percent or points
> from closing price to closing price in a future upgrade?
> 
> Dominick


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/