趋势:=(5)*(SMA(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,30))
/(HHV(HIGH,30)-LLV(LOW,30)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)))*(100),5,1),3,1),2,1);
底:CROSS(趋势,5);
顶:CROSS(95,趋势);