通达信底部真妖指标公式

通达信亮剑斩贪魔指标公式

通达信底部真妖指标公式:

HJ_1:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);

HJ_2:=IF(crOSS(HJ_1,0),40,0);

HJ_3:=IF(DATE<9999999999*500,1,DRAWNULL);

HJ_4:=(2*CLOSE+HIGH+LOW)/4;

HJ_5:=LLV(LOW,94)*HJ_3;

HJ_6:=HHV(HIGH,89)*HJ_3;

HJ_7:=EMA((CLOSE-HJ_5)/(HJ_6-HJ_5)*100,8);

HJ_8:=EMA(0.667*REF(HJ_7,1)+0.333*HJ_7,10);

HJ_9:=COUNT(HJ_2>=40,5)>0;

HJ_10:=IF(DATETODAY(DATE)<9999999999,1,DRAWNULL);

HJ_11:=IF(CROSS(HJ_7,HJ_8)*HJ_10 AND HJ_9,60,0)*HJ_3;

HJ_12:=HJ_2+HJ_11>=1;

HJ_13:=MA(CLOSE,5);

HJ_14:=MA(CLOSE,30);

HJ_15:=MA(CLOSE,5);

HJ_16:=MA(CLOSE,13);

HJ_17:=MA(CLOSE,34);

HJ_18:=ATAN((HJ_15/REF(HJ_15,1)-1)*100)*180/3.1416;

HJ_19:=ATAN((HJ_16/REF(HJ_16,1)-1)*100)*180/3.1416;

HJ_20:=ATAN((HJ_17/REF(HJ_17,1)-1)*100)*180/3.1416;

HJ_21:=SMA(EMA((HJ_15-REF(HJ_15,1))/REF(HJ_15,1),3)*100,3,1)*HJ_10;

HJ_22:=EMA(HJ_21-REF(HJ_21,1),3)*HJ_10;

HJ_23:=(CLOSE-HJ_13)/HJ_13*100;

HJ_24:=(CLOSE-HJ_17)/HJ_17*100;

HJ_25:=COUNT(CROSS(HJ_23,0)*HJ_3,3)>=1 AND HJ_24>REF(HJ_24,1) AND HJ_13>REF(HJ_13,1) AND (CLOSE/REF(CLOSE,1)-1)*100>5 AND REF(CLOSE,1)<HJ_14;

HJ_26:=FILTER(HJ_25,10)*HJ_3;

HJ_27:=macd.DIF#MONTH;

HJ_28:=MacD.DEA#MONTH;

HJ_29:=MACD.DIF#WEEK;

HJ_30:=MACD.DEA#WEEK;

HJ_31:=MACD.DIF;

HJ_32:=MACD.DEA;

HJ_33:=CROSS(HJ_31,HJ_32)*HJ_3;

HJ_34:=CROSS(HJ_29,HJ_30)*HJ_3;

HJ_35:=CROSS(HJ_27,HJ_28)*HJ_3;

HJ_36:=IF(CROSS(HJ_29,HJ_30),MACD.DIF+0.1,0)*HJ_10;

HJ_37:=IF(HJ_31>HJ_32 AND HJ_29>HJ_30 AND HJ_35 OR (HJ_29>HJ_30 AND HJ_27>HJ_28 AND HJ_33)*HJ_10 AND CLOSE/REF(CLOSE,1)>1.08 OR (HJ_27>HJ_28 AND HJ_31>HJ_32 AND HJ_34)*HJ_10 OR (HJ_33 AND HJ_34 AND HJ_35),MACD.DIF+0.2,0);

HJ_38:=HJ_36 AND CLOSE/REF(CLOSE,1)>1.05;

HJ_39:=HJ_37 AND CLOSE/REF(CLOSE,1)>1.08;

HJ_40:=HJ_38+HJ_39>=1;

HJ_41:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>9;

HJ_42:=MA(CLOSE,5);

HJ_43:=REF(CLOSE,1);

HJ_44:=SMA(MAX(CLOSE-HJ_43,0),6,1)/SMA(Abs(CLOSE-HJ_43),6,1)*100;

HJ_45:=CROSS(HJ_44,25) AND CLOSE>HJ_42 AND HJ_41;

HJ_46:=EMA(CLOSE,5);

HJ_47:=EMA(CLOSE,10);

