顶:89.5,COLOR555555;
中线:49.5,DOTLINE,COLOR555555;
低位:19.5,COLOR111111;
底线:9.5,COLOR111111;
底边:0,COLORBLUE;
所持股:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLOR8800FF,LINETHICK2;
指数:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA00,LINETHICK2;
X_1:=IF(CROSS(所持股,9),40,0);
X_2:=EMA(CLOSE,3);
X_3:=EMA(CLOSE,21);
X_4:=BARSLAST(CROSS(X_3,X_2))>15;
X_5:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;
X_6:=CROSS(X_2,X_3) AND X_5 AND X_4;
X_7:=IF(X_6,40,0);
X_8:=DRAWTEXT(X_6,30,2);
MAC1:EMA(所持股,3),DOTLINE,COLORCCCCCC;
MAC2:EMA(指数,3),DOTLINE,COLORGREEN;
X_9:=EMA(所持股,20);
X_10:=EMA(指数,20);