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),COLOR00FF0F,LINETHICK4;
DRAWTEXT(CROSS(ROC, 第二超买线),50,'关注黑马'),COLOR00FF0F;
STICKLINE(CROSS(ROC,极端行情线),0,90,2,0),COLORRED,LINETHICK4;
DRAWTEXT(CROSS(ROC,极端行情线),70,'极端行情'),COLOR00FFFF;