VAR1:=REF(CLOSE,1);
强弱方向: SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(Abs(CLOSE-VAR1),5,1)*100,COLORYELLOW;
80, POINTDOT,COLORWHITE;
20, POINTDOT,COLORGREEN;
10, POINTDOT,COLORBLUE;
买卖力道: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1)-2*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1),COLORRED;
DRAWTEXT(crOSS(买卖力道,20) AND 强弱方向>50,20,'买'),COLORGREEN;
DRAWTEXT(CROSS(80,买卖力道),80,'卖'),COLORRED;