VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,13,8); 看涨:SMA(VAR3,13,8),COLORRED; 看跌:SMA(VAR1,21,8),COLORFFFF00; 绿柱:IF(看涨,1,DRAWNULL),COLORLIGREEN,LINETHICK9;:OSS(看涨,看跌),COLORMAGENTA;:CROSS(看跌,看涨),COLORLICYAN;:IF(看涨>看跌,1,DRAWNULL),COLORRED,LINETHICK9;:IF(看涨<看跌,1,DRAWNULL),COLORFFFF00,LINETHICK9;