Z:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; 趋势:SMA(Z,5,1),LINETHICK3; 工作:=MA(趋势,2); 底部:(10),LINETHICK1,COLOR00FFE0; 顶部:(90),LINETHICK1,COLORFFFF00; 升:IF(趋势 REF(趋势,1),趋势,DRAWNULL),COLOR0000FF,LINETHICK3; 降:IF(趋势 REF(趋势,1),趋势,DRAWNULL),COLOR00FF00,LINETHICK3; {九毛八公式指标网www.9m8.cn};