PureBytes Links
Trading Reference Links
|
darvas box end
end:=BarsSince(Fml("New Darvas High")) <
BarsSince(Ref(Fml("New Darvas Low"),-1));
def:=IsDefined(end) AND IsUndefined(Ref(end,-1));
(def AND Ref(def,-1)=0)+ (end AND Fml("New Darvas Low"))
darvas box high
dbe:=Fml("Darvas Box End");
dbhi:=If(dbe AND IsDefined(Ref(dbe,-1)), Fml("Darvas High"), PREVIOUS);
If(dbhi=0,H+0.0000001,dbhi)
darvas box low
dbe:=Fml("Darvas Box End");
bl:=If(dbe AND IsDefined(Ref(dbe,-1)), Fml("Darvas Low"), PREVIOUS);
If(bl=0,L-0.0000001,bl)
darvas sell
dc:= Fml("darvas sell");
{ change the following line to H>Fml("Darvas Box Hi") .. for Classic
Darvas}
db:= C>Fml("Darvas Box Hi") AND
(BarsSince(Fml("darvas box end")) < BarsSince(Fml("darvas
sell")));
dto:=If(db AND PREVIOUS=0,1,If(dc,0,PREVIOUS));
dto AND (Ref(dto,-1) =0)
darvas high
Periods:=100; { this is the only place the number of periods is set}
If((Ref(H,-3) >= Ref(HHV(H,Periods),-4))
AND Ref(H,-3) > Ref(H,-2)
AND Ref(H,-3) > Ref(H,-1)
AND Ref(H,-3) > H,
Ref(H,-3), PREVIOUS );
darvas low
If( Fml("New Darvas Low") , Ref(L,-3), PREVIOUS);
darvas poss sell
dsl:=L < Fml("Darvas Box Low");
def:=IsDefined(dsl) AND IsDefined(Ref(dsl,-1));
(def AND Ref(def,-1)=0)+(dsl AND (Ref(dsl,-1)<dsl))
darvas buy
sell:=BarsSince(Fml("Darvas Box End")) <
BarsSince(Fml("Darvas Poss Sell"));
def:=IsDefined(sell) AND IsDefined(Ref(sell,-1));
((def AND Ref(def,-1)=0) + (sell = 0 AND Ref(sell,-1)=1))
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|