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

Re: Easy Lang Prob



PureBytes Links

Trading Reference Links

> Inputs: PriceH(High), LStrenH(6), RStrenH(2);
> 
> IF PivotHighVSBar(1, PriceH, LStrenH, RStrenH, RStrenH+1) <> -1 Then
Begin}
>         If H crosses above PivotHighVSBar(1, PriceH, LStrenH, RStrenH,
> RStrenH+1) Then buy at H stop;
> End;

I don't have that PivotHighVSBar function but I suspect it's telling you
how many bars ago the pivot happened so comparing that to the price is
inappropriate.

-- 
  Dennis