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;
XA_1:=HIGH;
XA_2:=REF(XA_1,10)=HHV(XA_1,2*10+1);
XA_3:=FILTER(XA_2,10);
XA_4:=BacKSET(XA_3,10+1);
XA_5:=FILTER(XA_4,10);
XA_6:=REF(XA_1,10)=LLV(XA_1,2*10+1);
XA_7:=FILTER(XA_6,10);
XA_8:=BACKSET(XA_7,10+1);
XA_9:=FILTER(XA_8,10);
波峰:REF(HIGH,BArslAST(XA_5)),POINTDOT,COLOR00808F,LINETHICK4;
STICKLINE(HIGH,波峰,波峰,8,0),COLOR00808F,LINETHICK4;
XA_10:=EMA(CLOSE,2);
XA_11:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
XA_12:=crOSS(XA_10,XA_11);
XA_13:=CROSS(XA_11,XA_10);
STICKLINE(XA_10>=XA_11,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(XA_10>=XA_11,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(XA_10
XA_15:=FILTER(XA_14,3);
XA_16:=BACKSET(XA_15,3+1);
XA_17:=FILTER(XA_16,3);
XA_18:=REF(LOW,3)=LLV(LOW,2*3+1);
XA_19:=FILTER(XA_18,3);
XA_20:=BACKSET(XA_19,3+1);
XA_21:=FILTER(XA_20,3);
XA_22:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
XA_23:=(HIGH+LOW)/2;
XA_24:=XA_17 AND NOT(XA_21 AND XA_22>=XA_23) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;
XA_25:=XA_17 AND NOT(XA_21 AND XA_22>=XA_23);
XA_26:=XA_21 AND NOT(XA_17 AND XA_22=XA_23);
XA_27:=REF(BARSLAST(XA_24),1)+1;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,564),COLORGREEN;
XA_28:=BACKSET(XA_24 AND COUNT(XA_26,XA_27)>0,LLVBARS(IF(XA_26,LOW,10000),XA_27));
XA_29:=XA_28>REF(XA_28,1);
XA_30:=BACKSET(XA_29,2);
XA_31:=XA_30>REF(XA_30,1);
XA_32:=XA_31 OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;
XA_33:=REF(BARSLAST(XA_32),1)+1;
XA_34:=BACKSET(XA_32 AND COUNT(XA_25,XA_33)>0,HHVBARS(IF(XA_25,HIGH,0),XA_33));
XA_35:=XA_34>REF(XA_34,1);
XA_36:=BACKSET(XA_35,2);
XA_37:=XA_36>REF(XA_36,1);
XA_38:=BACKSET(ISLASTBAR=1,BARSLAST(XA_37)+1);
XA_39:=XA_38>REF(XA_38,1);
XA_40:=BACKSET(XA_39,REF(BARSLAST(XA_37),1)+2);
XA_41:=XA_40>REF(XA_40,1);
XA_42:=5;
XA_43:=REF(HIGH,XA_42)=HHV(HIGH,2*XA_42+1);
XA_44:=FILTER(XA_43,XA_42);
XA_45:=BACKSET(XA_44,XA_42+1);
XA_46:=FILTER(XA_45,XA_42);
XA_47:=BACKSET(CURRBARSCOUNT=2,BARSLAST(XA_46)+1);
XA_48:=XA_47>REF(XA_47,1);
XA_49:=REF(HIGH,BARSLAST(XA_48));
STICKLINE(XA_49,XA_49,XA_49,5,0),COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR,XA_49*1.02,562),COLORMAGENTA;
XA_50:=CURRBARSCOUNT=5-4;
DRAWNUMBER(XA_50 AND XA_49,XA_49*0.99,XA_49),COLORMAGENTA;
XA_51:=REF(LOW,XA_42)=LLV(LOW,2*XA_42+1);
XA_52:=FILTER(XA_51,XA_42);
XA_53:=BACKSET(XA_52,XA_42+1);
XA_54:=FILTER(XA_53,XA_42);
XA_55:=BACKSET(CURRBARSCOUNT=2,BARSLAST(XA_54)+1);
XA_56:=XA_55>REF(XA_55,1);
XA_57:=REF(LOW,BARSLAST(XA_56));
STICKLINE(XA_57,XA_57,XA_57,5,0),COLORCYAN,LINETHICK5;
DRAWTEXT(ISLASTBAR,XA_57*0.98,563),COLORCYAN;
XA_58:=zig(3,5);
XA_59:=XA_58>REF(XA_58,1) AND REF(XA_58,1)<=REF(XA_58,2) AND REF(XA_58,2)<=REF(XA_58,3);
XA_60:=XA_58=REF(XA_58,2) AND REF(XA_58,2)>=REF(XA_58,3);
XA_61:=ZIG(3,20);
XA_62:=XA_61>REF(XA_61,1) AND REF(XA_61,1)<=REF(XA_61,2) AND REF(XA_61,2)<=REF(XA_61,3);
XA_63:=XA_61=REF(XA_61,2) AND REF(XA_61,2)>=REF(XA_61,3);
XA_64:=ZIG(3,30);
XA_65:=XA_64>REF(XA_64,1) AND REF(XA_64,1)<=REF(XA_64,2) AND REF(XA_64,2)<=REF(XA_64,3);
XA_66:=XA_64=REF(XA_64,2) AND REF(XA_64,2)>=REF(XA_64,3);
XA_67:=BARSLAST(XA_58XA_68:=BARSLAST(XA_58>REF(XA_58,1));
XA_69:=BARSLAST(XA_61XA_70:=BARSLAST(XA_61>REF(XA_61,1));
XA_71:=BARSLAST(XA_64XA_72:=BARSLAST(XA_64>REF(XA_64,1));
XA_73:=IF(XA_61>REF(XA_61,1),COUNT(XA_59,XA_69),0);
XA_74:=IF(XA_61>REF(XA_61,1),COUNT(XA_60,XA_69),0);
XA_75:=IF(XA_61XA_76:=IF(XA_61XA_77:=IF(XA_64>REF(XA_64,1),COUNT(XA_62,XA_71),0);
XA_78:=IF(XA_64>REF(XA_64,1),COUNT(XA_63,XA_71),0);
XA_79:=IF(XA_64XA_80:=IF(XA_64DRAWTEXT(XA_59 AND XA_75=1,LOW*0.98,540),COLORCYAN;
DRAWTEXT(XA_60 AND XA_76=2,HIGH*1.02,541),COLORCYAN;
DRAWTEXT(XA_62 AND XA_73=1,LOW*0.98,542),COLORCYAN;
DRAWTEXT(XA_60 AND XA_61>REF(XA_61,1) AND XA_74=1,HIGH*1.02,543),COLORWHITE;
DRAWTEXT(XA_59 AND XA_61>REF(XA_61,1) AND XA_73=2,LOW*0.98,544),COLORWHITE;
DRAWTEXT(XA_60 AND XA_61>REF(XA_61,1) AND XA_73=2,HIGH*1.02,545),COLORWHITE;
DRAWTEXT(XA_59 AND XA_61>REF(XA_61,1) AND XA_73=3,LOW*0.98,546),COLORWHITE;
DRAWTEXT(XA_63 AND (XA_64>REF(XA_64,1) OR REF(XA_64>REF(XA_64,1),1) OR XA_78=1),HIGH*1.02,547),COLORWHITE;
DRAWTEXT(XA_63 AND XA_64>REF(XA_64,1) AND XA_78=1,HIGH*1.06,548),COLORYELLOW,LINETHICK3;
DRAWTEXT(XA_62 AND XA_64>REF(XA_64,1) AND XA_77=2,LOW*0.94,549),COLORYELLOW,LINETHICK3;
DRAWTEXT(XA_63 AND XA_64>REF(XA_64,1) AND XA_78=2,HIGH*1.06,550),COLORYELLOW,LINETHICK3;
DRAWTEXT(XA_62 AND XA_64>REF(XA_64,1) AND XA_77=3,LOW*0.94,551),COLORYELLOW,LINETHICK3;
XA_81:=XA_63;
XA_82:=XA_64>REF(XA_64,1);
XA_83:=XA_77=3;
DRAWTEXT(REF(XA_82*XA_83,1) AND XA_81,HIGH*1.06,552),COLORWHITE,LINETHICK3;
DRAWTEXT(REF(XA_82*XA_83,1) AND XA_81,HIGH*0.99,553),COLORRED,LINETHICK3;
DRAWTEXT(REF(XA_82*XA_83,1) AND XA_81,HIGH*0.97,553),COLORYELLOW,LINETHICK3;