VAR1:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
VAR2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
VAR3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);
买入:IF(VAR2<MA(VAR3,6),MA(VAR3,6),VAR2),COLORRED;
卖出:IF(VAR1>MA(VAR3,6),MA(VAR3,6),VAR1),COLORGREEN;
强弱线:MA(VAR3,6),COLORYELLOW ,LINETHICK1;