N:=10;
趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2
*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
均线:MA(趋势线,N);
买预警:IF(趋势线<=10,50,0),COLORFF00FF;
买信号:IF(均线<16 AND CROSS(趋势线,均线),100,0),COLORFF0000;
卖预警:IF(趋势线>=80,50,100),COLORFFFF00;
卖信号:IF(均线>80 AND CROSS(均线,趋势线),0,100),COLORFF0000;
中线:50,POINTDOT;{股票指标网}
DRAWICON(均线<10 AND CROSS(趋势线,均线),趋势线,1);
DRAWICON(均线>85 AND CROSS(均线,趋势线),趋势线,2);