Just a guess but try this...

BarsSinceCCICrossed200andBelow90= BarsSince(BarsSinceCCICrossed200 AND 
Cross(90,array));

--- In [email protected], "murthysuresh" <mo...@...> wrote:
>
> the CCI should have crossed 200. Once it crossed 200, it should have have 
> crossed below 90.
> i got the first one right as below
> array = CCI( 20 );
> BarsSinceCCICrossed200=BarsSince(Cross(array,200));
> 
> without using a for loop, how can i code the second condition.
> Once it crossed 200, it should have have crossed below 90.
>


Reply via email to