以下是通达信特准抄底主图指标源码贴图(无源码的请下载附件导入)
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
DRAWTEXT(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),L*0.99,'↖特准抄底'),COLORGREEN;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
DRAWTEXT(CROSS(BIAS,乖离) AND 乖离<-9.5,L*0.96,'↖红柱抄底'),COLORRED;
红柱:(CROSS(BIAS,乖离) AND 乖离<-9.5),COLORRED,NODRAW;
特准抄底:(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5)),COLORGREEN,NODRAW;
1359100629.png
1359188385.jpg
|