源码
股价趋势: 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;
买入警戒: IF(股价趋势<=10,50,0),stick,linethick3,coloryellow;
买入信号: IF(CROSS(股价趋势,底部警戒),100,0),stick,linethick3,colorblue;
drawtext(买入信号,40,'关注!!!'),coloryellow;
顶部警戒: 90;
卖出警戒: IF(股价趋势>=85,50,0),stick,linethick3,colorred;
卖出信号: IF(CROSS(股价趋势,顶部警戒),100,0),stick,linethick3,colorgreen;
drawtext(卖出信号,80,'快逃!!!'),colorred;