VAR1:=REF(CLOSE,1);
强弱方向:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(Abs(CLOSE-VAR1),5,1)*100,COLORYELLOW;
买卖力道:=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;
买:crOSS(买卖力道,20) AND 强弱方向>50;