回眸一笑主图
M20:MA(C,20);
M120:MA(C,120);
M250:MA(C,250);
T:=BARSLAST(CROSS(C,M120));
TT:=BARSLAST(T<10 AND CROSS(M20,M120));
TJ:=MAX(L,M20)/MIN(L,M20)<1.005;
TJ1:=M20>=REF(M20,1) AND M120>=REF(M120,1) AND M250>=REF(M250,1);
TJ2:=M20>M120 AND M120>M250;
TJ3:=M20/M250<1.35 AND M20/M120<1.11;
XG:=COUNT(TJ,TT+1)=1 AND TJ AND EVERY(TJ1 AND TJ2,TT) AND TJ3;
STICKLINE(XG,C,O,2,0),COLORYELLOW;
STICKLINE(XG,H,L,0.1,0),COLORYELLOW;
DRAWICON(XG,L*0.95,25);
选股
M20:=MA(C,20);
M120:=MA(C,120);
M250:=MA(C,250);
T:=BARSLAST(CROSS(C,M120));
TT:=BARSLAST(T<10 AND CROSS(M20,M120));
TJ:=MAX(L,M20)/MIN(L,M20)<1.005;
TJ1:=M20>=REF(M20,1) AND M120>=REF(M120,1) AND M250>=REF(M250,1);
TJ2:=M20>M120 AND M120>M250;
TJ3:=M20/M250<1.35 AND M20/M120<1.11;
XG:COUNT(TJ,TT+1)=1 AND TJ AND EVERY(TJ1 AND TJ2,TT) AND TJ3;