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

Re: New high formula



PureBytes Links

Trading Reference Links

Hi Russ,
here is an exploration

Cond1=HighestBars(H)==0;
Cond2=LowestBars(L)==0;
Filter=Cond1 OR Cond2;
NumColumns=2;
Column0=IIf(Cond1,H,0);
Column1=IIf(Cond2,L,0);
Column0Name="New High";
Column1Name="New Low";

select all stocks for the last 20 days and Explore.
Hit on the label "New High" to collect stocks and respectively
on the "New Low" label.
DT
--- In amibroker@xxxx, Russ Ty <untapped_energies@xxxx> wrote:
> Hi all,
> 
> I apologise if this has come up before. Will someone
> please provide a formula that measures new highs and
> new lows. I.e. if I selct "20" last days in Automatic
> Analysis, the formula will measure which stocks have
> made new highs in the last 20 days and which stocks
> have made new lows.
> 
> Kind regards
> Russ
> 
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com