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

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;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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