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

[EquisMetaStock Group] Re: describe an uptrend



PureBytes Links

Trading Reference Links

Here is a little formula that you might want

Long

up:=H>=Ref(H,-1) AND L>=Ref(L,-1);
dn:=H<=Ref(H,-1) AND L<=Ref(L,-1);
x1:=If(BarsSince(up)<=BarsSince(dn),1,0);
A3:=100*(Mov(Mov((C-LLV(L,5)),3,E),3,E) / 
Mov(Mov((HHV(H,5) - LLV(L,5)),3,E),3,E));
Buy:= (X1=1 AND A3>50);
Sell:= (X1=0 AND A3<50);
D:=If(BarsSince(Buy)<BarsSince(Sell),1,0);
D>Ref(D,-1)

Short

up:=H>=Ref(H,-1) AND L>=Ref(L,-1);
dn:=H<=Ref(H,-1) AND L<=Ref(L,-1);
x1:=If(BarsSince(up)<=BarsSince(dn),1,0);
A3:=100*(Mov(Mov((C-LLV(L,5)),3,E),3,E) / 
Mov(Mov((HHV(H,5) - LLV(L,5)),3,E),3,E));
Buy:= (X1=1 AND A3>50);
Sell:= (X1=0 AND A3<50);
D:=If(BarsSince(Buy)<BarsSince(Sell),1,0);
D<Ref(D,-1)


--- In equismetastock@xxxxxxxxxxxxxxx, kut2k2 <no_reply@xxxx> wrote:
> --- In equismetastock@xxxxxxxxxxxxxxx, id ide <id_arts@xxxx> wrote:
> > Does anyone know how to describe, in an exploration,
> > an uptrend??? (higher high and higher low)...
> > 
> 
> This may not exactly meet the criteria of "higher highs and higher 
lows" but I would use Kaufman's efficiency ratio (KER) and set
> 
> for the most recent lookback period:     KER > 0 AND c > ref(c, -1)
> 
> (This assumes a lookback of at least 3 bars.)
> 
> HTH,
> kut2k2



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
     equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/