您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:箱体捉妖专主图指标 通达信 源码 贴图

箱体捉妖专主图指标 通达信 源码 贴图


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:9.00 KB
更新时间:2019-12-21 09:38:00
公式简介:

箱体捉妖专主图指标 通达信 源码 贴图


DRAWGBK(ISLASTBAR,RGB(60,60,60),RGB(0,0,0),0,11,0);
X_1:=STRCAT(STRCAT(STRCAT(13,STKNAME),14),CODE);
DRAWTEXT_FIX(ISLASTBAR,0.8,0,0,X_1),COLORYELLOW;
更多精准指标:INDEXADV,NODRAW,COLORMAGENTA;
联系:INDEXADV,NODRAW,COLORYELLOW;
QQ2843556704:INDEXADV,NODRAW,COLORMAGENTA;
X_2:=2;
X_3:=30;
MA(HIGH,X_3)*(1+13/100)*1.0382,COLORYELLOW;
MA(HIGH,X_3)*(1+13/100),COLORYELLOW;
EMA(LOW,30)*(1-15/100),NODRAW,COLORGREEN;
EMA(LOW,30)*(1-15/100)*0.82,NODRAW,COLORGREEN;
GUAIXIANTAITOU:(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10,COLORWHITE,LINETHICK2;
X_4:=(HIGH+LOW+OPEN+CLOSE)/4;
X_5:=EMA(X_4,13)-EMA(X_4,34);
X_6:=EMA(X_5,5);
X_7:=(X_5-X_6)*5;
X_8:=IF(X_7>=1000,1000,IF(X_7<=X_4,X_4,X_7));
X_9:=FORCAST(FORCAST(X_8,32),10);
X_10:=(CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13)*(0-100);
X_11:=EMA(X_10/10+EMA(CLOSE,13),8);
X_12:=EMA(CLOSE,3);
X_13:=EMA(SLOPE(CLOSE,22)*20+CLOSE,45);
X_14:=IF(PERIOD>8 AND PERIOD<11,MA(X_13,1),IF(PERIOD=8,MA(X_13,4),IF(PERIOD=7,MA(X_13,8),IF(PERIOD=6,MA(X_13,16),IF(PERIOD=5,MA(X_13,32),0)))));
X_15:=X_14*0.865;
X_16:=IF(X_12>X_14,X_12,X_15);
买卖线:REVERSE(X_16)+2*X_9,COLORMAGENTA;
DRAWTEXT(ISLASTBAR,买卖线,15),COLORMAGENTA;
拐点:IF(EMA((1-CLOSE/SMA(CLOSE,5,1))*100*CLOSE/100+EMA(CLOSE,13),9)<GUAIXIANTAITOU AND GUAIXIANTAITOU>买卖线,EMA((1-CLOSE/SMA(CLOSE,5,1))*100*CLOSE/100+EMA(CLOSE,13),9),GUAIXIANTAITOU),COLORRED,LINETHICK2;
IF(GUAIXIANTAITOU<=买卖线,GUAIXIANTAITOU,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWTEXT(ISLASTBAR,拐点,16),COLORRED;
X_17:=CLOSE*VOL;
X_18:=EMA((EMA(X_17,3)/EMA(VOL,3)+EMA(X_17,6)/EMA(VOL,6)+EMA(X_17,12)/EMA(VOL,12)+EMA(X_17,24)/EMA(VOL,24))/4,13);
X_19:=1.06*X_18;
X_20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>8.5;
X_21:=EMA(HIGH,10)*(1+5/100);
捉妖:CROSS(GUAIXIANTAITOU,MA(HIGH,30)*(1+13/100))*10,NODRAW;
X_22:=(CLOSE-OPEN)/REF(CLOSE,1)*100;
X_23:=REF(HIGH,X_2)=HHV(HIGH,2*X_2+1);
X_24:=FILTER(X_23,X_2);
X_25:=BACKSET(X_24,X_2+1);
X_26:=FILTER(X_25,X_2);
X_27:=REF(LOW,X_2)=LLV(LOW,2*X_2+1);
X_28:=FILTER(X_27,X_2);
X_29:=BACKSET(X_28,X_2+1);
X_30:=FILTER(X_29,X_2);
X_31:=(REF(LLV(LOW,2*X_2),1)+REF(HHV(HIGH,2*X_2),1))/2;
X_32:=(HIGH+LOW)/2;
X_33:=X_26 AND NOT(X_30 AND X_31>=X_32) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X_34:=X_30 AND NOT(X_26 AND X_31<X_32);
X_35:=REF(BARSLAST(X_33),1)+1;
X_36:=BACKSET(X_33 AND COUNT(X_34,X_35)>0,LLVBARS(IF(X_34,LOW,10000),X_35));
X_37:=X_36>REF(X_36,1);
X_38:=BACKSET(X_37,2);
X_39:=X_38>REF(X_38,1);
X_40:=X_39 OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X_41:=REF(BARSLAST(X_40),1)+1;
X_42:=BACKSET(X_40 AND COUNT(X_26 AND NOT(X_30 AND X_31>=X_32),X_41)>0,HHVBARS(IF(X_26 AND NOT(X_30 AND X_31>=X_32),HIGH,0),X_41));
X_43:=X_42>REF(X_42,1);
X_44:=BACKSET(X_43,2);
X_45:=X_44>REF(X_44,1);
X_46:=BACKSET(ISLASTBAR,BARSLAST(X_45)+1);
X_47:=X_46>REF(X_46,1);
X_48:=BACKSET(X_47,REF(BARSLAST(X_45),1)+2);
X_49:=X_48>REF(X_48,1);
短期压力:DRAWLINE(X_49,HIGH,X_47,HIGH,1),NODRAW,COLORGREEN;
STICKLINE(GUAIXIANTAITOU>=买卖线,CLOSE,HIGH,0,0),COLORRED;
STICKLINE(GUAIXIANTAITOU>=买卖线 AND CLOSE>OPEN,CLOSE,OPEN,2.5,1),COLORRED;
STICKLINE(GUAIXIANTAITOU>=买卖线,LOW,OPEN,0,0),COLORRED;
STICKLINE(GUAIXIANTAITOU>=买卖线 AND CLOSE<=OPEN,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(GUAIXIANTAITOU>=买卖线 AND CLOSE<=OPEN,OPEN,CLOSE,1,0),COLORAAAA00;
STICKLINE(GUAIXIANTAITOU<买卖线 AND CLOSE<=OPEN,CLOSE,OPEN,1.5,0),COLORCYAN;
STICKLINE(GUAIXIANTAITOU<买卖线 AND CLOSE<=OPEN,OPEN,HIGH,0,0),COLORCYAN;
STICKLINE(GUAIXIANTAITOU<买卖线 AND CLOSE<=OPEN,LOW,CLOSE,0,0),COLORCYAN;
STICKLINE(GUAIXIANTAITOU<买卖线 AND CLOSE>=OPEN,LOW,OPEN,0,0),COLORCYAN;
STICKLINE(GUAIXIANTAITOU<买卖线 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),COLORCYAN;
STICKLINE(GUAIXIANTAITOU<买卖线 AND CLOSE>=OPEN,OPEN,CLOSE,2.5,1),COLORCYAN;
STICKLINE(X_20>0 AND CROSS(MA(CLOSE,1),X_21) AND CROSS(MA(CLOSE,1),X_19),(LOW+HIGH+OPEN)/3,OPEN,3,0),COLORRED;
STICKLINE(X_20>0 AND CROSS(MA(CLOSE,1),X_21) AND CROSS(MA(CLOSE,1),X_19),(HIGH+OPEN)/2,CLOSE,3,0),COLORYELLOW;
STICKLINE(X_20>0 AND CROSS(MA(CLOSE,1),X_21) AND CROSS(MA(CLOSE,1),X_19),(HIGH+OPEN)/2,(LOW+HIGH+OPEN)/3,3,0),COLORBLUE;
STICKLINE(CROSS(GUAIXIANTAITOU,MA(HIGH,30)*(1+13/100)),MA(HIGH,30)*(1+13/100),MA(HIGH,30)*(1+13/100)*1.0052,8,0),COLORYELLOW;
STICKLINE(CLOSE>=REF(CLOSE,1)*1.095 AND CLOSE=OPEN AND LOW<CLOSE,CLOSE,OPEN,5,0),COLORWHITE;
STICKLINE(CLOSE>=REF(CLOSE,1)*1.095 AND CLOSE=OPEN AND LOW<CLOSE,CLOSE,LOW,0,0),COLORWHITE;
STICKLINE(X_22>7.5 AND REF(X_22,1)<(-5) AND CLOSE>REF(OPEN,1),HIGH,LOW,0,0),COLORFF0099;
STICKLINE(X_22>7.5 AND REF(X_22,1)<(-5) AND CLOSE>REF(OPEN,1),CLOSE,OPEN,3,0),COLORFF0099;
DRAWTEXT(CROSS(GUAIXIANTAITOU,买卖线),LOW*0.98,17),COLORYELLOW,LINETHICK3;
DRAWTEXT(CROSS(买卖线,GUAIXIANTAITOU),HIGH*1.02,18),COLORGREEN,LINETHICK3;
DRAWTEXT(FILTER(CROSS(GUAIXIANTAITOU,EMA((1-CLOSE/SMA(CLOSE,5,1))*100*CLOSE/100+EMA(CLOSE,13),9)),10),GUAIXIANTAITOU,19),COLORYELLOW;
DRAWTEXT(X_20>0 AND CROSS(MA(CLOSE,1),X_21) AND CROSS(MA(CLOSE,1),X_19),(HIGH+OPEN)/2,20),COLORYELLOW;
DRAWTEXT(FILTER(CROSS(GUAIXIANTAITOU,MA(HIGH,30)*(1+13/100)),5),MA(HIGH,30)*(1+13/100)*0.88,21),COLORYELLOW;
X_50:=IF(YEAR>=2019 AND MONTH>3,0,1);
X_51:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4+1.88*STD((MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,9)*X_50;
急拉涨停线:MA(X_51,12)*1.06*X_50,COLORCYAN,LINETHICK2;
X_52:=EMA(HIGH,10)*(1+5/100);
X_53:=CLOSE*VOL;
X_54:=EMA((EMA(X_53,3)/EMA(VOL,3)+EMA(X_53,6)/EMA(VOL,6)+EMA(X_53,12)/EMA(VOL,12)+EMA(X_53,24)/EMA(VOL,24))/4,13);
X_55:=1.06*X_54;
X_56:=LOW/((HIGH+REF(CLOSE,1)+OPEN)/3)*CLOSE;
DRAWTEXT(CROSS(X_56,X_55) AND CLOSE>X_52 AND CLOSE>急拉涨停线,LOW,22),COLORYELLOW;
X_57:=5;
X_58:=3;
X_59:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
X_60:=IF(YEAR>=2025,0,1);
X_61:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
X_62:=EMA(CLOSE/X_61*(1.88*CLOSE+LOW+OPEN)/2.75,3);
X_63:=(X_62-X_61)/X_61/2;
X_64:=EMA(X_62-X_63*X_62,5)*X_60;
黄金轨道:IF(X_59>X_64,X_59,X_64)*X_60,NODRAW,COLORRED;
上轨:IF(X_64<X_59 AND X_64<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),X_64),NODRAW,COLORYELLOW;
IF(X_64>X_59,上轨,DRAWNULL),NODRAW,COLORCYAN;
X_65:=SMA(MAX(CLOSE-REF(CLOSE,1),0),24,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),24,1)*100*X_60;
X_66:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
X_67:=(EMA(CLOSE,60)+EMA(CLOSE,120)+EMA(CLOSE,240)+EMA(CLOSE,480))/4;
X_68:=X_67+1.91*STD(X_67,3);
X_69:=EMA(X_68,12)*1.23;
STICKLINE(X_65>65 AND X_66>=65 AND MA(CLOSE,1)>X_69,HIGH,LOW,0,0),COLORRED;
STICKLINE(X_65>=64.5 AND X_66>=65 AND MA(CLOSE,1)>X_69,CLOSE,OPEN,3,0),COLORRED;
X_70:=(LOW+HIGH)/2;
X_71:=EMA((CLOSE+LOW+HIGH)/3,1);
STICKLINE(X_65>=64.5 AND X_66>=65 AND MA(CLOSE,1)>X_69 AND MA(CLOSE,1)>MA(HIGH,30)*(1+15/100),OPEN,(X_70+LOW)/2,3,0),COLORYELLOW;
STICKLINE(CLOSE>MA(HIGH,30)*(1+18/100) AND CLOSE>X_64 AND X_65>64.5,X_71,X_70,3,0),COLORWHITE;
X_72:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);
X_73:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,88))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,88));
X_74:=1.07*DMA(CLOSE,ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,26))/MA(CLOSE,26));
X_75:=MA(ATAN(X_74-REF(X_74,1)),3);
X_76:=IF(CLOSE>OPEN OR CLOSE<OPEN AND HIGH>=REF(CLOSE,1),ATAN(MA(HIGH,5)*1.02-REF(MA(CLOSE,5)*1.02,1)),0);
X_77:=IF(CLOSE>OPEN OR CLOSE<OPEN AND HIGH<REF(CLOSE,1),-ATAN(REF(MA(CLOSE,5)*1.02,1)-MA(HIGH,5)*1.02),0);
X_78:=MA(REF(X_76+X_77,1),26);
X_79:=X_75>X_78 AND X_75>REF(X_75,1);
X_80:=X_79 AND X_73>200 AND X_72>20 AND CLOSE>REF(CLOSE,1);
DRAWTEXT(X_80,LOW*0.95,23),COLORYELLOW,LINETHICK2;
X_81:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
X_82:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_81);
走强线:EMA(X_82,200)*1.118,COLORRED;
DRAWTEXT(ISLASTBAR,走强线,24),COLORRED;
X_83:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3);
轴线:REF(X_83,1),COLORWHITE;


[url=http://www.goodgupiao.com/gupiaogongshi/56950.html][B]箱体捉妖专主图指标 通达信 源码 贴图[/B][/url]