{潜伏主图源码如下}
X_1:=1;
X_2:=MA(CLOSE,60);
X_3:=MA(CLOSE,120);
DRAWBAND(X_2,RGB(90,0,0),X_3,RGB(0,90,0));
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_4:=REF(CLOSE,1);
X_5:=IF((CLOSE-X_4)*100/X_4>=10-0.01*100/X_4,1,0);
STICKLINE(X_5,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(X_5,HIGH,LOW,0,0),COLORRED;
X_6:=IF((X_4-CLOSE)*100/X_4>=10-0.01*100/X_4,1,0);
STICKLINE(X_6,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_6,HIGH,LOW,0,1),COLORGREEN;
X_7:=IF(REF(CLOSE,1)>REF(OPEN,1) AND OPEN>REF(CLOSE,1)*1.014 AND CLOSE<OPEN*1.02,1,3);
X_8:=MA(VOL,5);
X_9:=MA(VOL,12);
X_10:=MA(CLOSE,6);
X_11:=CROSS(CLOSE,X_10);
X_12:=VOL>X_8*1.2 AND VOL>X_9*1.2;
X_13:=X_7>2 AND CLOSE>HIGH*0.975;
X_14:=X_11 AND X_12 AND X_13;
X_15:=CLOSE<=OPEN;
X_16:=COUNT(X_15,5)>=4;
X_17:=REF(X_16,1);
X_18:=X_14 AND X_17;
X_19:=VOL>=HHV(VOL,20);
X_20:=VOL/REF(VOL,1)>1.5;
X_21:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_22:=EMA(X_21,9);
X_23:=2*(X_21-X_22);
X_24:=REF(CLOSE>OPEN OR OPEN>CLOSE,65) AND REF(CLOSE>OPEN OR OPEN>CLOSE,116) AND REF(CLOSE>OPEN OR OPEN>CLOSE,10);
X_25:=REF(X_23,1)<REF(X_23,2) AND X_23>=0 AND X_23>REF(X_23,1);
X_26:=CAPITAL<6000000;
X_27:=CLOSE/REF(CLOSE,1)>1.04;
X_28:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN;
X_29:=(X_18 AND X_19 AND X_20 AND X_25 AND X_26 AND X_27 AND X_28 AND X_24)*X_1;
DRAWICON(X_29,LOW*0.98,9);
DRAWICON(X_29,LOW*0.99,5);
{潜伏副图源码如下}
X_1:=1;
DRAWGBK(OPEN>0,RGB(8,88,158),RGB(0,0,0),0,1,0);
X_2:=IF(REF(CLOSE,1)>REF(OPEN,1) AND OPEN>REF(CLOSE,1)*1.014 AND CLOSE<OPEN*1.02,1,3);
X_3:=MA(VOL,5);
X_4:=MA(VOL,12);
X_5:=MA(CLOSE,6);
X_6:=CROSS(CLOSE,X_5);
X_7:=VOL>X_3*1.2 AND VOL>X_4*1.2;
X_8:=X_2>2 AND CLOSE>HIGH*0.975;
X_9:=X_6 AND X_7 AND X_8;
X_10:=CLOSE<=OPEN;
X_11:=COUNT(X_10,5)>=4;
X_12:=REF(X_11,1);
X_13:=X_9 AND X_12;
X_14:=VOL>=HHV(VOL,20);
X_15:=VOL/REF(VOL,1)>1.5;
X_16:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_17:=EMA(X_16,9);
X_18:=2*(X_16-X_17);
X_19:=REF(CLOSE>OPEN OR OPEN>CLOSE,65) AND REF(CLOSE>OPEN OR OPEN>CLOSE,116) AND REF(CLOSE>OPEN OR OPEN>CLOSE,10);
X_20:=REF(X_18,1)<REF(X_18,2) AND X_18>=0 AND X_18>REF(X_18,1);
X_21:=CAPITAL<6000000;
X_22:=CLOSE/REF(CLOSE,1)>1.04;
X_23:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN;
X_24:=(X_13 AND X_14 AND X_15 AND X_20 AND X_21 AND X_22 AND X_23 AND X_19)*X_1;
STICKLINE(X_24,1,0,1,0),COLORRED;
STICKLINE(X_24,1,0,3.1,0),COLOR000033;
STICKLINE(X_24,1,0,2.7,0),COLOR000066;
STICKLINE(X_24,1,0,2.1,0),COLOR000099;
STICKLINE(X_24,1,0,1.5,0),COLOR0000CC;
STICKLINE(X_24,1,0,0.9,0),COLORRED;
STICKLINE(X_24,1,0,0.3,0),COLORCC66FF;