HJ_48:=EMA(CLOSE,14)*HJ_10;

HJ_49:=EMA(CLOSE,18)*HJ_10;

HJ_50:=EMA(CLOSE,40)*HJ_10;

HJ_51:=EMA(CLOSE,60)*HJ_10;

HJ_52:=MAX(MAX(MAX(MAX(MAX(HJ_46,HJ_47),HJ_48),HJ_49),HJ_50),HJ_51)*HJ_3;

HJ_53:=MIN(MIN(MIN(MIN(MIN(HJ_46,HJ_47),HJ_48),HJ_49),HJ_50),HJ_51)*HJ_3;

HJ_54:=CLOSE>HJ_52 AND LOW<HJ_53 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.09)*HJ_3;

HJ_55:=FILTER(HJ_54>0,0)=1;

HJ_56:=HJ_45 OR HJ_55;

HJ_57:=(EMA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16)*HJ_10)/3;

HJ_58:=(EMA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)*HJ_10)/3;

HJ_59:=(EMA(CLOSE,9)+MA(CLOSE,18)+MA(CLOSE,36)*HJ_10)/3;

HJ_60:=(EMA(CLOSE,13)+MA(CLOSE,26)+MA(CLOSE,52))/3;

HJ_61:=(EMA(CLOSE,18)+MA(CLOSE,36)+MA(CLOSE,72)*HJ_3)/3;

HJ_62:=(EMA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96)*HJ_3)/3;

HJ_63:=OPEN<HJ_57 AND OPEN<HJ_58 AND OPEN<HJ_59 AND OPEN<HJ_60 AND OPEN<HJ_61 AND OPEN<HJ_62 AND CLOSE>HJ_57 AND CLOSE>HJ_58 AND CLOSE>HJ_59 AND CLOSE>HJ_60 AND CLOSE>HJ_61 AND CLOSE>HJ_62;

HJ_64:=REF(CLOSE,1);

HJ_65:=vol/MA(REF(VOL,1),5)*HJ_3;

HJ_66:=INDEXV/MA(REF(INDEXV,1),5)*HJ_3;

HJ_67:=HJ_65/HJ_66;

HJ_68:=OPEN/HJ_64;

HJ_69:=ATAN((EMA(CLOSE,7)/REF(EMA(CLOSE,7),1)-1)*100)*HJ_10*57.299999;

HJ_70:=ATAN((EMA(CLOSE,13)/REF(EMA(CLOSE,13),1)-1)*100)*HJ_10*57.299999;

HJ_71:=ATAN((EMA(CLOSE,34)/REF(EMA(CLOSE,34),1)-1)*100)*HJ_10*57.299999;

HJ_72:=HJ_69>53 AND HJ_70>35.560001 AND HJ_71>19 AND HJ_67>2.25 AND HJ_68<1.05 AND HJ_68>1;

HJ_73:=HJ_63+HJ_72>=1;

龙头:HJ_12+HJ_26+HJ_40+HJ_56+HJ_73>=3,COLORRED;

stICKLINE(龙头,0,50,6,0),COLOR009999;

STICKLINE(龙头,0,50,5,0),COLOR009999;

STICKLINE(龙头,0,50,4,0),COLOR009999;

STICKLINE(龙头,0,50,2,0),COLOR00BBBB;

STICKLINE(龙头,0,50,1,0),COLOR00DDDD;

STICKLINE(龙头,0,50,0.4,0),COLORYELLOW;

STICKLINE(龙头,40,0,0.5,0),COLORRED;

V2:=(H-L);

V3:=ABS((O-C));

V4:=(H-IF((C>O),C,O));

V5:=(IF((C>O),O,C)-L);

V6:=((V3/V2)*V);

V7:=((V4/V2)*V);

V8:=((V5/V2)*V);

VB:=(((MA(C,5)>MA(C,10)) AND (MA(C,10)>MA(C,30))) AND (MA(C,30)>MA(C,60)));

VC:=((((V6>(MA(V,5)*2)) AND (V6 >= V7)) AND (V6 >= V8)) AND (C>O)) OR ((V>(MA(V,5)*3)) AND VB);

VD:=FILTER(VC,15);

妖股出现:DRAWTEXT(VD,35.85,'妖股出现'),COLORRED;

IF(VD,50,0),COLORRED;

通达信主力散户操盘线指标公式