以下是大智慧顶底警戒副图指标
大智慧顶底警戒副图指标
源码
股价趋势: 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;
顶部警戒: 90, colorred;
卖出警戒: IF(股价趋势>=85,50,0),stick,linethick3,colorred;
卖出信号: IF(CROSS(股价趋势,顶部警戒),100,0),stick,linethick3,colorgreen;