Help if we knew the full context of the problem... it is likely that
you wouldn't need to use HHV/LLV inside a loop. You can probably code
the use of HHV/LLV outside of the loop. if you need one at all...


--- In [email protected], "cottondepot" <[EMAIL PROTECTED]> wrote:
>
> Need to use HHV/LLV in a loop: 
> 
> for (i = 3; i < BarCount; i++) 
> {
> xyz=HHV(High[i],2);
> ...
> }
> 
> Obviously that didn't work. In the loop, I'm trying to use the "High" 
> of the last 2 bars as the "LimitPrice" on an order.
> 
> Any pointers would be greatly appreciated.
>


Reply via email to