DRAWKLINE(H,O,L,C);ZKP:=IF(C>REF(C,1),REF(C,1),DRAWNULL);ZSP:=IF(C>REF(C,1),C,DRAWNULL);DKP:=IF(C<=REF(C,1),REF(C,1),DRAWNULL);DSP:=IF(C<=REF(C,1),C,DRAWNULL);DRAWKLINE(H,DKP,L,DSP);STICKLINE(C<=REF(C,1),DKP,DSP,3.05,0),COLORBLUE;STICKLINE(C<=REF(C,1),DKP,DSP,2.2,0),COLORFF7700;STICKLINE(C<=REF(C,1),DKP,DSP,1.5,0),COLORFF9900;STICKLINE(C<=REF(C,1),DKP,DSP,0.5,0),COLORFFBB00;DRAWKLINE(H,ZKP,L,ZSP);STICKLINE(C>REF(C,1),ZKP,ZSP,3.05,0),COLOR000099;STICKLINE(C>REF(C,1),ZKP,ZSP,2.2,0),COLOR0000CC;STICKLINE(C>REF(C,1),ZKP,ZSP,1.5,0),COLOR0000FF; STICKLINE(C>REF(C,1),ZKP,ZSP,0.5,0),COLORCC66FF;STICKLINE(V/REF(V,1)>2 AND CLOSE>=OPEN,ZKP,ZSP,1,0),COLORYELLOW;AAA:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);AAA1:=REF(EMA(AAA,3),1);AAA2:="KDJ.J"<50 AND C>REF(C,3);A:=(C-MA(C,30))/MA(C,30)*100;A1:=CROSS(0,(C-MA(C,5))/MA(C,5)*100);A2:=A<REF(A,1);A3:=MA(C,10)>REF(MA(C,10),1);A4:=FILTER(A1 AND A2 AND A3,10);A5:=(2*CLOSE+HIGH+LOW)/4;A6:=MA(EMA((A5-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5),1);B3:=REF(A4,2) AND CROSS(C,EMA(CLOSE,5)) ;B4:=A6>REF(A6,1) AND REF(A6,1)<REF(A6,2);AB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));AB1:=IF(CLOSE>OPEN,AB*(HIGH-LOW),IF(CLOSE<OPEN,AB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));AB2:=IF(CLOSE>OPEN,AB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AB*(HIGH-LOW),VOL/2));AB3:="KDJ.J"<20 ;BBBB:= AB1>AB2*6 AND AB3;BBBB1:=CROSS(CLOSE,AAA1) AND AAA2;BBBB2:=B3 AND B4;ABC:=BBBB OR BBBB1 OR BBBB2;DRAWICON(ABC,(L/1.03),1),LINETHICK2,COLORMAGENTA;DRAWTEXT_FIX(1,0.50,5,0,'"→承诺STYLE←"'),COLORRED;趋势1:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORRED;趋势2:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORWHITE,LINETHICK1;趋势3:IF(MA(CLOSE,17)<趋势2,趋势2,MA(CLOSE,17)),COLORLIBLUE,LINETHICK2;DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR00FFFF;DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR00FFFF;DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;DRAWTEXT_FIX(1,0.20,0,0,DYBLOCK)COLOR00FFFF;
|