RCC:=DYNAINFO(3);
S2:=SMA(C,2,1);
S6:=SMA(C,3,1);
DK:=8*(S2-S6);
KK:=IF(PERIOD=8,0.95,1);
XG:HHV(H,480),COLORRED,LINETHICK9;
STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORYELLOW;
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'★多头上攻+先看量比曲线+逢高卖出■★★★★★★★★★★ '),COLORRED;
XY:LLV(H,480),COLOR00FF00,LINETHICK9;
STICKLINE(FILTER(CROSS(C,REF(XY,1)),10),C*0.99,C,8,0),COLOR00FF00;
DRAWTEXT(FILTER(CROSS(C,REF(XY,1)),10),C*0.99,'★空头砸盘+先看量比曲线+慎重补仓■★★★★★★★★★★★★★'),COLORYELLOW;
QM0:=ZST1.净流入#DAY;
QM1:=ZST1.超大单#DAY;
QM2:=ZST1.大单#DAY;
QM3:=ZST1.中单#DAY;
QM4:=ZST1.小单#DAY;
QMAXV:=ZST1.DAZHI#DAY;
{DRAWRECTREL(0,649,252,999.2,IF(120,RGB(10,0,0),0));}
DRAWRECTREL(0,CONST(950-(ABS(QM0)*200/QMAXV)),40,950,IF(CONST(QM0)>0,RGB(100,0,0),RGB(0,50,0)));
DRAWRECTREL(50,CONST(950-(ABS(QM1)*200/QMAXV)),90,950,IF(CONST(QM1)>0,RGB(100,0,0),RGB(0,50,0)));
DRAWRECTREL(100,CONST(950-(ABS(QM2)*200/QMAXV)),140,950,IF(CONST(QM2)>0,RGB(100,0,0),RGB(0,50,0)));
DRAWRECTREL(150,CONST(950-(ABS(QM3)*200/QMAXV)),190,950,IF(CONST(QM3)>0,RGB(100,0,0),RGB(0,50,0)));
DRAWRECTREL(200,CONST(950-(ABS(QM4)*200/QMAXV)),240,950,IF(CONST(QM4)>0,RGB(100,0,0),RGB(0,50,0)));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,1,0,'净流'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.053,1,0,'超大'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.103,1,0,'大户'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.153,1,0,'中户'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.204,1,0,'散户'),COLORYELLOW;
分时线:CLOSE,COLORWHITE;
大单动向:="DDX.大单动向#DAY",NODRAW;
DRAWTEXT_FIX(1,0.537,0.99,0,'DDX:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.577,0.99,0,CONST(大单动向)),COLORRED;
涨跌动因:="DDY.涨跌动因#DAY",NODRAW;
DRAWTEXT_FIX(1,0.637,0.99,0,'DDY:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.677,0.99,0,CONST(涨跌动因)),COLORRED;
大单差分:="DDZ.大单差分#DAY",NODRAW;
DRAWTEXT_FIX(1,0.737,0.99,0,'DDZ:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.777,0.99,0,CONST(大单差分)),COLORRED;
均线:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),
1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORMAGENTA ,LINETHICK8;
AAA:DYNAINFO(5),COLORWHITE,LINETHICK1,POINTDOT;{最高}
BBB:DYNAINFO(6),COLORWHITE,LINETHICK1,POINTDOT;{最低}
CCC:=AAA-BBB;中G:(AAA+BBB)/2,COLORWHITE,LINETHICK1,POINTDOT;{中}
上顶:BBB+CCC*7/8,COLORWHITE,DOTLINE;
阻力:BBB+CCC*2/3,COLORWHITE,LINETHICK1,POINTDOT;
支撑:BBB+CCC/3,COLORWHITE,LINETHICK1,POINTDOT;
下底:BBB+CCC*1/8,COLORWHITE,DOTLINE;
DRAWNUMBER(CURRBARSCOUNT=12,AAA*0.9995,AAA),COLORFFAAFF;
DRAWNUMBER(CURRBARSCOUNT=12,BBB,BBB),COLORDDDD00;
DRAWNUMBER(CURRBARSCOUNT=12,中G,中G),COLORDDDDDD;
DRAWNUMBER(CURRBARSCOUNT=12,上顶,上顶),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,阻力,阻力),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,支撑,支撑),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,下底,下底),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=20,AAA*0.9995,'最高:'),COLORFFAAFF;
DRAWTEXT(CURRBARSCOUNT=20,BBB,'最低:'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=20,上顶,'上顶:'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=20,阻力,'阻力:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=20,支撑,'支撑:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=20,下底,'下底:'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=20,中G,'平衡:'),COLOREEEEEE;
DRAWTEXT(LONGCROSS(下底,分时线,2),BBB*1.001,'★买★'),COLORRED;{吸}
DRAWTEXT(LONGCROSS(分时线,上顶,2),分时线,'★卖★'),COLORRED;{抛};
DRAWTEXT_FIX(1,0.1,0.0,0,STRCAT('主题投资:',EXTERNSTR(0,10))),COLORWHITE;
DRAWTEXT_FIX(1,0.1,0.1,0,STRCAT('智能诊断:',EXTERNSTR(0,12))),COLORWHITE;
DRAWTEXT_FIX(1,0.7,0.0,0,STRCAT('千股千评:',EXTERNSTR(0,1))),COLORWHITE;