低位:20,COLORFFFF00;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF;
DRAWICON(CROSS(C2,C1) AND C2< -100,C1,2);
DRAWICON(CROSS(C2,C1) AND C2>-100,C1,2);
条件0:=CROSS(C2,C1) AND C1>90;
TJ2:=CROSS(C2,C1);
TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;
DRAWTEXT(条件,20,'买'),COLORWHITE;
DRAWTEXT(CROSS(C1,75),70,'危险区'),COLORBLUE;
DRAWTEXT(TJ3,56,'全'),COLORRED;
DRAWTEXT(TJ4,85,'逃顶'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,80,'减仓'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,20,'吸筹'),COLORGREEN;
选股公式如下:
C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1);
XG:CROSS(C1,C2) AND C1< 40;