希望能对大家有所裨益 阿呆制作 通达信指标 源码 贴图
2018-04-28 10:33:00来源:本站整理浏览:303
希望能对大家有所裨益 阿呆制作 通达信指标 源码 贴图
HJ_1:=FINANCE(34);
HJ_2:=FINANCE(20);
HJ_3:=FINANCE(21);
HJ_4:=(FINANCE(37)>=(-20))*FINANCE(37)+(FINANCE(37)<(-20))*(-20);
HJ_5:=(FINANCE(18)>0.01)*FINANCE(18)+(FINANCE(18)<0.01)*0.01;
HJ_6:=(FINANCE(32)>=(-2.5))*FINANCE(32)+(FINANCE(32)<(-2.5))*(-2.5);
HJ_7:=FINANCE(1);
HJ_8:=(FINANCE(19)>=0)*FINANCE(19)+(FINANCE(19)<0)*0.01;
HJ_9:=CLOSE;
HJ_10:=DYNAINFO(39);
HJ_11:=1/(HJ_6/CLOSE+1);
HJ_12:=0.2/(HJ_1/HJ_9+2)+1;
HJ_13:=3/(HJ_4+21)+1;
HJ_14:=HJ_9/HJ_5*0.01+1;
HJ_15:=1/(HJ_3/HJ_2+1);
HJ_16:=HJ_7/HJ_8+1;
HJ_17:=1/(HJ_10*HJ_11*HJ_12*HJ_13*HJ_14*HJ_15*HJ_16)*1000;
市盈率:HJ_10,NODRAW,COLOR3FAB3F;
利润率:HJ_3/HJ_2*100,NODRAW,COLOR3FD13F;
市净率:CLOSE/HJ_1,NODRAW,COLORBBFF3F;
股权率:HJ_7/HJ_8*100,NODRAW,COLOR3FEF5F;
股东人数:FINANCE(8),NODRAW;
人均持股:FINANCE(7)/FINANCE(8),NODRAW;
每股公积金:FINANCE(18),NODRAW;
净资产:FINANCE(34),NODRAW;
每股现金流量:FINANCE(25)/FINANCE(1),NODRAW;
流动负债:FINANCE(15)/FINANCE(1),NODRAW;
未分配利润:FINANCE(31)/FINANCE(1),NODRAW;
毛利率:FINANCE(21)/FINANCE(20)*100,NODRAW;
HJ_18:=SUM(EMA((CLOSE+LOW)/2,1)/3,3);
HJ_19:=EMA(HJ_18,3);
HJ_20:=EMA(HJ_19,3);
HJ_21:=MA(CLOSE,20);
HJ_22:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
HJ_23:=REF(HJ_22,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_24:=REF(HJ_23,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_25:=REF(HJ_24,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_26:=REF(HJ_25,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_27:=REF(HJ_26,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_28:=REF(HJ_27,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_29:=REF(HJ_28,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_30:=REF(HJ_29,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_31:=REF(HJ_30,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_32:=REF(HJ_31,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_33:=REF(HJ_32,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_34:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
HJ_35:=REF(HJ_34,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_36:=REF(HJ_35,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_37:=REF(HJ_36,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_38:=REF(HJ_37,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_39:=REF(HJ_38,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_40:=REF(HJ_39,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_41:=REF(HJ_40,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_42:=REF(HJ_41,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_43:=REF(HJ_42,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_44:=REF(HJ_43,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HJ_45:=REF(HJ_44,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HJ_46:=REF(HJ_34 OR HJ_35 OR HJ_36 OR HJ_37 OR HJ_38 OR HJ_39 OR HJ_40 OR HJ_41 OR HJ_42 OR HJ_43 OR HJ_44 OR HJ_45,1) AND HJ_22;
HJ_47:=REF(HJ_22 OR HJ_23 OR HJ_24 OR HJ_25 OR HJ_26 OR HJ_27 OR HJ_28 OR HJ_29 OR HJ_30 OR HJ_31 OR HJ_32 OR HJ_33,1) AND HJ_34;
HJ_48:=KDJ.J#WEEK;
HJ_49:=KDJ.D#WEEK;
HJ_50:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_51:=EMA(HJ_50,9);
HJ_52:=(HJ_50-HJ_51)*2;
HJ_53:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HJ_54:=SMA(HJ_53,3,1);
HJ_55:=SMA(HJ_54,3,1);
HJ_56:=3*HJ_54-2*HJ_55;
HJ_57:=COUNT(CROSS(HJ_48,HJ_49),5)>=1;
HJ_58:=REF(HJ_56,1)=LLV(HJ_56,3) AND REF(HJ_56,1)<REF(HJ_55,1);
HJ_59:=5;
HJ_60:=5;
HJ_61:=(HJ_53/2+22)*1;
HJ_62:=EMA(VOL,13);
HJ_63:=EMA(AMOUNT,13);
HJ_64:=HJ_63/HJ_62/100;
HJ_65:=(CLOSE-HJ_64)/HJ_64*100;
HJ_66:=HJ_65<0 AND ZXNH;
HJ_67:=IF(HJ_66 AND HJ_53<HJ_61-2,50,0);
HJ_68:=IF(HJ_66 AND HJ_53>HJ_61,80,120);
HJ_69:=40;
HJ_70:=MA(CLOSE,5);
HJ_71:=MA(MA(CLOSE,20),5);
HJ_72:=(HJ_70-REF(HJ_70,1))/REF(HJ_70,1)*100;
HJ_73:=(HJ_71-REF(HJ_71,1))/REF(HJ_71,1)*100;
HJ_74:=HJ_72>REF(HJ_72,1);
XG:CROSS(HJ_69,HJ_67) AND FILTER(HJ_46=1,5) AND HJ_57 AND HJ_58=1 AND HJ_74,COLORRED,LINETHICK2;
{-----------------------------------}