D1:EMA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5);
D2:REF(D1,1);
DRAWTEXTABS,linethick2,COLOR00EEff;
STICKLINE(D1>=REF(D1,1),D1,D2,7,0),COLORRED;
STICKLINE(D1<REF(D1,1),D1,D2,5,0),COLORGREEN;
底:10,COLORCYAN;
顶:80,COLORCYAN;
抄底:IF(CROSS(d1,d2) AND d2<底,30,0),LINETHICK2,COLORRED;