程序化指标公式
问答中心

通达信主力资金线副图指标公式

通达信指标 2019-09-06阅读量:17757

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击  安装指南  步骤操作

X_1:=100-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
X_2:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
X_3:=MA(X_2,13);
STICKLINE(CROSS(X_1,50),50,60,3,0),COLORGRAY;
DRAWBAND(X_1,255,60,0);
资金:X_1-X_3,COLORYELLOW,NODRAW;
X_4:=ATAN((资金/REF(资金,1)-1)*100)*180/3.1416;
STICKLINE(CROSS(资金,0),0,30,3,0),COLORLIRED;
{更多指标关注微信公众号:程序化指标}
X_5:=531;
X_6:=1510000;
X_7:=X_5+X_6;
X_8:=IF(DATE>X_7,0,1);
X_9:=REF(CLOSE,1);
X_10:=EMA(HHV(HIGH,1),8);
X_11:=EMA(CLOSE,8);
X_12:=X_11<REF(X_11,1) AND CLOSE<X_11;
X_13:=IF(X_10<REF(X_10,1) OR X_12,1,0);
X_14:=SMA(MAX(CLOSE-X_9,0),2,1)/SMA(ABS(CLOSE-X_9),2,1)*100;
X_15:=45;
X_16:=20;
X_17:=X_14<X_15 AND REF(X_14,1)>X_15;
X_18:=X_14<X_16 AND REF(X_14,1)>X_16*X_8;

