:100,COLORBLUE;:0,COLORWHITE;顶:120,COLORBLUE;底:-20,COLORWHITE;001:=(5)*((((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);:MA(趋势001,3),COLORYELLOW,LINETHICK1;方向:=趋势线>REF(趋势线,1);IF(方向,趋势线,DRAWNULL),COLORRED,LINETHICK1;趋势A01:=SUM(MAX(MAX((HIGH - LOW),A((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);趋势A02:=(HIGH - REF(HI