PureBytes Links
Trading Reference Links
|
John,
Suppose your want to search a condition COND for the last x days.
You may use the exploration
COND=C>Ref(C,-1);//your condition here
x=10;//the days you will search
Filter=Sum(COND,x)>=1;
AddColumn(C,"");//add any informative columns
Set n last quotations n=1 and explore.
You will not see when COND was true, but each ticker will appear only
once in your result list.
Dimitris Tsokakis
--- In amibroker@xxxx, John Nelson <trader@xxxx> wrote:
>
> Hello all,
>
> Yes its the bad shilling, back again with another question...
>
> I'm trying to Scan/Explore for stocks whose previous 10 day range
is
> greater than some particular value. This is easy to do in Explore
mode
> but the output consists of multiple occurences of the same stock.
> Really, I don't want a list of all the occurences of when the
stock's
> range is greater than the value... I REALLY just want the ticker
symbol
> inserted into the list and then the scan should move on to the next
symbol.
>
> Straight filtering doesn't seem to do this. Is there a way to
say "give
> me the ticker on the first occurence and move on to the next
symbol"?
>
> -- John
>
> --
> _____________________________________________________
>
> John T. Nelson
> Trader | Dreams Of Empire
> mail: | trader@xxxx
> web: | http://www.dreamsofempire.com/
> _____________________________________________________
> "Prediction is sexy... but strategy makes money"
|