通达信妖坑升级版副图源码

妖坑升级版副图,在指标参数的基础上进行了优化,请看以下图片说明:

X_1:=CAPITAL/1000000;
X_2:=NAMELIKE(1)=0 AND NAMELIKE(2)=0 AND NAMELIKE(3)=0 AND NAMELIKE(4)=0;
X_3:=DYNAINFO(4)>0;
X_4:=X_2 AND X_3 AND X_1<15;
X_5:=(COST(75)-COST(25))/(COST(75)+COST(25))*100;
X_6:=COST(X_5)*1.28;
X_7:=COST(X_5)*0.98;
X_8:=CROSS(CLOSE,X_6);
X_9:=REF(CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH,1) AND COUNT(REF(CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH,1),6)<=2 AND REF(CLOSE<40,1);
X_10:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
X_11:=X_9 AND X_10>0.18;
X_12:=X_8 AND REF(CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH,1) AND X_11 AND X_4;
STICKLINE(X_12,0,(-0.15),0.3,0),COLORLIMAGENTA;
DRAWTEXT(X_12,(-0.1),5),COLORCYAN;
X_13:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3);
X_14:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
X_15:=(CLOSE-REF(CLOSE,8))/REF(CLOSE,8);
X_16:=(CLOSE-REF(CLOSE,13))/REF(CLOSE,13);
X_17:=(CLOSE-REF(CLOSE,21))/REF(CLOSE,21);
X_18:=(HY_INDEXC-REF(HY_INDEXC,3))/REF(HY_INDEXC,3);
X_19:=(HY_INDEXC-REF(HY_INDEXC,5))/REF(HY_INDEXC,5);
X_20:=(HY_INDEXC-REF(HY_INDEXC,8))/REF(HY_INDEXC,8);
X_21:=(HY_INDEXC-REF(HY_INDEXC,13))/REF(HY_INDEXC,13);
X_22:=(HY_INDEXC-REF(HY_INDEXC,21))/REF(HY_INDEXC,21);
X_23:=X_13-X_18;
X_24:=X_14-X_19;
X_25:=X_15-X_20;
X_26:=X_16-X_21;
X_27:=X_17-X_22;
主力线:(5*X_23+4*X_24+3*X_25+2*X_26+X_27)/15,COLORYELLOW;
坑2:REF(HHV(X_24,60),1),DOTLINE,COLORCYAN;
坑1:REF(HHV(主力线,120),1),DOTLINE,COLORMAGENTA;
X_28:=IF(CODELIKE(6) OR CODELIKE(7),1,0);
X_29:=IF(X_28=1,1.195,1.093);
X_30:=HIGH>REF(CLOSE,1)*X_29 AND CLOSE>=HIGH;
X_31:=CROSS(主力线,坑1) OR CROSS(主力线,坑2) AND 主力线>=坑2 AND 主力线>=坑1;
STICKLINE(X_31 AND X_30,0,主力线,2,1),COLORGREEN;
X_32:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
X_33:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20);
X_34:=(CLOSE-REF(CLOSE,60))/REF(CLOSE,60);
X_35:=(CLOSE-REF(CLOSE,120))/REF(CLOSE,120);
X_36:=(CLOSE-REF(CLOSE,10))/REF(CLOSE,10);
X_37:=(INDEXC-REF(INDEXC,5))/REF(INDEXC,5);
X_38:=(INDEXC-REF(INDEXC,20))/REF(INDEXC,20);
X_39:=(INDEXC-REF(INDEXC,60))/REF(INDEXC,60);
X_40:=(INDEXC-REF(INDEXC,120))/REF(INDEXC,120);
X_41:=(INDEXC-REF(INDEXC,10))/REF(INDEXC,10);
X_42:=X_36-X_41;
X_43:=X_33-X_38;
X_44:=X_34-X_39;
X_45:=X_35-X_40;
X_46:=X_14-X_19;
DRAWICON(主力线>REF(HHV(主力线,55)*0.95,1),主力线*0.95,1);
 




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

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

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