所属地区:DRAWTEXT_FIX(1,0.00,0.05,0,'地区:'),COLORFFFF00;
DRAWTEXT_FIX(1,0.05,0.05,0,DYBLOCK),COLORFFFF00;
所属行业:DRAWTEXT_FIX(1,0,0.10,0,'行业:'),COLORFFFF00;
DRAWTEXT_FIX(1,0.05,0.10,0,HYBLOCK),COLORFFFF00;
所属概念:DRAWTEXT_FIX(1,0,0.15,0,'概念:'),COLORFFFF00;
DRAWTEXT_FIX(1,0.05,0.15,0,GNBLOCK),COLORFFFF00;
所属风格:DRAWTEXT_FIX(1,0,0.20,0,'风格:'),COLORFFFF00;
DRAWTEXT_FIX(1,0.05,0.20,0,FGBLOCK),COLORFFFF00;
上市日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,NODRAW;
DRAWTEXT_FIX(1,0,0.25,0,'上市日期:'),COLORFFFF00;
DRAWNUMBER_FIX(1,0.05,0.25,0,上市日期),COLORFFFF00;
收盘价:=C;
好股网1:=REF(EMA((H+LOW+收盘价)/3,10),1);
好股网2:=EMA(HHV(H,10),3);
好股网3:=EMA(LLV(LOW,10),3);
持股线:EMA(好股网1*2-好股网3,5),COLORMAGENTA,LINETHICK3;
IF(收盘价>持股线,持股线,DRAWNULL),COLORMAGENTA,LINETHICK3;
IF(收盘价<持股线,持股线,DRAWNULL),COLORBLUE,LINETHICK3;
N:=30;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.80,1,0);
涨停龙:=EVERY(涨停,2) AND REF(涨停=0,2) AND COUNT(涨停,10)>=5;
STICKLINE(涨停龙,OPEN,CLOSE,1,0),COLORYELLOW;
HGW1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
HGW2:=HGW1+HIGH-LOW;
HGW3:=2*HGW1-LOW;
HGW4:=HGW1-HIGH+LOW;
HGW5:=2*HGW1-HIGH;
HGW6:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1);
HGW7:=CLOSE=HHV(CLOSE,13);
HGW8:=BARSLAST(FILTER(CROSS(0.8,HGW7),2))+1;
HGW9:=REF(CLOSE,HGW8);
HGW10:=CROSS(CLOSE,REF(HGW9,1));
HGW11:=(HIGH+LOW+3*CLOSE+OPEN)/6;
HGW12:=MA(HGW11,7);
HGW13:=MA(HGW11,14);
HGW14:=MA(HGW11,21);
HGW15:=MA(HGW11,28);
HGW16:=MA(HGW11,35);
HGW17:=MA(HGW11,42);
HGW18:=MA(HGW11,49);
HGW19:=MA(HGW11,56);
HGW20:=(7*HGW12+14*HGW13+21*HGW14+28*HGW15+35*HGW16+42*HGW17+49*HGW18+56*HGW19)/252;
HGW21:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
HGW22:=REF(HGW21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HGW23:=REF(HGW22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HGW24:=REF(HGW23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HGW25:=REF(HGW24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HGW26:=REF(HGW25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HGW27:=REF(HGW26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HGW28:=REF(HGW27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HGW29:=REF(HGW28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HGW30:=REF(HGW29,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HGW31:=REF(HGW30,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
HGW32:=REF(HGW31,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
HGW33:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
HGW34:=REF(HGW21 OR HGW22 OR HGW23 OR HGW24 OR HGW25 OR HGW26 OR HGW27 OR HGW28 OR HGW29 OR HGW30 OR HGW31 OR HGW32,1) AND HGW33;
HGW35:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
HGW36:=(HGW35/REF(HGW35,1)-1)*10;
HGW37:=MA(HGW36,5)/10;
HGW66:=MA(C,18);
HGW68:=(HGW66>REF(HGW66,1));
心理价:(HGW1+HGW2+HGW3+HGW5+HGW4)/5,NODRAW,COLORWHITE;
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
STICKLINE(HGW8<=6,HGW9,HGW9,3,0),COLORFF00FF;
DRAWTEXT(HGW10,LOW,'T'),COLOR00FFFF;
WYVOL:=VOL/CAPITAL;
WYDXZW:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
WY:=2.5*MAX(WYVOL,WYDXZW);
HGWGS1:=DMA(CLOSE,WY);
HGWGS2:=20*(HGWGS1/REF(HGWGS1,1)-1)*38;
HGWGS3:=EMA(HGWGS2,2);
HGWGS4:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);
HGWGS5:=HGWGS3;
HGWGS6:=HGWGS5<0;
LB:=DYNAINFO(17);
HS:=DYNAINFO(37)*100;
HGWGS7:=C-REF(C,1);
HGWGS8:=O-REF(O,1);
HGWGS9:=H-REF(H,1);
HGWGS10:=L-REF(L,1);
HGWGS11:=(HGWGS7+HGWGS8+HGWGS9+HGWGS10)/4;
HGWGS12:=HGWGS11*VOL/10000;
HGWGS13:=EXIST(C/REF(C,1)>1.055,60);
HGWGS14:=EXIST(HGWGS6,2) AND HGWGS5>0.1 AND LB>1.2 AND HS>0.8 AND HGWGS12>0.3 AND C<20 AND HGWGS13;
DRAWICON(HGWGS14,L,24);
DRAWTEXT(HGWGS14,L*0.988,'↖跨年出启'),COLORYELLOW,LINETHICK5;
WYYM1:=(BARSCOUNT(C)+1)<120;
WYYM2:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORFF00FF,LINETHICK2;
WYYM3:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORGREEN,LINETHICK2;
WYYM4:=12,COLORBLUE,LINETHICK2;
WYYM5:=CROSS(WYYM2,WYYM4);
WYYM6:=IF(WYYM2<=10,30,0),COLORFFCC00,LINETHICK1;
WYYM7:=FINANCE(7)<500000000;
WYYM8:=IF(CROSS(WYYM2,WYYM4),50,0),COLORRED,LINETHICK2;
WYYM9:=WYYM8 AND WYYM7;AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,N))/MA(CLOSE,N);
WYYM10:=DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA;
WYYM11:=(CLOSE/WYYM10);
WYYM12:=MA(WYYM11*(2*CLOSE+HIGH+LOW)/4,3);
WYYM13:=((WYYM12-WYYM10)/WYYM10)/3;
DRAWICON(WYYM9, LOW, 1);