​冠军主图副图通达信指标

财富   2024-11-03 09:17   浙江  


主图

DRAWTEXT_FIX(CLOSE>1,0,0,0,DYBLOCK),COLORYELLOW,LINETHICK2;

DRAWTEXT_FIX(CLOSE>1,0.08,0,0,HYBLOCK),COLORRED,LINETHICK2;

DRAWTEXT_FIX(ISLASTBAR,0.16,0,0,STRCAT(531,CON2STR(FINANCE(43),2))),COLORMAGENTA;

DRAWTEXT_FIX(1,0.3,0,0,ZDBLOCK),COLORWHITE;

DRAWTEXT_FIX(1,0.5,0,0,STRCAT(STRCAT(532,CON2STR(FINANCE(46)*CLOSE/100000000,2)),16)),COLORCYAN;

DRAWTEXT_FIX(CLOSE>1,0,0.06,0,GNBLOCK),COLORCYAN,LINETHICK2;

DRAWTEXT_FIX(CLOSE>1,0,0.12,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2;

龙脉线:HHV(CLOSE,176)*0.9,COLORYELLOW,LINETHICK2;

X_1:=HIGH;

X_2:=REF(X_1,10)=HHV(X_1,2*10+1);

X_3:=FILTER(X_2,10);

X_4:=BACKSET(X_3,10+1);

X_5:=FILTER(X_4,10);

X_6:=REF(X_1,10)=LLV(X_1,2*10+1);

X_7:=FILTER(X_6,10);

X_8:=BACKSET(X_7,10+1);

X_9:=FILTER(X_8,10);

波峰:REF(HIGH,BARSLAST(X_5)),POINTDOT,COLOR00808F,LINETHICK4;

STICKLINE(HIGH,波峰,波峰,8,0),COLOR00808F,LINETHICK4;

X_10:=EMA(CLOSE,2);

X_11:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);

X_12:=CROSS(X_10,X_11);

X_13:=CROSS(X_11,X_10);

STICKLINE(X_10>=X_11,LOW,HIGH,0.1,0),COLORRED;

STICKLINE(X_10>=X_11,CLOSE,OPEN,3,0),COLORRED;

STICKLINE(X_10<X_11,CLOSE,OPEN,3,0),COLORFFF000;

STICKLINE(X_10<X_11,LOW,HIGH,0.1,0),COLORFFF000;

X_14:=REF(HIGH,4)=HHV(HIGH,2*4+1);

X_15:=FILTER(X_14,3);

X_16:=BACKSET(X_15,3+1);

X_17:=FILTER(X_16,3);

X_18:=REF(LOW,3)=LLV(LOW,2*3+1);

X_19:=FILTER(X_18,3);

X_20:=BACKSET(X_19,3+1);

X_21:=FILTER(X_20,3);

X_22:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;

X_23:=(HIGH+LOW)/2;

X_24:=X_17 AND NOT(X_21 AND X_22>=X_23) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

X_25:=X_17 AND NOT(X_21 AND X_22>=X_23);

X_26:=X_21 AND NOT(X_17 AND X_22=X_23);

X_27:=REF(BARSLAST(X_24),1)+1;

DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,564),COLORGREEN;

X_28:=BACKSET(X_24 AND COUNT(X_26,X_27)>0,LLVBARS(IF(X_26,LOW,10000),X_27));

X_29:=X_28>REF(X_28,1);

X_30:=BACKSET(X_29,2);

X_31:=X_30>REF(X_30,1);

X_32:=X_31 OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

X_33:=REF(BARSLAST(X_32),1)+1;

X_34:=BACKSET(X_32 AND COUNT(X_25,X_33)>0,HHVBARS(IF(X_25,HIGH,0),X_33));

X_35:=X_34>REF(X_34,1);

X_36:=BACKSET(X_35,2);

X_37:=X_36>REF(X_36,1);

