通达信山谷停板主图源码副图选股通达信公式

2017-07-09    来源:网络    编辑:翔博软件
{山谷停板 主图 } M1:MA(CLOSE,13),COLORYELLOW,LINETHICK2; M2:MA(CLOSE,34),LINETHICK2,COLORWHITE; M3:MA(CLOSE,55),COLORGREEN,LINETHICK2; A:MA(C,5)COLORBLUE,LINETHICK3

{山谷停板主图}
M1:MA(CLOSE,13),COLORYELLOW,LINETHICK2;
 M2:MA(CLOSE,34),LINETHICK2,COLORWHITE;
 M3:MA(CLOSE,55),COLORGREEN,LINETHICK2;
 A:MA(C,5)COLORBLUE,LINETHICK3;
 B:=A<REF(A,1);
 IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3;
 DRAWTEXT(LAST(C<O,3,0) AND LAST(VOL<REF(VOL,1),3,0),L*0.975,'三阴一阳');
DRAWTEXT(CROSS("DMI.PDI","DMI.MDI") AND CROSS("DMI.PDI","DMI.ADX") AND CROSS
 ("DMI.PDI","DMI.ADXR") AND C>REF(C,1)*1.05 AND VOL>REF(VOL,1),L*0.975,'暴张');
DRAWTEXT(LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) 
 AND CROSS("CCI.CCI",-100),L*0.975,'背离底');
DRAWTEXT(LAST((H-L)/REF(C,1)<0.1,5,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.05,
 L*0.975,'平台起');
DRAWTEXT(LAST(MA(C,5)<MA(C,10),5,0) AND C>REF(C,1)*1.098,L*0.93,'山谷停板');


 {山谷暴张选}
暴张:(CROSS("DMI.PDI","DMI.MDI") AND CROSS("DMI.PDI","DMI.ADX") AND CROSS
 ("DMI.PDI","DMI.ADXR") AND C>REF(C,1)*1.05 AND VOL>REF(VOL,1));

{山谷背离底选}
背离底:(LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-
100));

{山谷平台起副}
DRAWICON(LAST((H-L)/REF(C,1)<0.1,5,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.05,L*0.975,1);

{山谷涨停板选}
山谷板:LAST(MA(C,5)<MA(C,10),5,0) AND C>REF(C,1)*1.098,COLORFFFFFF;

{三阴一阳副}
DRAWTEXT(LAST(C<O,3,0) AND LAST(VOL<REF(VOL,1),3,0),L*0.975,'▲'),COLORWHITE;

1
3
点击进入翔博软件旗下官方微店--指标超市