VAR1:=IF(CLOSE>REF(CLOSE,1),vol,0);
VAR2:=IF(CLOSE
SH:SUM(VAR1,13),NODRAW;
UP:SUM(VAR2,13),NODRAW;
趋势线: 3*SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1),3,1),LINETHICK2,COLORWHITE;
超跌线: 13,LINETHICK2,COLORYELLOW;
可买: IF(crOSS(趋势线,超跌线),81,0),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(可买,8),89,'可买'),COLOR00FF00,COLORRED;