飞狐好公式不需要太复杂!
KX:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; MX:=SMA(KX,3,1),COLORRED; ZH:=IF(BARSLAST(CROSS(MX,KX))>=3 AND CROSS(KX,MX) AND MX<30,20,0); BUY:IF(ZH>0,1,0),COLORYELLOW;