通达信【精准筹码峰】专门捕捉起爆点 所有牛股跑不了 副图 源码

X_1:=6;
X_2:=REF(CLOSE,1);
X_3:=SMA(MAX(CLOSE-X_2,0),X_1,1)/SMA(ABS(CLOSE-X_2),X_1,1)*100;
X_4:=COST(0.01);
X_5:=LOW<X_4 AND X_3<20;
STICKLINE(X_5,0,38,2,0),COLOR8977FF;
X_6:=REF(X_5,1)=1 AND X_5=0;
STICKLINE(X_6,0,50,2,0),COLORRED;
X_7:=COST(0.05);
X_8:=LOW<X_7 AND X_3<25;
STICKLINE(X_8,0,20,2,0),COLORYELLOW;
X_9:=REF(X_8,1)=1 AND X_8=0;
STICKLINE(X_9,0,30,2,0),COLORMAGENTA;
X_10:=COST(0.7);
X_11:=HIGH>X_10 AND X_3>83;
STICKLINE(X_11,0,38,2,0),COLORWHITE;
X_12:=REF(X_11,1)=1 AND X_11=0;
STICKLINE(X_12,0,50,2,0),COLORCYAN;
DRAWTEXT(X_12,50,'危险'),COLOR0066FF;
X_13:=COST(0.5);
X_14:=HIGH>X_13 AND X_3>80;
STICKLINE(X_14,0,20,2,0),COLORGREEN;
X_15:=REF(X_14,1)=1 AND X_14=0;
STICKLINE(X_15,0,30,2,0),COLORBLUE;
DRAWTEXT(X_15,30,'小心'),COLORRED;
DRAWTEXT(X_11,40,'主升'),COLORYELLOW;
DRAWTEXT(X_6,50,'抄底'),COLORYELLOW;
DRAWTEXT(X_9,30,'准备'),COLORYELLOW;
X_16:=DYNAINFO(4)=0;
X_17:=REF(CLOSE,17)<REF(HHV(HIGH,250),18);
X_18:=REF(CLOSE,18)<REF(HHV(HIGH,250),19);
X_19:=REF(CLOSE,19)<REF(HHV(HIGH,250),20);
X_20:=REF(CLOSE,20)<REF(HHV(HIGH,250),21);
X_21:=CLOSE>=REF(HHV(HIGH,250),1);
X_22:=X_21 AND REF(CLOSE,1)<REF(HHV(HIGH,250),2);
X_23:=X_22 AND REF(CLOSE,2)<REF(HHV(HIGH,250),3);
X_24:=X_23 AND REF(CLOSE,3)<REF(HHV(HIGH,250),4);
X_25:=X_24 AND REF(CLOSE,4)<REF(HHV(HIGH,250),5);
X_26:=X_25 AND REF(CLOSE,5)<REF(HHV(HIGH,250),6);
X_27:=X_26 AND REF(CLOSE,6)<REF(HHV(HIGH,250),7);
X_28:=X_27 AND REF(CLOSE,7)<REF(HHV(HIGH,250),8);
X_29:=X_28 AND REF(CLOSE,8)<REF(HHV(HIGH,250),9);
X_30:=X_29 AND REF(CLOSE,9)<REF(HHV(HIGH,250),10);
X_31:=X_30 AND REF(CLOSE,10)<REF(HHV(HIGH,250),11);
X_32:=X_31 AND REF(CLOSE,12)<REF(HHV(HIGH,250),13);
X_33:=X_32 AND REF(CLOSE,13)<REF(HHV(HIGH,250),14);
X_34:=X_33 AND REF(CLOSE,14)<REF(HHV(HIGH,250),15);
X_35:=X_34 AND REF(CLOSE,16)<REF(HHV(HIGH,250),17);
主升浪:X_35 AND X_17 AND X_18 AND X_19 AND X_20 AND NOT(X_16),NODRAW,COLORYELLOW;
DRAWTEXT(主升浪,0.95,'主升浪'),COLORYELLOW;
STICKLINE(主升浪,0,100,3,0),COLORCYAN;
X_36:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*4,5)*100;
X_37:=REF(X_36,1)>50 AND X_36-REF(X_36,1)>40;
X_38:=DVOL/CLOSE/2;
X_39:=SUM(IF(X_38>100 AND CLOSE>REF(CLOSE,1),X_38,0),0);
X_40:=SUM(IF(X_38>100 AND CLOSE<REF(CLOSE,1),X_38,0),0);
X_41:=SUM(IF(X_38<100 AND CLOSE>REF(CLOSE,1),X_38,0),0);
X_42:=SUM(IF(X_38<100 AND CLOSE<REF(CLOSE,1),X_38,0),0);
X_43:=X_39+X_40+X_41+X_42;
X_44:=X_39/X_43*100;
X_45:=X_40/X_43*100;
X_46:=X_44-X_45;
X_47:=(X_46>=REF(X_46,1)+1.5)*50 AND X_44>X_45;
主力追买:X_47 AND X_37;
STICKLINE(主力追买,0,100,3,0),COLORRED;
X_48:=(COST(97)-COST(3))/10;
X_49:=COST(3)+X_48*1-(COST(3)+X_48*0);
X_50:=COST(3)+X_48*2-(COST(3)+X_48*1);
X_51:=COST(3)+X_48*3-(COST(3)+X_48*2);
X_52:=COST(3)+X_48*4-(COST(3)+X_48*3);
X_53:=COST(3)+X_48*5-(COST(3)+X_48*4);
X_54:=COST(3)+X_48*6-(COST(3)+X_48*5);
X_55:=COST(3)+X_48*7-(COST(3)+X_48*6);
X_56:=COST(3)+X_48*8-(COST(3)+X_48*7);
X_57:=COST(3)+X_48*9-(COST(3)+X_48*8);
X_58:=COST(3)+X_48*10-(COST(3)+X_48*9);
X_59:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(X_49,X_50),X_51),X_52),X_53),X_54),X_55),X_56),X_57),X_58);
X_60:=IF(X_58>=X_59,COST(3)+X_48*10,IF(X_57>=X_59,COST(3)+X_48*9,IF(X_56>=X_59,COST(3)+X_48*8,IF(X_55>=X_59,COST(3)+X_48*7,IF(X_54>=X_59,COST(3)+X_48*6,IF(X_53>=X_59,COST(3)+X_48*5,IF(X_52>=X_59,COST(3)+X_48*4,IF(X_51>=X_59,COST(3)+X_48*3,IF(X_50>=X_59,COST(3)+X_48*2,IF(X_49>=X_59,COST(3)+X_48*1,0))))))))));
X_61:=X_60-X_48;
X_62:=X_60-X_48*0.5;
峰量:X_59*100,NODRAW;
X_63:=COST(60)>REF(COST(60),1);
XG峰:REF(CLOSE,1)<X_62 AND CROSS(CLOSE,X_62) AND X_63;
STICKLINE(XG峰,0,100,1,0),COLORYELLOW;
X_64:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_65:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_66:=X_64<REF(X_65,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
值4:X_66 AND COUNT(X_66,30)=1;
STICKLINE(值4,0,100,1,0),COLORFF80FF;
X_67:=VOL>REF(VOL,1)*1.9;
X_68:=IF(DATE<CONST(DATE),240,FROMOPEN);
X_69:=BARSCOUNT(CLOSE);
X_70:=IF(VOL/X_68*240=CONST(LLV(VOL,60)) AND VOL/X_68*240>CONST(LLV(VOL,X_69)),6,0);
X_71:=IF(VOL/X_68*240=CONST(LLV(VOL,60)) AND VOL/X_68*240=CONST(LLV(VOL,X_69)),6,0);
值8:X_71 OR X_70;
STICKLINE(值8,0,100,1,0),COLORMAGENTA;
X_72:=MA(REF(HHV(CLOSE,30),1),2);
X_73:=MA(REF(LLV(CLOSE,30),1),2);
X_74:=EMA(CLOSE,20);
X_75:=MA(CLOSE,20);
X_76:=POW(CLOSE-X_74,2);
X_77:=MA(X_76,20);
X_78:=SQRT(X_77);
X_79:=X_74+2*X_78;
X_80:=X_74-2*X_78;
X_81:=REF(X_74,1);
X_82:=REF(X_79,1);
X_83:=REF(X_80,1);
X_84:=EMA(COST(90),5);
X_85:=EMA(COST(99),5);
X_86:=VOL/REF(MA(VOL,5),1);
起爆点:(CLOSE>X_72 AND CLOSE>X_82 AND X_86>1.8 AND COUNT(CLOSE>X_72 AND CLOSE>X_82 AND X_86>1.8,7)=1)*100,COLORMAGENTA;
DRAWTEXT(起爆点=100,90,'起爆点'),COLORRED;
突破:(CLOSE>X_85 AND COUNT(CLOSE>X_85,7)=1)*66,COLORYELLOW;
DRAWICON(起爆点,1,13);
DRAWICON(突破,1,34);



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

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

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