以下是通达信金峰暴力选股指标公式源码和使用说明

通达信金峰暴力选股指标公式源码:

   N1:=12;N2:26;N3:=9;

   DIFF:=(Ema(CLOSE,N1)-EMA(CLOSE,N2));

   DEA:=EMA(DIFF,N3);

   macd2:=(2*(DIFF-DEA));

   进攻:(((HHV(MacD2,4)<0)AND(MACD2>REF(MACD2,1)))AND(REF(MACD2,1)<REF(MACD2,2)))AND(REF(MACD2,2)<REF(MACD2,3));

   X_1:=MA(CLOSE,41)+MA(CLOSE,41)*10/100;

   X_2:=MA(CLOSE,23)+MA(CLOSE,23)*5/100;

   X_3:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

   X_4:=MA(HIGH,5);

   X_5:=CLOSE>REF(CLOSE,1)*1.088;

   X_6:=IF(CODELIKE(1),0,1);

   X_7:=IF(NAMELIKE(2),0,1);

   X_8:=IF(NAMELIKE(3),0,1);

   X_9:=DYNAINFO(17)>0;

   X_10:=X_7ANDX_8ANDX_9;

   金峰暴力:crOSS(X_4,X_1)ORCROSS(X_3,X_1)ORCROSS(X_3,X_2)ANDX_5;

   VA6:=(2*CLOSE+HIGH+LOW)/4;

   VA8:=LLV(LOW,34);

   VARB:=HHV(HIGH,34);

   VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);

   VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);

   生命线:=EMA(VARD,1);

   VAR1:=(HIGH+LOW+CLOSE*2)/4;

   VAR2:=EMA(VAR1,21);

   VAR3:=STD(VAR1,21);

   VAR4:=((VAR1-VAR2)/VAR3*100+200)/4;

   VAR5:=(EMA(VAR4,89)-25)*1.56;

   VAR6:=EMA(VAR5,5)*1.22;

   VAR7:=EMA(VAR6,3);

   VAR8:=3*VAR6-2*VAR7;

   VAR1A:=IF(CROSS(VAR6,VAR8)ANDCROSS(VAR7,VAR8)ANDCROSS(VAR7,VAR6),1,0);

   VAR1B:=EMA(CLOSE,3)-EMA(CLOSE,89);

   VAR1C:=EMA(VAR1B,21);

   VAR1D:=(VAR1B-VAR1C)*10;

   VAR1F:=POW(VAR1D,3)*0.1+POW(VAR1D,2);

   拉升资金:=IF(VAR1D>0.015,VAR1F,0)/45;

   VAR9:=EMA(CLOSE,2)-EMA(CLOSE,55);

   VAR10:=EMA(VAR9,13);

   VAR11:=2*(VAR9-VAR10);

   主力资金:=POW(VAR11,3)*0.1+POW(VAR11,1);

   选股:CROSS(主力资金,0)ANDCROSS(拉升资金,0.01)ANDVOL/MA(REF(VOL,1),5)>2ANDIF(CROSS(VARC,生命线)ANDVARC>VARDANDVARC<55ANDC>O,50,0);

通达信金峰暴力选股指标公式截图

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。