DRAWGBK(1,COLORRGB(180,180,180),COLORRGB(250,250,250),1);
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,10,18,'【代码:'+STKLABEL+' 名称:'+STKNAME+'】'),color400080;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),colorAA;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCC;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),colorDD;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),colorFF;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorFF;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,7,0),colorCCCC00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,6,0),colorDDDD00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,4,0),colorEEEE00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),colorFFFF00;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),color8A8A00;
量:IF(CLOSE>200,VOL/1000000,VOL/1),LINETHICK0;
MA5:=MA(量,5);
MA13:=MA(量,10);
MA55:=MA(量,204);
MA90:=MA(量,60);
MA120:=MA(量,120);
换手率:VOL/CAPITAL*100,LINETHICK0,PRECISION2,colorFFFF00;
当日成交量:=VOL;
前日成交量:=REF(VOL,1);
二日成交量:=REF(VOL,2);
BF:=(当日成交量-前日成交量)/前日成交量*100;
BFS:=(前日成交量-当日成交量)/当日成交量*100;
BFS二:=(前日成交量-BFS二)/BFS二*100;
STICKLINE(BF>10 AND 换手率>3,(CLOSE+OPEN)/2,OPEN,3,0),colorFFFF;
STICKLINE(BFS>10 AND 换手率<3,(CLOSE+OPEN)/2,CLOSE,5,0),colorFFBB00;
BBF:=REF(BF,1);
HS:=REF(换手率,1);
DRAWTEXT(BF>10 AND 换手率>3 AND BFS二<10 AND HS<3 AND CLOSE>REF(OPEN,1),LOW,'▲'),ALIGN0,PXDN9,colorFFFF;
DDA:=IF(SYSPARAM(1)=(BARSSINCE(CLOSE>0))+1,1,0);
五日换手:SUM(换手率,5),LINETHICK0,PRECISION2,colorFFAADD;
十日换手:SUM(换手率,10),LINETHICK0,PRECISION2,colorFFAADD;
单日放量:=量/MA120>3;
区域放量:=十日换手>50;
横向放量:=CROSS(MA5,MA120);
纵向放量:=五日换手>20;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,10,2,'【换手率】:'+NUMTOSTR(换手率[SYSPARAM(1)],2)+'% '+'【五日换手】:'+NUMTOSTR(五日换手[SYSPARAM(1)],2)+'% '+'【十日换手】:'+NUMTOSTR(十日换手[SYSPARAM(1)],2)+'%'+' 当日成交量:'+NUMTOSTR(量[SYSPARAM(1)],0)+'手'),color1;
DRAWICON(单日放量,LOW,8),ALIGN0,PXDN14;
DRAWICON(区域放量,HIGH,7),ALIGN0,PXUP9;
DRAWICON(纵向放量,LOW,6),ALIGN0,PXDN15;
DRAWICON(横向放量,HIGH,12),ALIGN0,PXUP6;
DRAWTEXT(DDA>0 AND 单日放量,LOW,'单日放量→'),ALIGN2,PXDN10,colorFF0000;
DRAWTEXT(DDA>0 AND 区域放量,HIGH,'区域放量→'),ALIGN2,PXUP10,colorFF0000;
DRAWTEXT(DDA>0 AND 纵向放量,LOW,'纵向放量→'),ALIGN2,PXDN35,colorFF0000;
DRAWTEXT(DDA>0 AND 横向放量,HIGH,'横向放量→'),ALIGN2,PXDN5,colorFF0000;
DRAWTEXT(DDA>0 AND BFS>10 AND 换手率<3,LOW,'缩量→'),ALIGN2,PXDN5,colorFFAA00;
DRAWTEXT(DDA>0 AND BF>10 AND 换手率>3,HIGH,'增量→'),ALIGN2,PXUP5,color6400;
MAI:=CLOSE*1.017;
MAII:=CLOSE*1.03;
FMAI:=REF(MAI,1);
FMAII:=REF(MAII,1);
振幅:(HIGH-LOW)/LOW*100,LINETHICK0,colorFFFF;
差价:HIGH-LOW,LINETHICK0,colorFFFF;
VAR3:=HIGH<REF(LOW,1);
VAR4:=LOW>REF(HIGH,1);
DRAWTEXT(VAR3,HIGH,'缺口'),ALIGN0,color800000;
DRAWTEXT(VAR4,LOW,'缺口'),ALIGN0,color60BF;
FBARS:=SYSPARAM(0);
FF5:=BARSSINCE(CLOSE)=FBARS+4;
VERTLINE(FF5),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF5,SYSPARAM(5),5,0),PXUP50,color996666;
FF8:=BARSSINCE(CLOSE)=FBARS+6;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),7,0),PXUP50,colorFF00FF;
FF8:=BARSSINCE(CLOSE)=FBARS+13;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),14,0),PXUP50,colorFF00FF;
FF8:=BARSSINCE(CLOSE)=FBARS+34;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),35,0),PXUP50,colorFF00FF;
FF8:=BARSSINCE(CLOSE)=FBARS+27;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),28,0),PXUP50,colorFF00FF;
FF8:=BARSSINCE(CLOSE)=FBARS+41;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),42,0),PXUP50,colorFF00FF;
FF8:=BARSSINCE(CLOSE)=FBARS+48;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),49,0),PXUP50,colorFF00FF;
FF8:=BARSSINCE(CLOSE)=FBARS+7;
VERTLINE(FF8),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF8,SYSPARAM(5),8,0),PXUP50,color996666;
FF13:=BARSSINCE(CLOSE)=FBARS+12;
VERTLINE(FF13),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF13,SYSPARAM(5),13,0),PXUP50,color996666;
FF21:=BARSSINCE(CLOSE)=FBARS+20;
VERTLINE(FF21),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF21,SYSPARAM(5),21,0),PXUP50,color996666;
FF34:=BARSSINCE(CLOSE)=FBARS+32;
VERTLINE(FF34),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF34,SYSPARAM(5),33,0),PXUP50,color996666;
FF55:=BARSSINCE(CLOSE)=FBARS+54;
VERTLINE(FF55),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF55,SYSPARAM(5),55,0),PXUP50,color996666;
FF89:=BARSSINCE(CLOSE)=FBARS+88;
VERTLINE(FF89),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF89,SYSPARAM(5),89,0),PXUP50,color996666;
FF144:=BARSSINCE(CLOSE)=FBARS+143;
VERTLINE(FF144),POINTDOT,LINETHICK1,color996666;
DRAWNUMBER(FF144,SYSPARAM(5),144,0),PXUP50,color996666;
AJ:=DATEDIFF(DATE,CURRENTDATE);
B:=DATACOUNT-BARPOS+0;
TT:=BARPOS=SYSPARAM(3);
N1:=SYSPARAM(3);
NA:=N1-SYSPARAM(2)+1;
HH:=HHV(HIGH,NA);
LL:=LLV(LOW,NA);
GG:HH[N1],colorFF00FF;
DD:LL[N1],colorFF0000;
FD:=GG-DD;
FDD:=FD/DD*100;
FDDD:=FD/GG*100;
Q:DD+(GG-DD)*0.191,LINEDOT,color804000;
Q2:DD+(GG-DD)*0.382,LINEDOT,color804000;
Q3:DD+(GG-DD)*0.5,LINEDOT,color1;
Q4:DD+(GG-DD)*0.618,LINEDOT,color804000;
Q5:DD+(GG-DD)*0.809,LINEDOT,color804000;
JN1:=DD+(GG-DD)*0.875;
JN6:=DD+(GG-DD)*0.125;
JN11:=DD+(GG-DD)*0.22;
HJ1:=DD+(GG-DD)*0.191;
HJ6:=DD+(GG-DD)*0.55;
HJ11:=DD+(GG-DD)*0.05;
JN2:=DD+(GG-DD)*0.667;
JN7:=DD+(GG-DD)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