You can try playing with something like this (untested): BuyTrigger = ... SellTrigger = ... BuyTrigger = ExRem(BuyTrigger, SellTrigger);
ShortTrigger = ... CoverTrigger = ... ShortTrigger = ExRem(ShortTrigger, CoverTrigger); X = IIF(BarsSince(BuyTrigger) < BarsSince(ShortTrigger), HighestSince(BuyTrigger, Close), HighestSince(ShortTrigger, Close)); Mike --- In [email protected], "karlsyhem" <karlsy...@...> wrote: > > I would like to use the highest since function and have it reference > the day or bar the system went long or short. (the entry). Basically > the highest since entry for various indicators. I can not find an > appropriate function that references the entry bar. > > > Any help is much appreciated. > > KW >
