在线检测未来函数

通达信开启暴涨主图指标公式

来源:Internet,编辑:股旁网,2023-08-17

本文指标含有选股公式如下:
股旁网此处内容已被隐藏,请输入验证码查看内容。
验证码:
请关注本站微信公众号,回复“88”,获取验证码。
提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。

X_1:=10;
X_2:=5;
X_3:=CLOSE=HHV(CLOSE,X_1);
X_4:=BARSLAST(X_3);
底:LLV(LOW,X_1),COLORFF9933;
顶:HHV(HIGH,X_1),COLOR0099CC;
前高:IF(X_4>0,REF(CLOSE,X_4),REF(CLOSE,X_4)),POINTDOT,COLORCYAN,LINETHICK2;
MA5:MA(CLOSE,5),COLORMAGENTA,LINETHICK2;
MA13:MA(CLOSE,13),COLORGREEN,LINETHICK2;
X_5:=MA(CLOSE,20);
X_6:=MA(CLOSE,30);
X_7:=MA(CLOSE,60);
X_8:=SMA(CLOSE,120,1);
X_9:=crOSS(CLOSE,REF(前高,1));
X_10:=X_9 AND COUNT(X_9,5)=1;
X_11:=BARSLAST(X_10);
X_12:=CROSS(REF(前高,X_11+1),LOW) OR CROSS(REF(前高,X_11),CLOSE);
X_13:=X_12 AND X_11>1;
X_14:=CLOSE-REF(CLOSE,1);
X_15:=100*EMA(EMA(X_14,6),6)/EMA(EMA(Abs(X_14),6),6);
X_16:=CLOSE/REF(CLOSE,1)>=1.01 AND vol/REF(VOL,1)>=1.5 AND VOL>MA(VOL,5) AND REF(VOL,1)/REF(MA(VOL,5),1)<=1.8;
X_17:=((HHV(CLOSE,3)/LLV(CLOSE,X_1)-1)*100<=X_2 AND (HHV(CLOSE,X_1)/LLV(CLOSE,3)-1)*100<=X_2)*0.3;
X_18:=(CLOSE/REF(HHV(CLOSE,X_1),2)<=1.02 AND HIGH/REF(HHV(CLOSE,X_1),2)>=0.98)*0.5;
X_19:=BARSLAST(X_17);
X_20:=BARSLAST(X_18);
X_21:=(X_16 AND X_18 AND X_19<=3 AND X_20<=1)*2;
X_22:=(X_16 AND X_18)*1;
X_23:=ABS(MA5-X_5)/X_5*100<=X_1;
X_24:=ABS(MA5-X_6)/X_6*100<=X_1;
X_25:=MA5>REF(MA5,1);
X_26:=X_5>REF(X_5,1);
X_27:=X_6>REF(X_6,1);
X_28:=X_5>X_6 AND X_6>X_8;
X_29:=X_28 AND X_26 AND X_27 AND NOT(X_25) AND REF(X_25,1);
X_30:=X_29*50;
X_31:=100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
X_32:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
X_33:=80-(X_31*3+X_32*2)/5;
X_34:=IF(X_33<0,X_33,0);
X_35:=X_28 AND X_26 AND X_27 AND COUNT(X_25,4)<=1;
X_36:=CLOSE>MA5 AND (X_25 AND NOT(REF(X_25,1)) OR CLOSE>REF(CLOSE,3));
X_37:=X_36 AND (X_23 OR X_24) AND X_35;
X_38:=(X_37 AND NOT(REF(X_37,1)))*50;
X_39:=IF(LLV(X_15,2)=LLV(X_15,7) AND COUNT(X_15<0,2) AND CROSS(X_15,MA(X_15,2)),1,0);
X_40:=IF(HHV(X_15,2)=HHV(X_15,7) AND COUNT(X_15>50,2) AND CROSS(MA(X_15,2),X_15),1,0);
X_41:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
X_42:=REF(CLOSE,1);
X_43:=SMA(MAX(CLOSE-X_42,0),6,1)/SMA(ABS(CLOSE-X_42),6,1)*100;
X_44:=(X_38 AND COUNT(MA13>X_5,5)=5)*100;
DRAWTEXT(X_38>0,LOW*0.99,'★'),COLORRED;
DRAWICON(X_44>0,LOW*0.99,1);
DRAWICON(CROSS(82,X_41),HIGH,2);
DRAWTEXT(CROSS(84,X_43),HIGH*1.01,'顶'),COLORCYAN;
DRAWTEXT(FILTER(X_39=1,5),LOW-0.03,'▲开启暴涨'),COLORYELLOW;
DRAWTEXT(FILTER(X_40=1,5),HIGH*1.025,'↙ 卖'),COLORGREEN;
DRAWTEXT(X_10,LOW*0.99,'▲出击'),COLORWHITE;
DRAWTEXT(X_13,LOW*0.99,'H'),COLORA1C7F8;
DRAWTEXT(X_21>0,LOW*0.99,'☆');
DRAWTEXT(X_22,LOW*0.99,' 期待'),COLORRED;

通达信开启暴涨主图指标公式

相关文章