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

[Metastockusers] Re: Guppy countback lines



PureBytes Links

Trading Reference Links

Thanks Jose
When I enter it in the Indicator bulider I get (L,LowDays) - "This is 
not a recognized name, constant or operator".
What should I be replacing "Lowdays" with please ?
TIA


--- In Metastockusers@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx> 
wrote:
> You can post (my original) code in:
> MetaStock -> Tools -> Indicator Builder -> New
> 
> jose '-)
> 
> --- In Metastockusers@xxxxxxxxxxxxxxx, "leo888nz" <arco@xxxx> wrote:
> > 
> > Can someone explain how and where to paste this in Metastock.
> > Thanks
> > 
> > --- In Metastockusers@xxxxxxxxxxxxxxx, "Henry Z Kaczmarczyk" 
> > <henry1224@xxxx> wrote:
> > > 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)))))



 
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/