Here is this should help... You know you can get the same result by using the moving average of the low and the high of the lowest Low of a certain period would be a peak... What are you trying to achieve with the price channel besides support and resistance?
Price Channel HHV-H HHV-L
============ ========= ========= ========
Pds1:= Input("Enter number of HHV-H periods", 3, 100, 20);
Pds2:= Input("Enter number of HHV-L periods", 3, 100, 20);
Ref(HHV(H ,Pds1 ) ,-1);
Ref(HHV(L ,Pds2 ) ,-1);
{End}
--- In equismetastock@ yahoogroups. com, mingsum lioa <mlioa@xxx> wrote:
>
> Hi,
>
> Â Thanks for your mail.
>
> Actually I try to use a price channel to track a rising trend. For a rising trend , it will have a Higher high and Higher low. For the Higher high part I have no problem but for the Higher low part , I have no ideas. That is why I write for help.
>
> Any ideas
>
> Thanks for help
>
> cm
>
> --- On Wed, 3/3/10, formulaprimer <formulaprimer@ ...> wrote:
>
> From: formulaprimer <formulaprimer@ ...>
> Subject: [EquisMetaStock Group] Re: How to create a price channel with higher highs and higher lows
> To: equismetastock@ yahoogroups. com
> Date: Wednesday, 3 March, 2010, 14:36
>
>
>
>
>
>
>
> Â
>
>
>
>
>
>
>
>
>
> Your question is confusing... Are you trying to find the lower lows or the high of the lowest lows... If you want to know if the low was higher than the previous low then you have to use something like
>
> If(L>Ref(L,- 1),1,0)
>
> The statement is an if statement asking If todays low is greater than the low of yesterday the binary 1 otherwise 0.
>
>
>
> This is basic I'm sure others with better programming of MS can be more helpful.
>
>
>
> --- In equismetastock@ yahoogroups. com, mingsum lioa <mlioa@> wrote:
>
> >
>
> > Hi all,
>
> >
>
> > I want to build a indicator that will track highs and lows. I try to use the Higher High Value
>
> >
>
> > function to track the Highs but do not know how to track the High lows.
>
> >
>
> > Can anyone offer some help?
>
> >
>
> > Thanks
>
> >
>
> > CM
>
> >
>