量/价/时间=空间
VARA:=100-90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
VARB:=100-90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
VARC:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),60);
DRAWTEXT(CROSS(VARB,MA(VARC,6)),LOW,'B '),PXDN8,color90FF;
STICKLINE(VARA>=VARB,LOW,HIGH,0.1,1),colorFF;
STICKLINE(VARA>=VARB,CLOSE,OPEN,9,1),color70084;
STICKLINE(VARA>=VARB,CLOSE,OPEN,8,0),colorA3;
STICKLINE(VARA>=VARB,CLOSE,OPEN,7,0),colorB7;
STICKLINE(VARA>=VARB,CLOSE,OPEN,6,0),colorCD;
STICKLINE(VARA>=VARB,CLOSE,OPEN,5,0),colorE9;
STICKLINE(VARA>=VARB,CLOSE,OPEN,3.5,0),color754E9;
STICKLINE(VARA>=VARB,CLOSE,OPEN,1.5,0),color76EF3;
STICKLINE(VARA<VARC,CLOSE,OPEN,9,0),colorFF5B00;
STICKLINE(VARA<VARC,CLOSE,OPEN,8,0),colorFF6C00;
STICKLINE(VARA<VARC,CLOSE,OPEN,7,0),colorFF7B00;
STICKLINE(VARA<VARC,CLOSE,OPEN,6,0),colorFF9C00;
STICKLINE(VARA<VARC,CLOSE,OPEN,5,0),colorFFBE00;
STICKLINE(VARA<VARC,CLOSE,OPEN,3.5,0),colorFFCC00;
STICKLINE(VARA<VARC,CLOSE,OPEN,1.5,0),colorFFFF00;
STICKLINE(VARA<VARC,LOW,HIGH,0.1,1),colorFFFF00;
STICKLINE(CROSS(VARA,VARB) OR CROSS(VARB,VARC),(CLOSE+OPEN)/2,OPEN,6,0),colorFFFF;
STICKLINE(CROSS(VARA,VARB) OR CROSS(VARB,VARC),(CLOSE+OPEN)/2,OPEN,3,0),colorFFFFFF;
A1:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/3;
PARTLINE(A1>REF(A1,1),A1),LINETHICK2,colorFFFF;
PARTLINE(A1<REF(A1,1),A1),LINETHICK2,colorFF0000;
量:IF(CLOSE>200,VOL/1000000,VOL/1),LINETHICK0;
换手率:VOL/CAPITAL*100,LINETHICK0,PRECISION2,colorFFFF00;
五日换手:SUM(换手率,5),LINETHICK0,PRECISION2,colorFFAADD;
十日换手:SUM(换手率,10),LINETHICK0,PRECISION2,colorFFAADD;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,1,2,'【换手率】:'+NUMTOSTR(换手率[SYSPARAM(1)],2)+'% '+'【五日换手】:'+NUMTOSTR(五日换手[SYSPARAM(1)],2)+'% '+'【十日换手】:'+NUMTOSTR(十日换手[SYSPARAM(1)],2)+'%'+' 当日成交量:'+NUMTOSTR(量[SYSPARAM(1)],0)+'手'),colorFF00;
GH:=SYSPARAM(4);
M:=(SYSPARAM(4)-SYSPARAM(5))/(SYSPARAM(3)-SYSPARAM(2));
DRAWSL(BARPOS=SYSPARAM(1),LOW,18.5*M/50,0,0),LINEDOT,colorFFFFFF;
DRAWSL(BARPOS=SYSPARAM(1),LOW,27.5*M/50,0,0),LINEDOT,colorFF00;
DRAWSL(BARPOS=SYSPARAM(1),LOW,38.5*M/50,0,0),LINEDOT,colorFFFFFF;
DRAWSL(BARPOS=SYSPARAM(1),LOW,55*M/50,0,0),color80FF;
DRAWSL(BARPOS=SYSPARAM(1),LOW,78*M/50,0,0),LINEDOT,colorFFFFFF;
DRAWSL(BARPOS=SYSPARAM(1),LOW,110*M/50,0,0),LINEDOT,colorFF00;
DRAWSL(BARPOS=SYSPARAM(1),LOW,165*M/50,0,0),LINEDOT,colorFFFFFF;
DRAWSL(BARPOS=SYSPARAM(1),LOW,220*M/50,0,0),LINEDOT,colorFFFF;
DRAWSL(BARPOS=SYSPARAM(1),HIGH,-18.5*M/50,0,0),LINEDOT,colorD9A3E0;
DRAWSL(BARPOS=SYSPARAM(1),HIGH,-27.5*M/50,0,0),LINEDOT,colorFFFF00;
DRAWSL(BARPOS=SYSPARAM(1),HIGH,-38.5*M/50,0,0),LINEDOT,colorD9A3E0;
DRAWSL(BARPOS=SYSPARAM(1),HIGH,-55*M/50,0,0),color80FF;
DRAWSL(BARPOS=SYSPARAM(1),HIGH,-78*M/50,0,0),LINEDOT,colorD9A3E0;
DRAWSL(BARPOS=SYSPARAM(1),HIGH,-110*M/50,0,0),LINEDOT,colorFFFF00;
DRAWSL(BARPOS=SYSPARAM(1),HIGH,-165*M/50,0,0),LINEDOT,colorD9A3E0;
FBARS:=SYSPARAM(0);
FF5:=BARSSINCE(CLOSE)=FBARS+4;
VERTLINE(FF5),POINTDOT,LINETHICK1,color999999;
DRAWNUMBER(FF5,SYSPARAM(5),5,0),PXUP50,color999999;
FF8:=BARSSINCE(CLOSE)=FBARS+6;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),7,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+11;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),12,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+17;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),18,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+30;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),31,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+27;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),28,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+41;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),42,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+48;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),49,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+56;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),57,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+64;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),65,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+84;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),85,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+91;
VERTLINE(FF8),POINTDOT,LINETHICK1,colorFF00FF;
DRAWNUMBER(FF8,SYSPARAM(5),92,0),PXUP50,colorD9A3E0;
FF8:=BARSSINCE(CLOSE)=FBARS+7;
VERTLINE(FF8),POINTDOT,LINETHICK1,color998888;
DRAWNUMBER(FF8,SYSPARAM(5),8,0),PXUP50,color998888;
FF13:=BARSSINCE(CLOSE)=FBARS+12;
VERTLINE(FF13),POINTDOT,LINETHICK1,color998888;
DRAWNUMBER(FF13,SYSPARAM(5),13,0),PXUP50,color998888;
FF21:=BARSSINCE(CLOSE)=FBARS+20;
VERTLINE(FF21),POINTDOT,LINETHICK1,color998888;
DRAWNUMBER(FF21,SYSPARAM(5),21,0),PXUP50,color998888;
FF34:=BARSSINCE(CLOSE)=FBARS+33;
VERTLINE(FF34),POINTDOT,LINETHICK1,color999999;
DRAWNUMBER(FF34,SYSPARAM(5),34,0),PXUP50,color999999;
FF55:=BARSSINCE(CLOSE)=FBARS+54;
VERTLINE(FF55),POINTDOT,LINETHICK1,color999999;
DRAWNUMBER(FF55,SYSPARAM(5),55,0),PXUP50,color999999;
FF89:=BARSSINCE(CLOSE)=FBARS+88;
VERTLINE(FF89),POINTDOT,LINETHICK1,color999999;
DRAWNUMBER(FF89,SYSPARAM(5),89,0),PXUP50,color999999;
FF144:=BARSSINCE(CLOSE)=FBARS+143;
VERTLINE(FF144),POINTDOT,LINETHICK1,color999999;
DRAWNUMBER(FF144,SYSPARAM(5),144,0),PXUP50,color999999;
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;
DRAWTEXT(ISLASTBAR=1,DD,'最低'+NUMTOSTR(DD,2)),ALIGN2,PXUP25,colorFFFF00;
DRAWTEXT(ISLASTBAR=1,GG,' 最高'+NUMTOSTR(GG,2)),ALIGN2,PXDN5,colorFF33FF;
LLL:=LOW;
HHH:=HIGH-(HIGH-LOW)*0.1;
ZH:=REF(HIGH,1);
ZHH:=HIGH;
XZ:=DYNAINFO(7);
XX:=DYNAINFO(5);
YY:=DYNAINFO(6);
SZ:=XZ-LLL;
ZZ:=SZ/LLL*100;
GSZ:=XX-LLL;
GZZ:=GSZ/LLL*100;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,2,201,'【低点/当前高幅度'+'/当前幅度】:('+NUMTOSTR(LLL[SYSPARAM(1)],2)+' 元 )('+NUMTOSTR(GZZ[SYSPARAM(1)],2)+'%) '+'('+NUMTOSTR(ZZ[SYSPARAM(1)],2)+'%) '),LINETHICK0,colorEEEEEE;
ZGF1:=ZHH*0.9;
ZGF2:=ZHH*0.88;
ZGF3:=ZHH*0.8;
ZGF4:=ZHH*0.75;
ZGF5:=ZHH*0.67;
ZGF6:=ZHH*0.63;
ZGF7:=ZHH*0.55;
ZGF8:=ZHH*0.5;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,1,16,'【光标高位定点】:['+'支撑价位↑]'),colorFFFFFF;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,10,30,'回调一区间↑:'+NUMTOSTR(ZGF1[SYSPARAM(1)],2)+'--'+'--'+NUMTOSTR(ZGF2[SYSPARAM(1)],2)+''),colorFFFFFF;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,10,42,'回调二区间↑:'+NUMTOSTR(ZGF3[SYSPARAM(1)],2)+'--'+'--'+NUMTOSTR(ZGF4[SYSPARAM(1)],2)+''),colorFFFFFF;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,10,54,'回调三区间↑:'+NUMTOSTR(ZGF5[SYSPARAM(1)],2)+'--'+'--'+NUMTOSTR(ZGF6[SYSPARAM(1)],2)+''),colorFFFFFF;
DRAWTEXTEX(SYSPARAM(3)=BARPOS,0,10,66,'回调四区间↑:'+NUMTOSTR(ZGF7[SYSPARAM(1)] |