Michael,

That works perfectly.

Thanks,

Steve


--- In [email protected], "Mike" <sfclimb...@...> wrote:
>
> Ok,
> I provided a solution in post 150428. But, that one did not include the
> current, evolving monthly high. Easily remedied as follows:
> months = Month();
> newMonth = months != Ref(months, -1);
> runningHigh = HighestSince(newMonth, Close);
> 
> Plot(Close, "Price", colorDarkGrey, styleBar);
> Plot(newMonth, "", colorLightGrey, styleOwnScale | styleHistogram |
> styleNoLabel);
> Plot(runningHigh, "Highest", colorBlue, styleDashed);
> 
> Filter = 1;
> 
> AddColumn(runningHigh, "Current");
> 
> for (i = 1; i <= 12; i++) {
>     AddColumn(ValueWhen(newMonth, Ref(runningHigh, -1), i), "" + i + "
> Months Ago");
> }
> Change the middle condition of the for loop (e.g. i <= 2) to track back
> as many months as you're interested in.
> Mike
> --- In [email protected], "Steve_Almond" <me@> wrote:
> >
> > Mike,
> >
> > I'm looking for several individual values:
> >
> > 1. the highest for June
> >
> > 2. the highest for May
> >
> > 3. the highest for April
> >
> > That would be 3 values in all.
> >
> > Steve
> >
> >
> >


Reply via email to