Re: [amibroker] Explore for getting Monthly Returns

2006-09-01 Thread Prashanth
Thanks Anthony. Just what I was looking for.   Regards   Prashanth   - Original Message - From: Anthony Faragasso To: amibroker@yahoogroups.com Sent: Saturday, September 02, 2006 7:37 AM Subject: Re: [amibroker] Explore for getting Monthly Returns

Re: [amibroker] Explore for getting Monthly Returns

2006-09-01 Thread Anthony Faragasso
quot;, 1.0 ); AddColumn(100*( EndValue1 - StartValue )/StartValue, "Percentage change" );   Anthony - Original Message - From: Prashanth To: amibroker@yahoogroups.com Sent: Thursday, August 31, 2006 10:39 PM Subject: Re: [amibroker] Explore for getting Monthly Retu

Re: [amibroker] Explore for getting Monthly Returns

2006-08-31 Thread Prashanth
Scrip made in each Month in percentage terms.   Regards   Prashanth   - Original Message - From: Graham To: amibroker@yahoogroups.com Sent: Friday, September 01, 2006 4:32 AM Subject: Re: [amibroker] Explore for getting Monthly Returns Try using this condition

Re: [amibroker] Explore for getting Monthly Returns

2006-08-31 Thread Graham
Try using this condition to get the end of the monthmonth()!=ref(month(),1)-- CheersGrahamAB-Write >< Professional AFL Writing ServiceYes, I write AFL code to your requirements http://e-wire.net.au/~eb_kavan/ab_write.htm On 31/08/06, Prashanth <[EMAIL PROTECTED]> wrote: Hello,   I wante

[amibroker] Explore for getting Monthly Returns

2006-08-31 Thread Prashanth
Hello,   I wanted to write a AFL which shall give me the Monthly returns of any scrip for which I explore.   I tried out the following   // Explore to get Monthly Returns; A = ValueWhen(Day()==31 AND Month()==8 ,C);B = ValueWhen(Day()==30 AND Month()==9 ,C); D = ( (100 * B) / A ) - 100; F