DRAWBAND(OPEN,RGB(0,224,224),CLOSE,RGB(255,192,203));
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<5,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL),COLORBLUE;
DIF:=EMA(CLOSE,9)-EMA(CLOSE,21);
DEA:=EMA(DIF,7);
MACD:=(DIF-DEA)*2;
死叉:=CROSS(DEA,DIF) AND DEA>0;
卖压:=REF(H,BARSLAST(死叉));
突破:=CROSS(C,卖压) AND TIME<=0935 AND (C-REF(C,1))/REF(C,1)*100>2;
STICKLINE((突破)AND CJL AND TIME<=0933,L,L*999,1000,0)COLORGREEN;
STICKLINE((突破) ,L,L*999,1000,0)COLORGREEN;
M1Q:=36;
NQ:=100;
QQQ:=5;
SHORT:=21;
LONG:=44;
MID:=11;
P2:=11;
{DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,'11',0);}
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,COLORGREEN;
支撑:L1+P1*0.5/8,COLORRED;
中:(支撑+阻力)/2,COLORWHITE,POINTDOT;
现价:=CLOSE,COLORWHITE,LINETHICK2;
顶卖:=STICKLINE(C>阻力,阻力,C,5,0),COLORGREEN;
底买:=STICKLINE(C<支撑,支撑,C,5,0)*999,COLORBLUE;
MR:=C<支撑 AND CROSS(C,REF(C,2));
{STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORYELLOW;
DRAWTEXT(CROSS(支撑,现价),(支撑-中)/5+支撑,'★低点'),COLORMAGENTA;}
MC:=C>阻力 AND CROSS(REF(C,2),C);
{STICKLINE(CROSS(阻力,现价),C,中,2,0),COLORGREEN;
STICKLINE(MC=1,阻力,中,2,0),COLORGREEN;};
DRAWICON(CROSS(C,中) AND TIME<=0933 AND L,L*0.98,23);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(VAR3*10,3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618;
VAR8:=IF(VAR7>500,500,VAR7);
{STICKLINE(VAR8>-120,0,VAR8,3,1),COLORGRAY;}
{STICKLINE(VAR8>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)
<REF("KDJ.J",2) AND TIME<=0935,0,VAR8,3,0),COLORRED;}
{STICKLINE(VAR8>0.1 AND VAR8<1 AND "KDJ.J">REF("KDJ.J",1)
AND REF("KDJ.J",1)<REF("KDJ.J",2),0,VAR8,3,0),COLOR00FFFF;}
VAR1:=REF(LOW,1);
VAR2H:=(SMA(ABS(LOW-VAR1),13,1))/(SMA(MAX(LOW-VAR1,0),13,1))*4;
VAR3H:=EMA(VAR2H,13);
VAR4H:=LLV(LOW,34);
VAR5H:=EMA(IF(LOW<=VAR4H,VAR3H,0),3);
H11:=EMA(DCLOSE,5);
A1Z:=LLV(DCLOSE,5);
L11:=LLV(L,10);
敢死队操作线:=MA(C,24),LINETHICK2,COLORLIMAGENTA;
操作线2:=MA(C,26),LINETHICK1,COLORLICYAN;
爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
XGG:=CROSS(爆发点,20) OR CROSS(爆发点,18);
L3:=IF(XGG,O,L11*0.999),COLORYELLOW;
STICKLINE(XGG,L3,L3*9,2,1)COLOR0099FF;
DRAWTEXT(XGG,L3,'爆爆爆爆爆爆爆爆爆爆爆'),COLOR0099FF;