N:=12;
M:=6;
X:=9;
CJJJ:=AMOUNT/V,LINETHICK2;
roc:(CJJJ-REF(CJJJ,12))/REF(CJJJ,12)*100,LINETHICK2;
ROCMA:MA(ROC,6);
ROCEMA:EMA(ROC,9);
0;
第一妖股线:10;
第二妖股线:17;
极端行情线:30,COLORFF00FF,LINETHICK2;
STICKLINE(crOSS(ROC, 第二妖股线),0,70,1,0),COLORRED,LINETHICK4;
DRAWTEXT(CROSS(ROC, 第二妖股线),85,'妖股启动'),COLORYELLOW;
STICKLINE(CROSS(ROC,极端行情线),0,90,2,0),COLORRED,LINETHICK4;
DRAWTEXT(CROSS(ROC,极端行情线),70,'---妖股加仓'),COLOR00FFFF;