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

Welcome Back Dimitris: Was: RE: [amibroker] Re: How to do this



PureBytes Links

Trading Reference Links

Dimitris:

Welcome back!!!!  Does this mean you have picked AB back up and are doing
new things with it?

When will you post some of your typical magic using all of the new AB
features?

For newcomers to the list, Dimitris used to be a regular on the list and
posted some of the most amazing AFL files doing the most amazing things with
the program when it was still in its early stages.  Dimitris could almost
always find a clever and concise way to do things, either through unobvious
logic or creative AFL manipulations.

It would be a great plus if he would be posting again regularly.

Sorry. . . Got carried away.

Ken 

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of DIMITRIS TSOKAKIS
Sent: Sunday, July 13, 2008 2:26 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How to do this

The simple way is through the AFL function datenum()[see the syntax in AFL
help] For example:

Cond1=DateNum()==1071205;
Cond2=DateNum()==1080609;
Filter=Cond1 OR Cond2;
AddColumn(IIf(cond1,C,Null),"5 Dec 2007");
AddColumn(IIf(cond2,C,Null),"9 June 2008");

DT

--- In amibroker@xxxxxxxxxxxxxxx, "meenhal" <meenhal@xxx> wrote:
>
> I need to list in the same analysis window closing prices of all 
> shares trades on 3 differnt dates
> 
> header for the window shouldlook like
> 
> Ticker | Dec 5, 2005 | Jan 6, 2006  |   Feb 7, 2007 
> 
> XYZ    |     1.02    |      0.97    |         2.1
> 
> 
> 
> How can I tell mibroker to give me closing prices on three dates of 
> those scripts traded on those dates
> 
> I have tried date conversions, barcount and barindex........can not
do 
> it
> Help please  and Thanks in advance
>



------------------------------------

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




------------------------------------

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/