MB1:MA(CLOSE,1),COLOR111111;
X_1:=EMA(CLOSE,3);
X_2:=EMA(CLOSE,26);
X_3:=X_1-X_2;
牵牛线:EMA(EMA(EMA(CLOSE,3),3),3)+X_3,DOTLINE,COLORGREEN;
X_4:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
STICKLINE(X_4,OPEN,CLOSE,2,0),COLOR66EEEE;
STICKLINE(X_4,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(X_4,OPEN,CLOSE,0,1),COLOR8B8BFF;
寻牛线:MA(MA(LOW,3),3),COLORMAGENTA;
上箱顶:HHV(寻牛线,60),COLOR77EEEE;
下箱底:LLV(寻牛线,20),COLORFFBB00;
IF(寻牛线>=REF(上箱顶,1),寻牛线,DRAWNULL),COLORRED,LINETHICK3;