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

[Metastockusers] Guppy countback lines



PureBytes Links

Trading Reference Links

count back lines buy

LowDays:=Input("Periods to cover last Low for CBL 
calculation:",3,55,10);
H1:=Ref(H,-1);
H2:=Ref(H,-2);
H3:=Ref(H,-3);
H4:=Ref(H,-4);
H5:=Ref(H,-5);

If(L>LLV(L,LowDays),PREV,
If(H2>H1 AND H1>H,H2,
If(H3>HHV(H,3) AND Alert(H1>H,2),H3,
If(H4>HHV(H,4) AND Alert(H1>H,3),H4,
If(H5>HHV(H,5) AND Alert(H1>H,4),H5,
PREV)))))


count back lines sell

HiDays:=Input("Periods to cover last High for CBL 
calculation:",3,55,10);
L1:=Ref(L,-1);
L2:=Ref(L,-2);
L3:=Ref(L,-3);
L4:=Ref(L,-4);
L5:=Ref(L,-5);

If(H<HHV(H,HiDays),PREV,
If(L2<L1 AND L1<L,L2,
If(L3<LLV(L,3) AND Alert(L1<L,2),L3,
If(L4<LLV(L,4) AND Alert(L1<L,3),L4,
If(L5<LLV(L,5) AND Alert(L1<L,4),L5,
PREV)))))


To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

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/