CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,''),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(1,0.50,0.75,0,CJL),COLOR0099FF;
A1 := EMA(CLOSE,20);
A2 := EMA(CLOSE,50);
DMI_PLUS := SUM(IF(HIGH > REF(HIGH, 1), HIGH - REF(HIGH, 1), 0), 14);
DMI_MINUS := SUM(IF(LOW < REF(LOW, 1), REF(LOW, 1) - LOW, 0), 14);
TRANGE := SUM(MAX(MAX(HIGH - LOW, ABS(HIGH - REF(CLOSE, 1))), ABS(LOW - REF(CLOSE, 1))), 14);
PDI := DMI_PLUS * 100 / TRANGE;
MDI := DMI_MINUS * 100 / TRANGE;
DX := ABS(PDI - MDI) / (PDI + MDI) * 100;
ADX_VALUE := EMA(DX, 14);
MACD_LINE := EMA(CLOSE,12) - EMA(CLOSE,26);
SIGNAL_LINE := EMA(MACD_LINE,9);
VOL_OSC := EMA(VOL,12) - EMA(VOL,26);
TREND_CONFIRMED := (A1 > A2) AND (ADX_VALUE > 25) AND (CROSS(MACD_LINE, SIGNAL_LINE)) AND (VOL_OSC > 0) AND (TIME <= 0935);
STICKLINE(TREND_CONFIRMED AND TIME<=0935, LOW, HIGH, 2, 0), COLORMAGENTA;
DRAWTEXT_FIX(TIME <= 0935 AND A1 > A2, 0.5, 0.5, 0, 'TREND OK'), COLORYELLOW;
DRAWTEXT_FIX(TIME <= 0935 AND ADX_VALUE > 25, 0.5, 0.4, 0, 'ADX OK'), COLORYELLOW;
DRAWTEXT_FIX(TIME <= 0935 AND CROSS(MACD_LINE, SIGNAL_LINE), 0.5, 0.3, 0, 'MACD OK'), COLORYELLOW;
DRAWTEXT_FIX(TIME <= 0935 AND VOL_OSC > 0, 0.5, 0.2, 0, 'VOL OK'), COLORYELLOW;
{}
XA_1:=AMOUNT/VOL;
XA_2:=LOW<XA_1*0.9;
XA_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
XA_4:=LOW<MA(CLOSE,5)*0.921;
XA_5:=VOL<MA(VOL,5)*1.5;
XA_6:=XA_2 AND XA_3 AND XA_4 AND XA_5;
DRAWTEXT(XA_6,LOW*0.99,1),COLORYELLOW;
STICKLINE(XA_6,HIGH,LOW,0.5,0),COLORMAGENTA;
STICKLINE(XA_6,OPEN,CLOSE,7,0),COLORMAGENTA;
辅助线:=(-15);
XA_7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_8:=MA(VOL,2)/MA(VOL,10);
XA_9:=VOL/CAPITAL;
XA_10:=0.0068*XA_7-0.0072*XA_8-0.5676*XA_9-0.0105;
XA_11:=0.0015*XA_7-0.0124*XA_8+1.7461*XA_9-0.0074;
暴涨启动:(0-12.2401*XA_10-1*XA_11+0.321<0)*110 AND TIME<=0935,STICK,COLORRED,LINETHICK8;
STICKLINE((暴涨启动),L,L*99999999,2,0),COLORMAGENTA;
XA_12:=REF(CLOSE,1)/REF(CLOSE,2)<=0.93 AND BETWEEN(CLOSE/REF(CLOSE,1),1.03,0.97) AND CLOSE/REF(CLOSE,8)<=0.8 AND BETWEEN(REF(CLOSE,2)/REF(CLOSE,3),1.04,0.96) AND BETWEEN(REF(CLOSE,3)/REF(CLOSE,4),1.04,0.96);
STICKLINE(XA_12,0,20,1,0),COLORRED;
DRAWTEXT(CLOSE-OPEN>=0 AND OPEN/LOW>1.05 AND LOW<=LLV(LOW,20),LOW,2),COLORRED,LINETHICK2;
XA_13:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
XA_14:=SMA(XA_13,3,1);
XA_15:=SMA(XA_14,3,1);
XA_16:=SMA(XA_15,3,1);
波:=XA_15;
段:=XA_16;
XA_17:=CROSS(XA_15,XA_16) AND XA_15<20;
{DRAWTEXT(FILTER(XA_17,10)=1,15,3),COLORRED;}
XA_18:=CROSS(XA_16,XA_15) AND XA_15>80;
{STICKLINE(FILTER(XA_18,5)=1,80,100,3,0),COLORGREEN;}
{DRAWTEXT(FILTER(XA_18,5)=1,99,4),COLORYELLOW,LINETHICK3;}
XA_19:=CROSS(XA_14,XA_15) AND XA_15>80 AND XA_15>XA_16;
{STICKLINE(XA_19,85,100,1,0);}
{90;}
XA_20:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
私募秘进:=FILTER(XA_20,28)*100,COLORYELLOW,LINETHICK3;
STICKLINE((私募秘进)AND TIME<=0935,L,L*99999999,8,0),COLORYELLOW;
XA_21:=AMOUNT/VOL/100;
MA5:=MA(XA_21,5),COLORRED;
MA13:=MA(XA_21,13);