{先锋抄底黑马盘后 附图主图源码如下}
X_1:=STRCAT(HYBLOCK,3);
X_2:=STRCAT(X_1,DYBLOCK);
X_3:=STRCAT(X_2,3);
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,STRCAT(X_3,GNBLOCK)),COLORYELLOW;
X_4:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*X_4+19*REF(X_4,1)+18*REF(X_4,2)+17*REF(X_4,3)+16*REF(X_4,4)+15*REF(X_4,5)+14*REF(X_4,6)+13*REF(X_4,7)+12*REF(X_4,8)+11*REF(X_4,9)+10*REF(X_4,10)+9*REF(X_4,11)+8*REF(X_4,12)+7*REF(X_4,13)+6*REF(X_4,14)+5*REF(X_4,15)+4*REF(X_4,16)+3*REF(X_4,17)+2*REF(X_4,18)+REF(X_4,20))/210,COLORRED;
X_5:=MA(牛线,6);
MAA5:MA(CLOSE,5);
X_6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_7:=SMA(X_6,3,1);
X_8:=SMA(X_7,3,1);
X_9:=3*X_7-2*X_8;
X_10:=CLOSE-REF(CLOSE,1);
X_11:=100*EMA(EMA(X_10,6),6)/EMA(EMA(ABS(X_10),6),6);
X_12:=LLV(X_11,2)=LLV(X_11,7) AND COUNT(X_11<0,2) AND CROSS(X_11,MA(X_11,2));
DRAWTEXT(FILTER(X_12=1,5),LOW-0.05,'买进'),COLORYELLOW;
STICKLINE(X_12,OPEN,CLOSE,2,0),COLORYELLOW;
X_13:=150;
X_14:=3;
X_15:=REF(HHV(HIGH,X_13),X_14);
X_16:=REF(LLV(LOW,X_13),X_14);
X_17:=X_15-(X_15-X_16)*0.191;
X_18:=X_15-(X_15-X_16)*0.382;
X_19:=X_15-(X_15-X_16)*0.5;
X_20:=X_15-(X_15-X_16)*0.618;
X_21:=X_15-(X_15-X_16)*0.809;
顶:REFDATE(X_15,DATE),COLORRED,LINETHICK2;
一0.809:REFDATE(X_17,DATE),DOTLINE,COLORYELLOW;
二0.618:REFDATE(X_18,DATE),DOTLINE,COLORMAGENTA;
三0.500:REFDATE(X_19,DATE),DOTLINE,COLORWHITE;
四0.382:REFDATE(X_20,DATE),DOTLINE,COLORGREEN;
五0.191:REFDATE(X_21,DATE),DOTLINE,COLORYELLOW;
低:REFDATE(X_16,DATE),COLORRED,LINETHICK2;
{先锋抄底附图副图源码如下}
X_1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
X_2:=REF(X_1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_3:=REF(X_2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_4:=REF(X_3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_5:=REF(X_4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_6:=REF(X_5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_7:=REF(X_6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_8:=REF(X_7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_9:=REF(X_8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_10:=REF(X_9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_11:=REF(X_10,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_12:=REF(X_11,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_13:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
X_14:=REF(X_13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_15:=REF(X_14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_16:=REF(X_15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_17:=REF(X_16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_18:=REF(X_17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_19:=REF(X_18,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_20:=REF(X_19,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_21:=REF(X_20,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_22:=REF(X_21,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_23:=REF(X_22,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_24:=REF(X_23,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_25:=REF(X_13 OR X_14 OR X_15 OR X_16 OR X_17 OR X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24,1) AND X_1;
X_26:=(HIGH+LOW+CLOSE)/3;
X_27:=(X_26-MA(X_26,14))/(0.015*AVEDEV(X_26,14));
X_28:=SMA(X_27,3,1);
X_29:=SMA(X_28,3,1);
X_30:=3*X_28-2*X_29;
X_31:=EMA(X_30,5);
X_32:=REF(X_31,1);
X_33:=REF(CLOSE,1);
X_34:=SMA(MAX(CLOSE-X_33,0),6,1)/SMA(ABS(CLOSE-X_33),6,1)*100;
X_35:=(X_34-50)*5;
X_36:=SMA(X_35,3,1);
X_37:=SMA(X_36,3,1);
X_38:=3*X_36-2*X_37;
X_39:=EMA(X_38,5);
X_40:=REF(X_39,1);
X_41:=X_39>X_40;
X_42:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_43:=SMA(X_42,3,1);
X_44:=(X_43-50)*5;
X_45:=SMA(X_44,3,1);
X_46:=SMA(X_45,3,1);
X_47:=3*X_45-2*X_46;
X_48:=EMA(X_47,5);
X_49:=REF(X_48,1);
X_50:=X_41 AND NOT(REF(X_41,1)) AND (X_39<(-100) AND X_48<(-100)) AND X_31<(-100) AND X_25=1;
X_51:=EMA(CLOSE,3)-EMA(CLOSE,8);
X_52:=EMA(X_51,5);
X_53:=2*(X_51-X_52);
X_54:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
X_55:=SMA(SMA(X_54,3,1),3,1);
X_56:=EMA(X_55,5);
X_57:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_58:=CROSS(X_57,9);
X_59:=HHV(HIGH,9)-LLV(LOW,9);
X_60:=HHV(HIGH,9)-CLOSE;
X_61:=CLOSE-LLV(LOW,9);
X_62:=X_2/X_59*100-70;
X_63:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
X_64:=(2*CLOSE+HIGH+LOW)/4;
X_65:=SMA(X_61/X_59*100,3,1);
X_66:=LLV(LOW,34);
X_67:=SMA(X_65,3,1)-SMA(X_62,9,1);
X_68:=IF(X_67>100,X_67-100,0);
X_69:=HHV(HIGH,34);
X_70:=EMA((X_64-X_66)/(X_59-X_66)*100,13);
X_71:=EMA(0.667*REF(X_70,1)+0.333*X_70,2);
X_72:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
X_73:=MA(X_72,3);
X_74:=REF(X_73,1);
X_75:=CROSS(X_70,X_71) AND X_70>X_71 AND X_70<18;
X_76:=LLV(LOW,10);
X_77:=HHV(HIGH,25);
X_78:=EMA((CLOSE-X_76)/(X_77-X_76)*4,4);
X_79:=0.2;
X_80:=0.5;
X_81:=CROSS(X_78,X_80);
XG:X_75 OR X_58 AND X_81 AND X_50,COLORMAGENTA,LINETHICK2;