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