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

[amibroker] Re: AmiBroker 4.60.1 BETA -Relative Performance Chart



PureBytes Links

Trading Reference Links

Hello,

Try this example:


//---------------------------------------------------------------------

First_date_is = 1031103; //the first day in November 2004
Value_at_first_date = ValueWhen(DateNum()==First_date_is , C,1);

Last_date_is = 1040202; //the first day in Feruary 2004
Value_at_Last_date = ValueWhen(DateNum()==Last_date_is , C,1);

Percentual_Difference = (Value_at_Last_date -
Value_at_first_date)/Value_at_first_date *100;

Filter = Percentual_Difference > 200;


AddColumn(C,"Close",1.2);

AddColumn(Value_at_first_date,"First Date",1.2);
AddColumn(Value_at_last_date,"Last Date",1.2);
AddColumn(Percentual_Difference,"Percentual_Difference ",1.2);

//---------------------------------------------------------------------


Best Regards,
	Antonio



-----Original Message-----
From: abdelmouaki [mailto:abdelmouaki@xxxxxxxx] 
Sent: Thursday, July 29, 2004 2:13 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] New to Amibroker

Hello,

As new user of amibroker, I would like to scan for some stocks among 
a database of 2000 NASDAQ stocks. This scan must keep only stocks 
with price increase of 200% or 300% from November 2003 to February or 
March 2004. Any detailed help will be appreciated.

Best regards.




Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 



Yahoo! Groups Sponsor
ADVERTISEMENT





Yahoo! Groups Links
• To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
  
• To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
  
• Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/