What about running an exploration on something like the following?

Buy = ...;
Sell = ...;

// Remove redundant signals
InitialBuy = ExRem( Buy, Sell );
InitialSell = ExRem( Sell, Buy );

// Calculate bar indices
Indices = BarIndex();
BuyBar = ValueWhen( InitialBuy, Indices );
SellBar = ValueWhen( InitialSell, Indices );

// Only show rows when Buy more recent than Sell
Filter = BuyBar > SellBar;
AddColumn( BuyBar, "Buy Bar" );
AddColumn( BarsSince( InitialBuy ), "Bars Ago" );

Mike

--- In [email protected], "Randy" <blakera...@...> wrote:
>
> I have some stocks that I find haven't traded for a few days that I would 
> like to identify. I've run the database cleanup script but it doesn't always 
> find them all.
> 
> Are there any AFL statements to find the last bar traded (date)?
> 
> I've looked but can't find any.
> 
> Thanks, Randy
>


Reply via email to