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

Re: [amibroker] Re: Detecting last bar in delisted stocks



PureBytes Links

Trading Reference Links

Thanks Khaleel I will give that a go...
 
----- Original Message -----
From: khaleel_sk
Sent: Wednesday, February 06, 2008 12:50 AM
Subject: [amibroker] Re: Detecting last bar in delisted stocks

Try this
ThisIsLastBar = BarIndex() == LastValue( BarIndex() );
Filter=ThisIsLastBar;
AddColumn(ThisIsLastBar,"lastbar");

Cheers
Khaleel

--- In amibroker@xxxxxxxxxps.com, "David" <david.smith5@...> wrote:
>
> Hi, does anyone know a way to determine if the last bar has
occurred
> in a delisted stock. I have a database of delisted securities I
would
> like to test for survivorship bias and would like to force a trade
to
> close at the closing price if the last bar occurs, otherwise the
trade
> stays open.
>
> Regards, David
>

__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___