价趋势: 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);
底警戒:10,COLORCYAN;
买警戒: IF(价趋势<=10,50,0),stick,linethick3,coloryellow;
买信号: IF(CROSS(价趋势,底警戒),100,0),stick,linethick3,colorblue;
顶警戒: 90, colorred;
卖警戒: IF(价趋势>=85,50,0),stick,linethick3,colorred;
卖信号: IF(CROSS(价趋势,顶警戒),100,0),stick,linethick3,colorgreen;