Please comment
if the following logic is correct…
 
I intend to
check the CCI(10) is below 0 in the previous 3 bars (not including the current
bar).
 
weak     =          cci(10);
cond1    =          barssince(weak)<=3
and barssince(weak)>=1;
 
or
 
weak     =          cci(10);
cond1    =          ref(weak,-1)
or ref(weak,-2) or ref(weak,-3);
 
The results are
different. ??? Did I do anything stupid? Sorry… new to APL. :>
 
Clement