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

[amibroker] Re: Percent or Points



PureBytes Links

Trading Reference Links

Thanks Phsst:

I have something similar:
A=C-Ref(C,-1);
B=O-Ref(C,-1);
D=H-Ref(C,-1);

Filter=1;

AddColumn(A,"close-Yclose",1.2);
AddColumn(B,"open-Yclose",1.2);
AddColumn(D,"high-Yclose",1.2);

I was referring to the heading written on each chart along with the
date etc.  Sorry I didn't explain that further.

Dominikc





--- In amibroker@xxxxxxxxxxxxxxx, "Phsst" <phsst@xxxx> wrote:
> 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/