X_38:=BACKSET(ISLASTBAR=1,BARSLAST(X_37)+1);

X_39:=X_38>REF(X_38,1);

X_40:=BACKSET(X_39,REF(BARSLAST(X_37),1)+2);

X_41:=X_40>REF(X_40,1);

X_42:=5;

X_43:=REF(HIGH,X_42)=HHV(HIGH,2*X_42+1);

X_44:=FILTER(X_43,X_42);

X_45:=BACKSET(X_44,X_42+1);

X_46:=FILTER(X_45,X_42);

X_47:=BACKSET(CURRBARSCOUNT=2,BARSLAST(X_46)+1);

X_48:=X_47>REF(X_47,1);

X_49:=REF(HIGH,BARSLAST(X_48));

STICKLINE(X_49,X_49,X_49,5,0),COLORMAGENTA,LINETHICK2;

DRAWTEXT(ISLASTBAR,X_49*1.02,562),COLORMAGENTA;

X_50:=CURRBARSCOUNT=5-4;

DRAWNUMBER(X_50 AND X_49,X_49*0.99,X_49),COLORMAGENTA;

X_51:=REF(LOW,X_42)=LLV(LOW,2*X_42+1);

X_52:=FILTER(X_51,X_42);

X_53:=BACKSET(X_52,X_42+1);

X_54:=FILTER(X_53,X_42);

X_55:=BACKSET(CURRBARSCOUNT=2,BARSLAST(X_54)+1);

X_56:=X_55>REF(X_55,1);

X_57:=REF(LOW,BARSLAST(X_56));

STICKLINE(X_57,X_57,X_57,5,0),COLORCYAN,LINETHICK5;

DRAWTEXT(ISLASTBAR,X_57*0.98,563),COLORCYAN;

X_58:=ZIG(3,5);

X_59:=X_58>REF(X_58,1) AND REF(X_58,1)<=REF(X_58,2) AND REF(X_58,2)<=REF(X_58,3);

X_60:=X_58<REF(X_58,1) AND REF(X_58,1)>=REF(X_58,2) AND REF(X_58,2)>=REF(X_58,3);

X_61:=ZIG(3,20);

X_62:=X_61>REF(X_61,1) AND REF(X_61,1)<=REF(X_61,2) AND REF(X_61,2)<=REF(X_61,3);

X_63:=X_61<REF(X_61,1) AND REF(X_61,1)>=REF(X_61,2) AND REF(X_61,2)>=REF(X_61,3);

X_64:=ZIG(3,30);

X_65:=X_64>REF(X_64,1) AND REF(X_64,1)<=REF(X_64,2) AND REF(X_64,2)<=REF(X_64,3);

X_66:=X_64<REF(X_64,1) AND REF(X_64,1)>=REF(X_64,2) AND REF(X_64,2)>=REF(X_64,3);

X_67:=BARSLAST(X_58<REF(X_58,1));

X_68:=BARSLAST(X_58>REF(X_58,1));

X_69:=BARSLAST(X_61<REF(X_61,1));

X_70:=BARSLAST(X_61>REF(X_61,1));

X_71:=BARSLAST(X_64<REF(X_64,1));

X_72:=BARSLAST(X_64>REF(X_64,1));

X_73:=IF(X_61>REF(X_61,1),COUNT(X_59,X_69),0);

X_74:=IF(X_61>REF(X_61,1),COUNT(X_60,X_69),0);

X_75:=IF(X_61<REF(X_61,1),COUNT(X_59,X_70),0);

X_76:=IF(X_61<REF(X_61,1),COUNT(X_60,X_70),0);

X_77:=IF(X_64>REF(X_64,1),COUNT(X_62,X_71),0);

X_78:=IF(X_64>REF(X_64,1),COUNT(X_63,X_71),0);

X_79:=IF(X_64<REF(X_64,1),COUNT(X_62,X_72),0);

