X_1:=INDEXH;
X_2:=INDEXO;
X_3:=INDEXL;
X_4:=INDEXC;
X_5:=INDEXV;
X_6:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_7:=EMA(X_6,35);
X_8:=(HHV(X_7,5)+HHV(X_7,15)+HHV(X_7,30))/3;
X_9:=(LLV(X_7,5)+LLV(X_7,15)+LLV(X_7,30))/3;
牛线:(HHV(X_8,5)+HHV(X_8,15)+HHV(X_8,30))/3,COLORYELLOW;
X_10:=(LLV(X_9,5)+LLV(X_9,15)+LLV(X_9,30))/3;
X_11:=X_4/EMA(X_4,120);
大盘中线:EMA(EMA(CLOSE,120)*X_11,2),COLORRED;
STICKLINE(1,0,大盘中线,0.1,1),COLORRED;
X_12:=X_6>=牛线 AND X_6>=大盘中线;
X_13:=X_6<牛线 AND X_6>=大盘中线 AND 牛线>大盘中线;
X_14:=X_6<=大盘中线 AND X_6<=牛线 OR (X_6>=牛线 AND X_6<大盘中线 AND 牛线<大盘中线);
STICKLINE(X_12=1,HIGH,LOW,3,1),COLORMAGENTA;
STICKLINE(X_12=1,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(X_13=1,HIGH,LOW,3,1),COLORRED;
STICKLINE(X_13=1,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(X_14=1,HIGH,LOW,3,1),COLORGRAY;
美女:IF(X_12=1,1,(-1)),NODRAW,COLORWHITE;
关注:IF(美女=1 AND REF(美女,1)=(-1),1,0),NODRAW,COLORGREEN;