以下是通达信强悍的抄底副图指标--抄底不败指标公式(无源码的请下载附件导入)
{抄底不败}
{参数:P1 -20,20,-6}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1+2*BIAS2+3*BIAS3)/6;
股价趋势:MA(MM,3),COLORRED;
买入信号:EMA(股价趋势,2);
抄底:IF(股价趋势<P1,-11,-15),COLORFF00FF;
DRAWTEXT(CROSS(股价趋势,买入信号) AND COUNT(买入信号<P1,2)>1,-10,'△'),COLORRED,LINETHICK3;
STICKLINE((股价趋势<-9),0,-15,4,0 ),COLORCC0033;
STICKLINE((股价趋势<-9),0,-11,4,0 ),COLORFF9966;
底部预警信号:
STICKLINE( (股价趋势<-9),0,-6,4,0) ,COLORFFCC66;
STICKLINE( (股价趋势<-9),0,-2,4,0 ),COLORFFFF66;
XY1272:
STICKLINE((股价趋势<-12),10 ,-15,4,0) ,COLOR0066FF;
STICKLINE((股价趋势<-12),10 ,-5,4,0 ),COLOR0099FF;
STICKLINE((股价趋势<-12),10 ,0,4,0 ),COLOR00CCFF;
STICKLINE((股价趋势<-12),10 ,3,4,0),COLOR00FFFF;
62833209.jpg
|