AA:=REF(CLOSE>OPEN,N+1);
LL:=REF(CLOSE<OPEN,N);
HH:=REF(CLOSE,N)/REF(CLOSE,N+1)>1;
DD:=AA AND LL AND HH;
BB:=REF(CLOSE<OPEN,N+1);
EE:=REF(CLOSE,N)<REF(OPEN,N);
TT:=REF(CLOSE,N)/REF(OPEN,N+1)>1;
GG:=BB AND EE AND TT;
XX:=DD OR GG;
PP:=REF(VOL,N-1)/REF(VOL,N-2)>1;
QQ:=REF(VOL,N-2)/REF(VOL,N-3)>1;
MM:=REF(CLOSE,N-1)<REF(CLOSE,N-2);
NN:=REF(CLOSE,N-2)<REF(CLOSE,N-3);
ZZ:=PP AND QQ AND MM AND NN;
YY:=XX AND ZZ;
ZTO:EXIST(YY,1); |