DRAWKLINE1(HIGH,OPEN,LOW,CLOSE);
STICKLINE(C/REF(C,1) 1.095,C,O,2,0),COLORRED;
BOLL:=MA(CLOSE,30);
顶:BOLL+2*STD(CLOSE,20),COLORGREEN,DOT;
低:BOLL-2*STD(CLOSE,20),COLORCYAN,DOT;
高1:=REF(HHV(H,120),3);
低1:=REF(LLV(L,120),3);
H3:=高1-(高1-低1)*0.5;
中轴:REF(H3,10000),COLORMAGENTA,DOT,LINETHICK1;
=EMA(C,7);
BB2:=EMA(C,15);
B3:=BB1-BB2;
WDIF:EMA(EMA(EMA(C,2),2),2)+B3,COLORRED,LINETHICK2;
WDEA:EMA(WDIF,7),COLORCYAN,LINETHICK2;
DRAWICON(CROSS(WDIF,WDEA),WDEA,5);
DRAWICON(CROSS(WDEA,WDIF),WDEA,6);
IF(WDEA WDIF,WDEA,NULL),COLORYELLOW ,LINETHICK2;
IF(WDIF WDEA,WDIF,NULL),COLORGREEN,LINETHICK2;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3 =(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;
跌停:=IF((C3-C)*100/C3 =(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;