通达信双倍阴指标公式

X_1:=MAX(DYNAINFO(3),DYNAINFO(5));
X_2:=MIN(DYNAINFO(3),DYNAINFO(6));
X_3:=X_1-X_2;
X_4:=X_2+X_3*7/8;
X_5:=X_2+X_3*0.5/8;
X_6:=(X_4+X_5)/2;
X_7:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
X_8:=EMA(X_7,3);
X_9:=REF(X_8,1)<11 AND crOSS(X_8,11) AND CLOSE<X_6;
X_10:=REF(X_8,1)<11 AND REF(X_8,1)>6 AND CROSS(X_8,11);
X_11:=REF(X_8,1)<6 AND REF(X_8,1)>3 AND CROSS(X_8,6);
X_12:=REF(X_8,1)<3 AND REF(X_8,1)>1 AND CROSS(X_8,3);
X_13:=REF(X_8,1)<1 AND REF(X_8,1)>0 AND CROSS(X_8,1);
X_14:=REF(X_8,1)<0 AND CROSS(X_8,0);
X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.058 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<0.095;
X_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.098;
X_17:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_18:=FILTER(X_17,10);
X_19:=BARSLAST(X_18);
X_20:=REF(HIGH,X_19+2);
X_21:=REF(HIGH,X_19+1);
X_22:=REF(HIGH,X_19);
X_23:=MAX(X_20,X_21);
X_24:=MAX(X_23,X_22);
X_25:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_26:=X_19<150;
X_27:=(OPEN-X_24)/X_24*100<30;
X_28:=(CLOSE-LLV(LOW,X_19))/LLV(LOW,X_19)*100<50;
X_29:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
X_30:=vol/MA(VOL,5)<3.5;
X_31:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
X_32:=X_25 AND X_26 AND X_27 AND X_28 AND X_29 AND X_30 AND X_31;
X_33:=CLOSE/REF(CLOSE,1)*100-100;
X_34:=MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)*100-100;
X_35:=BARSLASTCOUNT(X_34<5);
X_36:=X_35>=2 AND X_35<=4;
X_37:=REF(X_36,1) AND X_33>6;
X_38:=REF(X_33>6,1) AND X_34<5;
X_39:=CLOSE>REF(CLOSE,1) AND CLOSE>OPEN;
X_40:=REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE<OPEN,2) AND REF(OPEN-CLOSE,1)>REF(OPEN-CLOSE,2)*2 AND REF(VOL,1)>REF(VOL,2)*2;
X_41:=REF(CLOSE,2)<REF(CLOSE,3) AND REF(CLOSE,3)<REF(CLOSE,4) AND REF(CLOSE,4)<REF(CLOSE,5) AND REF(CLOSE,5)<REF(CLOSE,6);
X_42:=X_39 AND X_40 AND X_41;
X_43:=X_39 AND REF(X_42,1);
X_44:=X_10=1 OR X_11=1 OR X_12=1 OR X_13=1 OR X_14=1;
X_45:=X_43 AND (X_44=1 AND CLOSE<X_6 OR X_9);
STICKLINE(X_45,1,1.3,0,0),COLORRED;
STICKLINE(X_45,0.5,1,2,0),COLORYELLOW;
STICKLINE(X_45,0,0.5,2,0),COLORMAGENTA;
DRAWTEXT(X_45,0.5,'←双倍阴'),COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图