X_80:=IF(X_64<REF(X_64,1),COUNT(X_63,X_72),0);

DRAWTEXT(X_59 AND X_75=1,LOW*0.98,540),COLORCYAN;

DRAWTEXT(X_60 AND X_76=2,HIGH*1.02,541),COLORCYAN;

DRAWTEXT(X_62 AND X_73=1,LOW*0.98,542),COLORCYAN;

DRAWTEXT(X_60 AND X_61>REF(X_61,1) AND X_74=1,HIGH*1.02,543),COLORWHITE;

DRAWTEXT(X_59 AND X_61>REF(X_61,1) AND X_73=2,LOW*0.98,544),COLORWHITE;

DRAWTEXT(X_60 AND X_61>REF(X_61,1) AND X_73=2,HIGH*1.02,545),COLORWHITE;

DRAWTEXT(X_59 AND X_61>REF(X_61,1) AND X_73=3,LOW*0.98,546),COLORWHITE;

DRAWTEXT(X_63 AND (X_64>REF(X_64,1) OR REF(X_64>REF(X_64,1),1) OR X_78=1),HIGH*1.02,547),COLORWHITE;

DRAWTEXT(X_63 AND X_64>REF(X_64,1) AND X_78=1,HIGH*1.06,548),COLORYELLOW,LINETHICK3;

DRAWTEXT(X_62 AND X_64>REF(X_64,1) AND X_77=2,LOW*0.94,549),COLORYELLOW,LINETHICK3;

DRAWTEXT(X_63 AND X_64>REF(X_64,1) AND X_78=2,HIGH*1.06,550),COLORYELLOW,LINETHICK3;

DRAWTEXT(X_62 AND X_64>REF(X_64,1) AND X_77=3,LOW*0.94,551),COLORYELLOW,LINETHICK3;

X_81:=X_63;

X_82:=X_64>REF(X_64,1);

X_83:=X_77=3;

DRAWTEXT(REF(X_82*X_83,1) AND X_81,HIGH*1.06,552),COLORWHITE,LINETHICK3;

DRAWTEXT(REF(X_82*X_83,1) AND X_81,HIGH*0.99,553),COLORRED,LINETHICK3;

DRAWTEXT(REF(X_82*X_83,1) AND X_81,HIGH*0.97,553),COLORYELLOW,LINETHICK3;

副图选股一体


下轨:=MA(REF(LLV(C,250),1),2);

QS:=IF(C>REF(C,1),(2*CLOSE+2*HIGH+OPEN+LOW)/6,(2*OPEN+2*LOW+CLOSE+HIGH)/6);

短线:=MA(SMA(QS,5,1),3);

均角:=ATAN((短线/REF(短线,1)-1)*100)*180/3.14115926;

A7:=C-REF(C,1);

A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);

买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));

RSI5:=((SMA(MAX((CLOSE-REF(CLOSE,1)),0),5,1)/SMA(ABS((CLOSE-REF(CLOSE,1))),5,1))*100);

TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);

HD:=(HIGH-REF(HIGH,1));

LD:=(REF(LOW,1)-LOW);

DMP:=SUM(IF(((HD>0) AND (HD>LD)),HD,0),10);

DMM:=SUM(IF(((LD>0) AND (LD>HD)),LD,0),10);

PDI:=((DMP*100)/TR1);

MDI:=((DMM*100)/TR1);


ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),5);

AV:=RSI5+ADX;

WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));

NEWVOL:=(RSI5-WR10);

回调买:=AV+NEWVOL;

冠军回调:CROSS(回调买,0) AND 下轨<REF(下轨,1) AND 买 AND 均角<-55 AND BARSCOUNT(CLOSE)>10 AND DYNAINFO(4)>0;

爱指标源码
指标源码的作用:在平时看盘时,提供技术面判断,所以在买卖的决定上有参考作用,尤其是组合适合自己的一套看盘模板。
 最新文章