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),COLORYELLOW ,LINETHICK1;
海:20,COLORFF9933;
界:50,COLORFF00FF;
天:80,COLORFFCCCC;
a:=if(cross(var2,强弱线),1,if(cross(强弱线,var2),-1,0));