通达信阴阳脸主图指标公式

2019-05-07    作者:股匠网整理    来源:本站整理

X_1:=FROMOPEN<240;
X_2:=X_1<=0;
X_3:=1;
X_4:=1281210;
X_5:=IF(DATE>X_4X_2X_3);
X_6:=IF(DATE>X_401);
X_7:=IF(DATE>X_410);
CLOSE;
DRAWGBK(OPEN>CLOSERGB(18892)RGB(12228)070);
X_8:=1 AND X_6;
X_9:=(XMA(XMA(HIGH25)25)-XMA(XMA(LOW25)25))*1+XMA(XMA(HIGH25)25);
X_10:=XMA(XMA(LOW25)25)-(XMA(XMA(HIGH25)25)-XMA(XMA(LOW25)25))*1;
X_11:=X_8*(XMA(XMA(HIGH60)60)-XMA(XMA(LOW60)60))*2.2+XMA(XMA(HIGH60)60);
X_12:=X_8*XMA(XMA(LOW60)60)-(XMA(XMA(HIGH60)60)-XMA(XMA(LOW60)60))*2.8;
X_13:=X_8*(X_9+X_11)/2;
X_14:=X_8*(X_10+X_12)/2;
DRAWBAND(X_13RGB(01000)X_11RGB(01000));
DRAWBAND(X_14RGB(1500150)X_12RGB(1500150));
收盘价:CLOSENODRAWCOLORWHITE;
涨跌幅:(CLOSE-REF(CLOSE1))/REF(CLOSE1)*100NODRAWCOLORYELLOW;
最新价:IF(CLOSECONST(CLOSE)DRAWNULL)DOTLINECOLORRED;
DRAWKLINE(HIGHOPENLOWCLOSE);
NOTEXT_DYN:DYNAINFO(7)DOTLINECOLORYELLOW;
DRAWNUMBER(ISLASTBAR=1DYNAINFO(7)DYNAINFO(7))COLORWHITELINETHICK9;
X_15:=(HIGH+LOW)/2;
X_16:=X_15;
X_17:=XMA(X_153);
X_18:=XMA(X_155);
X_19:=XMA(X_1510);
X_20:=XMA(X_1515);
X_21:=XMA(X_1520);
X_22:=XMA(X_1525);
X_23:=XMA(X_1530);
X_24:=XMA(X_1535);
X_25:=XMA(X_1540);
X_26:=XMA(X_1545);
X_27:=XMA(X_1550);
X_28:=XMA(X_1555);
X_29:=XMA(X_1560);
X_30:=(X_17+X_18+X_19+X_20+X_21+X_22+X_23+X_24+X_25+X_26+X_27+X_28+X_29)/13;
X_31:=(X_16+X_17+X_18)/3;
X_32:=PLOYLINE(2>1X_30);
X_33:=X_16>X_17 AND X_16>X_18 AND X_16>X_19 AND X_16>X_20 AND X_16>X_21 AND X_16>X_22 AND X_16>X_23 AND X_16>X_24 AND X_16>X_25 AND X_16>X_26 AND X_16>X_27 AND X_16>X_28 AND X_16>X_29 AND X_17>X_18 AND X_17>X_19 AND X_17>X_20 AND X_17>X_21 AND X_17>X_22 AND X_17>X_23;
X_34:=X_17>X_24 AND X_17>X_25 AND X_17>X_26 AND X_17>X_27 AND X_17>X_28 AND X_17>X_29 AND X_18>X_19 AND X_18>X_20 AND X_18>X_21 AND X_18>X_22 AND X_18>X_23 AND X_18>X_24 AND X_18>X_25 AND X_18>X_26 AND X_18>X_27 AND X_18>X_28 AND X_18>X_29 AND X_19>X_20 AND X_19>X_21 AND X_19>X_22 AND X_19>X_23 AND X_19>X_24 AND X_19>X_25 AND X_19>X_26 AND X_19>X_27 AND X_19>X_28 AND X_19>X_29;
X_35:=X_20>X_21 AND X_20>X_22 AND X_20>X_23 AND X_20>X_24 AND X_20>X_25 AND X_20>X_26 AND X_20>X_27 AND X_20>X_28 AND X_20>X_29 AND X_21>X_22 AND X_21>X_23 AND X_21>X_24 AND X_21>X_25 AND X_21>X_26 AND X_21>X_27 AND X_21>X_28 AND X_21>X_29 AND X_22>X_23 AND X_22>X_24 AND X_22>X_25 AND X_22>X_26 AND X_22>X_27 AND X_22>X_28 AND X_22>X_29 AND X_23>X_24 AND X_23>X_25;
X_36:=X_23>X_26 AND X_23>X_27 AND X_23>X_28 AND X_23>X_29 AND X_24>X_25 AND X_24>X_26 AND X_24>X_27 AND X_24>X_28 AND X_24>X_29 AND X_25>X_26 AND X_25>X_27 AND X_25>X_28 AND X_25>X_29 AND X_26>X_27 AND X_26>X_28 AND X_26>X_29 AND X_27>X_28 AND X_27>X_29 AND X_28>X_29;
X_37:=X_33 AND X_34 AND X_35 AND X_36;
X_38:=X_16<X_17 AND X_16<X_18 AND X_16<X_19 AND X_16<X_20 AND X_16<X_21 AND X_16<X_22 AND X_16<X_23 AND X_16<X_24 AND X_16<X_25 AND X_16<X_26 AND X_16<X_27 AND X_16<X_28 AND X_16<X_29 AND X_17<X_18 AND X_17<X_19 AND X_17<X_20 AND X_17<X_21 AND X_17<X_22 AND X_17<X_23;
X_39:=X_17<X_24 AND X_17<X_25 AND X_17<X_26 AND X_17<X_27 AND X_17<X_28 AND X_17<X_29 AND X_18<X_19 AND X_18<X_20 AND X_18<X_21 AND X_18<X_22 AND X_18<X_23 AND X_18<X_24 AND X_18<X_25 AND X_18<X_26 AND X_18<X_27 AND X_18<X_28 AND X_18<X_29 AND X_19<X_20 AND X_19<X_21;
X_40:=X_19<X_22 AND X_19<X_23 AND X_19<X_24 AND X_19<X_25 AND X_19<X_26 AND X_19<X_27 AND X_19<X_28 AND X_19<X_29 AND X_20<X_21 AND X_20<X_22 AND X_20<X_23 AND X_20<X_24 AND X_20<X_25 AND X_20<X_26 AND X_20<X_27 AND X_20<X_28 AND X_20<X_29 AND X_21<X_22;
X_41:=X_21<X_23 AND X_21<X_24 AND X_21<X_25 AND X_21<X_26 AND X_21<X_27 AND X_21<X_28 AND X_21<X_29 AND X_22<X_23 AND X_22<X_24 AND X_22<X_25 AND X_22<X_26 AND X_22<X_27 AND X_22<X_28 AND X_22<X_29 AND X_23<X_24 AND X_23<X_25 AND X_23<X_26 AND X_23<X_27;
X_42:=X_23<X_28 AND X_23<X_29 AND X_24<X_25 AND X_24<X_26 AND X_24<X_27 AND X_24<X_28 AND X_24<X_29 AND X_25<X_26 AND X_25<X_27 AND X_25<X_28 AND X_25<X_29 AND X_26<X_27 AND X_26<X_28 AND X_26<X_29 AND X_27<X_28 AND X_27<X_29 AND X_28<X_29;
X_43:=X_38 AND X_39 AND X_40 AND X_41 AND X_42;
X_44:=(CLOSE-LLV(LOW36))/(HHV(HIGH36)-LLV(LOW36))*100;
X_45:=SMA(X_1431);
X_46:=SMA(X_4531);
X_47:=SMA(X_4631);
X_48:=X_46;
X_49:=X_47;
X_50:=X_46<20;
X_51:=X_46>80;
X_52:=X_50 OR X_51;
STICKLINE(X_37 AND CLOSE>=OPEN AND CLOSE<X_13*1.1 AND X_52HIGHLOW0.60)COLORRED;
STICKLINE(X_37 AND CLOSE>=OPEN AND CLOSE<X_13*1.1 AND X_52CLOSEOPEN30)COLORRED;
STICKLINE(X_43 AND CLOSE>=OPEN AND CLOSE<X_13*1.1 AND X_52HIGHLOW0.60)COLORRED;
STICKLINE(X_43 AND CLOSE>=OPEN AND CLOSE<X_13*1.1 AND X_52CLOSEOPEN30)COLORRED;
STICKLINE(X_37 AND CLOSE<OPEN AND CLOSE<X_14*1.1 AND X_52HIGHLOW0.60)COLORGREEN;
STICKLINE(X_37 AND CLOSE<OPEN AND CLOSE<X_14*1.1 AND X_52CLOSEOPEN30)COLORGREEN;
STICKLINE(X_43 AND CLOSE<OPEN AND CLOSE<X_14*1.1 AND X_52HIGHLOW0.60)COLORGREEN;
STICKLINE(X_43 AND CLOSE<OPEN AND CLOSE<X_14*1.1 AND X_52CLOSEOPEN30)COLORGREEN;
X_53:=(HIGH+XMA(HIGH3)+XMA(HIGH5)+XMA(HIGH10)+XMA(HIGH15)+XMA(HIGH20)+XMA(HIGH25)+XMA(HIGH30)+XMA(HIGH35)+XMA(HIGH40)+XMA(HIGH45)+XMA(HIGH50)+XMA(HIGH55)+XMA(HIGH60))/14;
X_54:=(LOW+XMA(LOW3)+XMA(LOW5)+XMA(LOW10)+XMA(LOW15)+XMA(LOW20)+XMA(LOW25)+XMA(LOW30)+XMA(LOW35)+XMA(LOW40)+XMA(LOW45)+XMA(LOW50)+XMA(LOW55)+XMA(LOW60))/14;
X_55:=X_20>X_21 AND X_20>X_22 AND X_20>X_23 AND X_20>X_24 AND X_20>X_25 AND X_20>X_26 AND X_20>X_27 AND X_20>X_28 AND X_20>X_29 AND X_21>X_22 AND X_21>X_23 AND X_21>X_24 AND X_21>X_25 AND X_21>X_26 AND X_21>X_27 AND X_21>X_28 AND X_21>X_29 AND X_22>X_23 AND X_22>X_24 AND X_22>X_25 AND X_22>X_26 AND X_22>X_27 AND X_22>X_28 AND X_22>X_29 AND X_23>X_24 AND X_23>X_25 AND X_23>X_26 AND X_23>X_27 AND X_23>X_28 AND X_23>X_29 AND X_24>X_25 AND X_24>X_26 AND X_24>X_27 AND X_24>X_28 AND X_24>X_29 AND X_25>X_26 AND X_25>X_27 AND X_25>X_28 AND X_25>X_29 AND X_26>X_27 AND X_26>X_28 AND X_26>X_29 AND X_27>X_28 AND X_27>X_29 AND X_28>X_29;
X_56:=X_20<X_21 AND X_20<X_22 AND X_20<X_23 AND X_20<X_24 AND X_20<X_25 AND X_20<X_26 AND X_20<X_27 AND X_20<X_28 AND X_20<X_29 AND X_21<X_22 AND X_21<X_23 AND X_21<X_24 AND X_21<X_25 AND X_21<X_26 AND X_21<X_27 AND X_21<X_28 AND X_21<X_29 AND X_22<X_23 AND X_22<X_24 AND X_22<X_25 AND X_22<X_26 AND X_22<X_27 AND X_22<X_28 AND X_22<X_29 AND X_23<X_24 AND X_23<X_25 AND X_23<X_26 AND X_23<X_27 AND X_23<X_28 AND X_23<X_29 AND X_24<X_25 AND X_24<X_26 AND X_24<X_27 AND X_24<X_28 AND X_24<X_29 AND X_25<X_26 AND X_25<X_27 AND X_25<X_28 AND X_25<X_29 AND X_26<X_27 AND X_26<X_28 AND X_26<X_29 AND X_27<X_28 AND X_27<X_29 AND X_28<X_29;
X_57:=XMA(X_53/X_54*X_30+(X_53/X_54*X_30-X_30)10);
X_58:=XMA(X_54/X_53*X_30-(X_30-X_54/X_53*X_30)10);
X_59:=IF(REF(X_301)<X_30 AND NOT(X_55)X_57DRAWNULL);
X_60:=IF(REF(X_301)>X_30 AND NOT(X_56)X_58DRAWNULL);
X_61:=XMA(X_53/X_54*X_30+(X_53/X_54*X_30-X_30)/210);
X_62:=XMA(X_54/X_53*X_30-0.5*(X_30-X_54/X_53*X_30)10);
X_63:=IF(REF(X_301)>X_30X_61DRAWNULL);
X_64:=IF(REF(X_301)<X_30X_62DRAWNULL);
X_65:=X_53/X_54*X_30+(X_53/X_54*X_30-X_30)*1.5;
X_66:=X_54/X_53*X_30-1.5*(X_30-X_54/X_53*X_30);
X_67:=PLOYLINE(2>1X_65);
X_68:=PLOYLINE(2>1X_66);
X_69:=IF(REF(X_301)<X_30 AND X_55X_65DRAWNULL);
X_70:=IF(REF(X_301)>X_30 AND X_56X_66DRAWNULL);
X_71:=IF(X_37X_65DRAWNULL);
X_72:=IF(X_43X_66DRAWNULL);
交时1:=FROMOPEN<240;
交时2:=交时1<=0;
交时3:=1;
DAYN1:=1281210;
定时1:=IF(DATE>DAYN1交时2交时3);
定时2:=IF(DATE>DAYN101);
定时3:=IF(DATE>DAYN110);
所属板块:=STRCAT('【所属板块】'STRCAT(STRCAT(STRCAT('【行业】'HYBLOCK)STRCAT('【地域】'DYBLOCK))STRCAT('【概念】'GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR000所属板块)COLORYELLOW;
DRAWTEXT_FIX(1 AND 定时30.300.750'如果看到这些文字,说明【印钞机3代】指标公式试用已到期,如果认为对你炒股,炒原油,炒外汇黄金')COLORYELLOW;
DRAWTEXT_FIX(1 AND 定时30.300.810'等期货有用,请加设计编写QQ:2679426676或者到股票公式指标群重新下载,(**号:303313976)')COLORYELLOW;
DRAWTEXT_FIX(1 AND 定时30.300.870'【印钞机3代】必须与副图的【印钞机副图3】MACD背离指标同步使用,则神效更准,高胜算率。')COLORYELLOW;
鬼头鬼脸鬼脚:IF(定时30DRAWNULL)COLORBLUE;
{以下为第二组:鬼吹灯阴阳鬼脸-鬼头鬼脸鬼脚-鬼吹灯自编}
{鬼脸 选股 预警 确保向下笔成立后的阳鬼脸}
V00:= HIGH<REF(HIGH1) AND LOW<REF(LOW1);
V01:= HIGH<REF(HIGH1) AND LOW>REF(LOW1);
V02:= HIGH>REF(HIGH1) AND LOW<REF(LOW1);
V03:= HIGH>REF(HIGH1) AND LOW>REF(LOW1);
V04:= REF(HIGH2) < HIGH AND REF(LOW2) < LOW
AND REF(HIGH2) > REF(HIGH1) AND REF(LOW2) < REF(LOW1);
V1:= COUNT(V006)>=3 AND COUNT(V01 OR V025)=0 AND LLVBARS(LOW6) = 1 AND HHVBARS(HIGH6) >= 5 AND V03;
V2:= COUNT(V007)>=3 AND COUNT(V01 OR V026)=1 AND LLVBARS(LOW7) = 2 AND HHVBARS(HIGH7) >= 6 AND V04;
V3:= COUNT(V007)>=3 AND COUNT(V01 OR V026)=1 AND LLVBARS(LOW7) = 1 AND HHVBARS(HIGH7) >= 6 AND V03;
V4:= COUNT(V008)>=3 AND COUNT(V01 OR V027)<=2 AND LLVBARS(LOW8) = 2 AND HHVBARS(HIGH8) >= 7 AND V04;
V5:= COUNT(V008)>=3 AND COUNT(V01 OR V027)<=2 AND LLVBARS(LOW8) = 1 AND HHVBARS(HIGH8) >= 7 AND V03;
V6:= COUNT(V009)>=3 AND COUNT(V01 OR V028)<=3 AND LLVBARS(LOW9) = 2 AND HHVBARS(HIGH9) >= 8 AND V04;
V7:= COUNT(V009)>=3 AND COUNT(V01 OR V028)<=3 AND LLVBARS(LOW9) = 1 AND HHVBARS(HIGH9) >= 8 AND V03;
V8:= COUNT(V0010)>=3 AND COUNT(V01 OR V029)<=4 AND LLVBARS(LOW10) = 2 AND HHVBARS(HIGH10) >= 9 AND V04;
V9:= COUNT(V0010)>=3 AND COUNT(V01 OR V029)<=4 AND LLVBARS(LOW10) = 1 AND HHVBARS(HIGH10) >= 9 AND V03;
V10:= COUNT(V0011)>=3 AND COUNT(V01 OR V0210)<=5 AND LLVBARS(LOW11) = 2 AND HHVBARS(HIGH11) >= 10 AND V04;
XG:= V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10;
DRAWTEXT(FILTER(XG=15)LOW'阳鬼脸')COLORYELLOW;
{鬼脸 选股 预警 确保向上笔成立后的阴鬼脸}
HV00:= HIGH>REF(HIGH1) AND LOW>REF(LOW1);
HV01:= HIGH<REF(HIGH1) AND LOW>REF(LOW1);
HV02:= HIGH>REF(HIGH1) AND LOW<REF(LOW1);
HV03:= HIGH<REF(HIGH1) AND LOW<REF(LOW1);
HV04:= REF(HIGH2) > HIGH AND REF(LOW2) > LOW AND REF(HIGH2) > REF(HIGH1) AND REF(LOW2) < REF(LOW1);
HV1:= COUNT(HV006)>=3 AND COUNT(HV01 OR HV025)=0 AND HHVBARS(HIGH6) = 1 AND LLVBARS(LOW6) >= 5 AND HV03;
HV2:= COUNT(HV007)>=3 AND COUNT(HV01 OR HV026)=1 AND HHVBARS(HIGH7) = 2 AND LLVBARS(LOW7) >= 6 AND HV04;
HV3:= COUNT(HV007)>=3 AND COUNT(HV01 OR HV026)=1 AND HHVBARS(HIGH7) = 1 AND LLVBARS(LOW7) >= 6 AND HV03;
HV4:= COUNT(HV008)>=3 AND COUNT(HV01 OR HV027)<=2 AND HHVBARS(HIGH8) = 2 AND LLVBARS(LOW8) >= 7 AND HV04;
HV5:= COUNT(HV008)>=3 AND COUNT(HV01 OR HV027)<=2 AND HHVBARS(HIGH8) = 1 AND LLVBARS(LOW8) >= 7 AND HV03;
HV6:= COUNT(HV009)>=3 AND COUNT(HV01 OR HV028)<=3 AND HHVBARS(HIGH9) = 2 AND LLVBARS(LOW9) >= 8 AND HV04;
HV7:= COUNT(HV009)>=3 AND COUNT(HV01 OR HV028)<=3 AND HHVBARS(HIGH9) = 1 AND LLVBARS(LOW9) >= 8 AND HV03;
HV8:= COUNT(HV0010)>=3 AND COUNT(HV01 OR HV029)<=4 AND HHVBARS(HIGH10) = 2 AND LLVBARS(LOW10) >= 9 AND HV04;
HV9:= COUNT(HV0010)>=3 AND COUNT(HV01 OR HV029)<=4 AND HHVBARS(HIGH10) = 1 AND LLVBARS(LOW10) >= 9 AND HV03;
HV10:= COUNT(HV0011)>=3 AND COUNT(HV01 OR HV0210)<=5 AND HHVBARS(HIGH11) = 2 AND LLVBARS(LOW11) >= 10 AND HV04;
HXG:=HV1 OR HV2 OR HV3 OR HV4 OR HV5 OR HV6 OR HV7 OR HV8 OR HV9 OR HV10;
DRAWTEXT(FILTER(HXG=13)HHV(HIGH3)'阴鬼脸')COLORGREEN;

阅读:365    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】