通达信薛斯通黑马启动与高抛卖点主图指标 供盘中参考使用 源码 附图

X_1:=30;
X_2:=3;
X_3:=15;
X_4:=3;
UPPERL:MA(HIGH,X_1)*(1+X_3/100),COLORWHITE;
UPPERS:MA(HIGH,X_2)*(1+X_4/100),COLORYELLOW;
LOWERS:MA(LOW,X_2)*(1-X_4/100),COLORMAGENTA;
LOWERL:MA(LOW,X_1)*(1-X_3/100),COLORGREEN;
X_5:=REF(CLOSE,1)*1.1-CLOSE<0.01;
STICKLINE(X_5,OPEN,CLOSE,3,0),COLORMAGENTA;
X_6:=CLOSE/REF(CLOSE,1)<0.913 AND CLOSE=LOW;
STICKLINE(X_6,OPEN,CLOSE,2,0),COLORBLUE;
X_7:=HHV(HIGH,20);
X_8:=LLV(LOW,20);
X_9:=REF((X_7/X_8-1)*100<=30,1);
X_10:=REF(CLOSE,1);
X_11:=SMA(MAX(CLOSE-X_10,0),6,1)/SMA(ABS(CLOSE-X_10),6,1)*100;
STICKLINE(CROSS(84,X_11),CLOSE,OPEN,2.8,0),COLORGREEN;
X_12:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_13:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_12);
MA1:MA(CLOSE,5);
X_14:=CLOSE*VOL;
X_15:=EMA((EXPMA(X_14,23)/EXPMA(VOL,23)+EXPMA(X_14,54)/EXPMA(VOL,54)+EXPMA(X_14,108)/EXPMA(VOL,108)+EXPMA(X_14,316)/EXPMA(VOL,316))/4,34);
X_16:=1.0668*X_15;
X_17:=CROSS(CLOSE,X_16) AND REF(CLOSE,1)*1.05-CLOSE<0.005 AND CLOSE>OPEN*0.5;
X_18:=VOL;
X_19:=X_18>MA(VOL,89);
X_20:=EXPMA(CLOSE,5);
X_21:=EXPMA(CLOSE,29);
X_22:=X_20>X_21;
X_23:=REF(CLOSE,1);
X_24:=SMA(MAX(CLOSE-X_23,0),12,1)/SMA(ABS(CLOSE-X_23),12,1)*100;
X_25:=SMA(MAX(CLOSE-X_23,0),56,1)/SMA(ABS(CLOSE-X_23),56,1)*100;
X_26:=X_24>X_25 AND X_22 AND X_19 AND CLOSE>REF(HHV(HIGH,40),1);
DRAWTEXT(X_17 AND X_26 AND X_9,LOW*0.99,'黑马一号'),COLORRED;
STICKLINE(X_17 AND X_26 AND X_9,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(X_17 AND X_26 AND X_9,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_17 AND X_26 AND X_9,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_17 AND X_26 AND X_9,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(X_17 AND X_26 AND X_9,OPEN,CLOSE,0.5,0),COLORYELLOW;
X_27:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE<REF(CLOSE,1),(-VOL)/CAPITAL*100,0)),0);
X_28:=VOL*CLOSE/100;
X_29:=SUM(IF(X_28/8>20 AND CLOSE>REF(CLOSE,1),X_28,0),0);
X_30:=SUM(IF(X_28/8>20 AND CLOSE<REF(CLOSE,1),X_28,0),0);
X_31:=SUM(IF(X_28/8<20 AND CLOSE>REF(CLOSE,1),X_28,0),0);
X_32:=SUM(IF(X_28/8<20 AND CLOSE<REF(CLOSE,1),X_28,0),0);
X_33:=X_29+X_30+X_31+X_32;
X_34:=1;
X_35:=STRCAT(STRCAT(51,CON2STR(100*X_29/X_33,0)),52);
X_36:=STRCAT(STRCAT(53,CON2STR(100*X_30/X_33,0)),52);
DRAWTEXT_FIX(X_34=1,0.9,0.9,0,X_35),COLORRED;
DRAWTEXT_FIX(X_34=1,0.9,0.99,0,X_36),COLORGREEN;
X_37:=MA(CLOSE,5);
X_38:=MA(CLOSE,10);
X_39:=MA(CLOSE,20);
X_40:=MA(CLOSE,30);
X_41:=MA(CLOSE,55);
X_42:=OPEN<X_37 AND OPEN<X_38 AND OPEN<X_39 AND LOW<X_40 AND LOW<X_41;
X_43:=CLOSE>X_37 AND CLOSE>X_38 AND HIGH>X_39 AND HIGH>X_40 AND HIGH>X_41;
X_44:=X_42 AND X_43;
STICKLINE(X_44,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(X_44,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_44,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_44,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(X_44,OPEN,CLOSE,0.5,0),COLORYELLOW;
DRAWTEXT(X_44,LOW*0.97,'一穿五'),COLORRED;
X_45:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
X_46:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
X_47:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
X_48:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
X_49:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
X_50:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
X_51:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
X_52:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
X_53:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
X_54:=X_45;
X_55:=X_46+X_48+X_50+X_52;
X_56:=X_47+X_49+X_51+X_53;
B10:IF(X_54>0 OR X_55>0,LOW*0.99,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
S1:IF(X_56>0,HIGH*0.99,DRAWNULL),CROSSDOT,COLORGREEN,LINETHICK3;
X_57:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
X_58:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
X_59:=100-MA(100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)),34);
F:IF(CROSS(X_58,MA(X_59,5)),LOW*0.98,DRAWNULL),CROSSDOT,COLORMAGENTA,LINETHICK3;
DRAWTEXT(CROSS(S1,X_56),S1,'逃顶'),COLORWHITE;
DRAWTEXT(CROSS(B10,X_54),B10*1.005,'底'),COLORRED;
DRAWTEXT(CROSS(ZIG(2,3),REF(ZIG(2,3),'启')),LOW*0.997,29),COLORYELLOW,LINETHICK2;


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

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

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