X_19:=240/FROMOPEN;
X_20:=X_19;
X_21:=(HIGH-LOW)*1000000/(VOL*X_20);
X_22:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_23:=EMA(X_22,9);
X_24:=X_22-X_23;
X_25:=IF(X_24,LLV(LOW,21),DRAWNULL);
X_26:=HHV(HIGH,80)*0.99;
X_27:=CONST(X_26);
X_28:=LLV(X_25,80);
X_29:=CONST(X_28);
X_30:=MA(CLOSE,20);
X_31:=CLOSE>MA(CLOSE,5);
X_32:=MA(CLOSE,5)>MA(CLOSE,10);
X_33:=CLOSE>MA(CLOSE,10);
X_34:=MA(CLOSE,5)>MA(CLOSE,20);
X_35:=CLOSE>MA(CLOSE,20);
X_36:=REF(X_30,1);
X_37:=X_30>X_36;
X_38:=IF(X_31,10,0-10)+IF(X_32,10,0-10)+IF(X_33,10,0-10)+IF(X_34,10,0-10)+IF(X_35,10,0-10)+IF(X_37,10,0-10);
X_39:=CLOSE/INDEXC;
X_40:=MA(X_39,5);
X_41:=MA(X_39,10);
X_42:=MA(VOL,5);
X_43:=MA(VOL,10);
X_44:=CONST(IF(X_38>0,200,100));
X_45:=CONST(IF(X_38>0,0,100));
X_46:=CONST(IF(X_38>0,100,100));
X_47:=X_27;
X_48:=X_29;
X_49:=X_27;
X_50:=CONST(IF(CROSS(X_38,1) AND X_42>=X_43 AND X_39>=X_40,1,0));
X_51:=CONST(IF(CROSS(X_38,1) AND X_42<X_43 AND X_39>=X_40,1,0));
X_52:=CONST(IF(CROSS(X_38,1) AND X_42>X_43 AND X_39<X_40,1,0));
X_53:=CONST(IF(CROSS(X_38,1) AND X_42<=X_43 AND X_39<X_40,1,0));
X_54:=CONST(IF(CROSS(1,X_38) AND X_42>=X_43 AND X_39>=X_40,1,0));
X_55:=CONST(IF(CROSS(1,X_38) AND X_42<X_43 AND X_39>=X_40,1,0));
X_56:=CONST(IF(CROSS(1,X_38) AND X_42>=X_43 AND X_39<X_40,1,0));
X_57:=CONST(IF(CROSS(1,X_38) AND X_42<X_43 AND X_39<X_40,1,0));
X_58:=CONST(IF(X_38>=1 AND REF(X_38,1)>0 AND X_42>=X_43 AND X_39>=X_40,1,0));
X_59:=CONST(IF(X_38>=1 AND REF(X_38,1)>0 AND X_42<X_43 AND X_39>=X_40,1,0));
X_60:=CONST(IF(X_38>=1 AND REF(X_38,1)>0 AND X_42>=X_43 AND X_39<X_40,1,0));
X_61:=CONST(IF(X_38>=1 AND REF(X_38,1)>0 AND X_42<X_43 AND X_39<X_40,1,0));
X_62:=CONST(IF(X_38<1 AND REF(X_38,1)<0 AND X_42>=X_43 AND X_39>=X_40,1,0));
X_63:=CONST(IF(X_38<1 AND REF(X_38,1)<0 AND X_42<X_43 AND X_39>=X_40,1,0));
X_64:=CONST(IF(X_38<1 AND REF(X_38,1)<0 AND X_42>=X_43 AND X_39<X_40,1,0));
X_65:=CONST(IF(X_38<1 AND REF(X_38,1)<0 AND X_42<X_43 AND X_39<X_40,1,0));
X_66:=CONST(IF(CROSS(X_38,1) AND X_42>=X_43,1,0));
X_67:=CONST(IF(CROSS(X_38,1) AND X_42<X_43,1,0));
X_68:=CONST(IF(CROSS(1,X_38) AND X_42>=X_43,1,0));
X_69:=CONST(IF(CROSS(1,X_38) AND X_42<X_43,1,0));
X_70:=CONST(IF(X_38>=1 AND REF(X_38,1)>0 AND X_42>=X_43,1,0));
X_71:=CONST(IF(X_38>=1 AND REF(X_38,1)>0 AND X_42<X_43,1,0));
X_72:=CONST(IF(X_38<1 AND REF(X_38,1)<0 AND X_42>=X_43,1,0));
X_73:=CONST(IF(X_38<1 AND REF(X_38,1)<0 AND X_42<X_43,1,0));
X_74:=(HIGH-LOW)*1000000/(VOL*X_20);
X_75:=IF(X_50=1,0.7+0.06,0.7);
X_76:=IF(X_51=1,X_75+0.06,X_75);
X_77:=IF(X_52=1,X_76+0.06,X_76);
X_78:=IF(X_53=1,X_77+0.06,X_77);
X_79:=IF(X_54=1,X_78+0.06,X_78);
X_80:=IF(X_55=1,X_79+0.06,X_79);
X_81:=IF(X_56=1,X_80+0.06,X_80);
X_82:=IF(X_57=1,X_81+0.06,X_81);
X_83:=IF(X_58=1,X_82+0.06,X_82);
X_84:=IF(X_59=1,X_83+0.06,X_83);
X_85:=IF(X_60=1,X_84+0.06,X_84);
X_86:=IF(X_61=1,X_85+0.06,X_85);
X_87:=IF(X_62=1,X_86+0.06,X_86);
X_88:=IF(X_63=1,X_87+0.06,X_87);
X_89:=IF(X_64=1,X_88+0.06,X_88);
X_90:=IF(X_65=1,X_89+0.06,X_89);
X_91:=IF(X_66=1,X_90+0.06,X_90);
X_92:=IF(X_67=1,X_91+0.06,X_91);
X_93:=IF(X_68=1,X_92+0.06,X_92);
X_94:=IF(X_69=1,X_93+0.06,X_93);
X_95:=IF(X_70=1,X_94+0.06,X_94);
X_96:=IF(X_71=1,X_95+0.06,X_95);
X_97:=IF(X_72=1,X_96+0.06,X_96);
X_98:=IF(X_73=1,X_97+0.06,X_97);
DRAWTEXT_FIX(X_50=1,0,0.8,0,366),COLORCYAN;
DRAWTEXT_FIX(X_51=1,0,0.8,0,919),COLORCYAN;
DRAWTEXT_FIX(X_52=1,0,0.8,0,1034),COLORCYAN;
DRAWTEXT_FIX(X_53=1,0,0.8,0,921),COLORCYAN;
DRAWTEXT_FIX(X_54=1,0,0.8,0,922),COLORCYAN;
DRAWTEXT_FIX(X_55=1,0,0.8,0,923),COLORCYAN;
DRAWTEXT_FIX(X_56=1,0,0.8,0,924),COLORCYAN;
DRAWTEXT_FIX(X_57=1,0,0.8,0,373),COLORCYAN;
DRAWTEXT_FIX(X_58=1,0,0.8,0,925),COLORCYAN;
DRAWTEXT_FIX(X_59=1,0,0.8,0,926),COLORCYAN;
DRAWTEXT_FIX(X_60=1,0,0.8,0,927),COLORCYAN;
DRAWTEXT_FIX(X_61=1,0,0.8,0,377),COLORCYAN;
DRAWTEXT_FIX(X_62=1,0,0.8,0,928),COLORCYAN;
DRAWTEXT_FIX(X_63=1,0,0.8,0,929),COLORCYAN;
DRAWTEXT_FIX(X_64=1,0,0.8,0,380),COLORCYAN;
DRAWTEXT_FIX(X_65=1,0,0.8,0,381),COLORCYAN;
DRAWTEXT_FIX(X_66,0,0.88,0,930),COLORCYAN;
DRAWTEXT_FIX(X_67,0,0.88,0,931),COLORCYAN;
DRAWTEXT_FIX(X_68,0,0.88,0,932),COLORCYAN;
DRAWTEXT_FIX(X_69,0,0.88,0,933),COLORCYAN;
DRAWTEXT_FIX(X_70,0,0.88,0,1035),COLORCYAN;
DRAWTEXT_FIX(X_71,0,0.88,0,935),COLORCYAN;
DRAWTEXT_FIX(X_72,0,0.88,0,936),COLORCYAN;
DRAWTEXT_FIX(X_73,0,0.88,0,937),COLORCYAN;
X_99:=(CLOSE*2+HIGH+LOW)/4;
X_100:=EMA(X_99,13)-EMA(X_99,34);
X_101:=EMA(X_100,5);
X_102:=(-2)*(X_100-X_101)*3.8;
X_103:=2*(X_100-X_101)*3.8;
STICKLINE(X_103>0,0,X_103*10,3,0),COLORRED;
STICKLINE(X_103<0,0,X_103*10,3,0),COLORGREEN;
散户资金线:X_102,COLORGREEN,LINETHICK2;
X_104:=ATAN((散户资金线/REF(散户资金线,1)-1)*100)*180/3.1416;
主力资金线:X_103,COLORYELLOW,LINETHICK2;
X_105:=ATAN((主力资金线/REF(主力资金线,1)-1)*100)*180/3.1416;
弱势区:20,COLORGREEN,LINETHICK2;
强弱分水岭:50,COLORWHITE,LINETHICK2;
强势区:80,COLORRED,LINETHICK2;
风险区:95,COLORLICYAN,LINETHICK2;
X_106:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
X_107:=(1-7/100)*DMA(CLOSE,X_106);
X_108:=(1+7/100)*DMA(CLOSE,X_106);
X_109:=MA((LOW+HIGH+CLOSE)/3,5);
支撑:REFDATE(X_107,DATE),NODRAW,COLORYELLOW;
阻力:REFDATE(X_108,DATE),NODRAW,COLORYELLOW;
主力:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORRED,LINETHICK2;
走势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),DOTLINE,COLORYELLOW,NODRAW;
X_110:=ATAN((走势/REF(走势,1)-1)*100)*180/3.1416;
主力筹码集中度:WINNER(CLOSE)*100,COLORLIMAGENTA,NODRAW;
X_111:=ATAN((主力筹码集中度/REF(主力筹码集中度,1)-1)*100)*180/3.1416;
X_112:=60;
散户:100*(HHV(HIGH,X_112)-CLOSE)/(HHV(HIGH,X_112)-LLV(LOW,X_112)),COLORGREEN,LINETHICK2;
散户筹码集中度:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*100,COLORLICYAN,NODRAW;
X_113:=ATAN((散户筹码集中度/REF(散户筹码集中度,1)-1)*100)*180/3.1416;
主力换手率:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;
主力筹码估算:EMA(WINNER(CLOSE)*70,3),NODRAW;
散户筹码估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