{波段极品}
散户2:100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),COLORFFFF00,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:EMA(J,6),COLORRED,LINETHICK2;
VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE =(OPEN*1.04)));
VAR2:=(CLOSE ((REF(HIGH,1)+REF(LOW,1))/2));
VAR3:=REF(CLOSE,1);
VAR4:((SMA(MAX((CLOSE-VAR3),0),6,1)/SMA(ABS((CLOSE-VAR3)),6,1))*100);
VAR5:MAX(VAR4,5);
VAR6:MAX(VAR5,10);
VAR7:MAX(VAR6,20);
VAR8:MAX(VAR7,30);
VAR9:MAX(VAR8,60),COLORGREEN;
VAR4Z:IF(REF(VAR4,0)-REF(VAR4,1) 6 AND CROSS(VAR4,VAR9),66,0);
粘合加速:if(CROSS(VAR4,60)*30 and VAR9 64 AND VAR4Z,75,0);
DRAWTEXT(CROSS(VAR4,60)*30 and VAR9 64 AND VAR4Z,75,'加速'),COLORYELLOW;
VAR10:MAX(VAR9,90);
DRAWTEXT(ISLASTBAR,VAR10,' 顶'),COLORYELLOW;
大底:VAR5 VAR6 AND VAR4 5,STICK,COLORRED,LINETHICK2;
中底:VAR6 VAR7 AND VAR4 20 AND VAR4 10,STICK,COLORYELLOW,LINETHICK2;
短底:VAR7 VAR8 AND VAR4 30 AND VAR4 20,STICK,COLORYELLOW,LINETHICK2;
IF((VAR4=VAR5),VAR5,DRAWNULL),COLORGREEN,LINETHICK2;
IF((VAR4=VAR6),VAR6,DRAWNULL),COLORWHITE,LINETHICK2;
IF((VAR4=VAR7),VAR7,DRAWNULL),COLORYELLOW,LINETHICK2;
IF((VAR4=VAR8),VAR7,DRAWNULL),COLORRED,LINETHICK2;
IF((VAR4=VAR9),VAR9,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF((VAR4=VAR10),VAR10,DRAWNULL),COLORBLUE,LINETHICK2;
TT:VAR4-REF(VAR4,1);
粘合加速2:(CROSS(VAR4,60) AND TT 15 AND VAR9 60)*30,LINETHICK2,COLORGREEN;
加速:(CROSS(VAR4,80) AND TT 17 )*20,COLORMAGENTA,LINETHICK2;
风险:=CROSS(VAR4,90);
STICKLINE( 风险,风险,20,3,0),COLORFF5500;
STICKLINE( 风险,风险,30,2,0),COLORFF8800;
STICKLINE( 风险,风险,30,1,0),COLORFFAA00;
STICKLINE( 风险,风险,30,0.5,0),COLORFFCC00;
顶2:=VAR8 90 AND VAR10 REF(VAR10,1);
STICKLINE( 顶2,顶2,20,3,0),COLORFF5500;
STICKLINE( 顶2,顶2,30,2,0),COLORFF8800;
STICKLINE( 顶2,顶2,30,1,0),COLORFFAA00;
STICKLINE( 顶2,顶2,30,0.5,0),COLORFFCC00;