主图九转通道副图九转MACD选股预警源码
N:=CURRBARSCOUNT;
B:=C<REF(C,4);
T1:= BARSLASTCOUNT(B);
A_B1:=(T1>9) AND MOD(T1,9)=1;
A_B2:=(T1>9) AND MOD(T1,9)=2;
A_B8:=(T1>9) AND MOD(T1,9)=8;
A_B9:=(T1>9) AND MOD(T1,9)=0;
B1:=(N=6 AND REFXV(COUNT(B,6),5)=6) OR (N=7 AND REFXV(COUNT(B,7),6)=7) OR (N=8 AND REFXV(COUNT(B,8),7)=8) OR (N>=9 AND REFXV(COUNT(B,9),8)=9);
B2:=(N=5 AND REFXV(COUNT(B,6),4)=6) OR (N=6 AND REFXV(COUNT(B,7),5)=7) OR (N=7 AND REFXV(COUNT(B,8),6)=8) OR (N>=8 AND REFXV(COUNT(B,9),7)=9);
B8:=(N=1 AND COUNT(B,8)=8) OR (N>=2 AND REFXV(COUNT(B,9),1)=9);
连续低九:=(N>=1 AND COUNT(B,9)=9);
低九:连续低九 AND REF(B,9)=0 OR A_B9;
页:
[1]