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

Re: [amibroker] AmiQuote how to get % price change and % volume change-current?



PureBytes Links

Trading Reference Links

Hi,

Even someone as code-challenged as me can write this:

//if-else not necessary unless you have more than one database

if (GetDatabaseName() == "eSignal")

x = 145;
else x = 70;

SetOption("NoDefaultColumns", True);

Filter = True;

pchng = ((C - Ref(C,-1)) / Ref(C,-1)) * 100;
dollarvalue = V * C / 120;

AddTextColumn(Name(), "Code" ,format=1.0, -1, -1, width = 73);
AddTextColumn(Date(), "Date" ,format=1.0, -1, -1, width = x);
AddTextColumn(FullName(), "Full Name" ,format=1.0, -1, -1, width = 290);
AddColumn(pchng, "Pct. Chg.", format = 0.000, -1, -1, width = 70);
AddColumn((V / MA(V,50)) * 100,"50D V %", format = 1.00, -1, -1, width = 70);
AddColumn(Close, "Last Price", format = 1.0, -1, -1, width = 75);
AddColumn(Volume, "Vol.", 1.0, -1, -1, width = 80);

Yuki

Tuesday, February 27, 2007, 11:20:52 AM, you wrote:

kf> Hello

kf> Tomasz
kf>                Can you please give me or suggest a
kf> formula  which gives me current day price rise% and
kf> volume rise %?
kf> To tell you 
kf> i go to automatic analysis and then click on quick
kf> revew it brings a table up
kf> 1. i select  quotes alphabetically

kf> 2.select current date
kf> 3.click  show

kf> it brings up a table
kf> ticker  % change   high  low  volume

kf> What I need is  
kf> % price change  % volume change
kf> IS THERE A WAY  I CAN GET  % VOLUME CHANGE?

kf> i LIKE TO JUMP ON TRADES FOR DAYTRADING USING VOLUME
kf> CHANGE PLUS PRICE CHANGE.

kf> pLEASE HELP





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Transfer from your equities account.  
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/