M1:=17;
EXP1:=EMA(CLOSE,M1);
升331:=REF(C,3)>REF(O,3) AND REF(C,2)<REF(O,2) AND REF(C,1)>REF(O,1) AND C>O AND C>REF(H,2);
升332:=REF(C,3)>REF(O,3) AND REF(C,2)>REF(O,2) AND REF(C,1)<REF(O,1) AND C>O AND C>REF(H,1);
降331:=REF(C,3)<REF(O,3) AND REF(C,2)<REF(O,2) AND REF(C,1)<REF(O,1) AND C>O AND C>REF(L,2);
STICKLINE((升331>0 OR 升332>0) AND EVERY(EXP1>REF(EXP1,1),10),0,10,2,0)COLORRED;
DRAWTEXT((升331>0 OR 升332>0) AND EVERY(EXP1>REF(EXP1,1),10),8,'趋势升')COLORRED;
DRAWICON((升331>0 OR 升332>0) AND EVERY(EXP1>REF(EXP1,1),10),7,24);
STICKLINE(降331>0 AND EVERY(EXP1<REF(EXP1,1),7),0,10,2,0)COLORGREEN;
DRAWTEXT(降331>0 AND EVERY(EXP1<REF(EXP1,1),7),8,'趋势降')COLORGREEN;
DRAWICON(降331>0 AND EVERY(EXP1<REF(EXP1,1),7),8,27);
VAR1A:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR4AA:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE<1.01);
短线游资:(FILTER(VAR4AA>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;
STICKLINE(短线游资,0,8,2,0);
DRAWTEXT(短线游资=8,4,'捞一把就走')COLORYELLOW;
DRAWICON(短线游资=8,8,31);
DRAWICON(短线游资=8,6,32);
DRAWICON(短线游资=8,4,33);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
扭转乾坤:(J>REF(J,1) AND REF(J,1)<REF(J,2) AND J<15 AND MA(C,5)<MA(C,20))*6,COLORMAGENTA;
STICKLINE(扭转乾坤,0,8,2,0);
DRAWTEXT(扭转乾坤=6,4,'扭转乾坤')COLORMAGENTA;
DRAWICON(扭转乾坤=6,6,26);
0.5,LINETHICK2;
STICKLINE(0.5,0.5,0,0,0)LINETHICK5;
0,LINETHICK2;
STICKLINE(-0.5,0.5,0,0,0)LINETHICK5;
STICKLINE(0.5,-0.5,0,0,0)LINETHICK5;
-0.5,LINETHICK2;