DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
O1:(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1;
O2:EMA(O1,3),COLORFF00FF,LINETHICK1;
O3:EMA(O2,3),COLOR00FF00,LINETHICK1;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
DRAWKLINE(H,O,L,C);{www.fxjgsw.com}
机构:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/CAPITAL;
累计:=EMA(机构,30)*30,COLORMAGENTA;
均值:=EMA(累计,MIN(10,30)),COLORWHITE;
JGV:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/CAPITAL;
DHV:=(L2_VOL(1,0) - L2_VOL(1,1))*VOL/CAPITAL;
ZHV:=(L2_VOL(2,0) - L2_VOL(2,1))*VOL/CAPITAL;
SHV:=(L2_VOL(3,0) - L2_VOL(3,1))*VOL/CAPITAL;
机构资金:=EMA(JGV,5)*10000/CAPITAL,COLORMAGENTA;
散户资金:=EMA(SHV,5)*10000/CAPITAL,COLORGREEN;
DRAWTEXT(CROSS(散户资金,机构资金),H,'---清仓'),COLORLIBLUE;
S:DRAWTEXT(机构资金>散户资金,O3,'◆'),COLORYELLOW;
N1:=10;
大单动向:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;
NOTEXT1:=MA(大单动向,N1)*3;
STICKLINE(大单动向>0,0,大单动向*2,1,0),COLORRED;
STICKLINE(大单动向<0,0,大单动向*2,1,0),COLORCYAN;
小牛:=大单动向>0 AND 机构资金>散户资金 AND MACD>=REF(MACD,1) AND MACD<0;
大牛:=CROSS(大单动向,0) AND 机构资金>散户资金 AND MACD>REF(MACD,1) AND MACD>0;
DRAWTEXT(小牛,L,'---小牛'),COLORMAGENTA;
DRAWTEXT(大牛,L,'---大牛'),COLORLIBLUE;
{红}
STICKLINE(CROSS(累计,均值),H,L,0,0),COLORRED,LINETHICK1;
STICKLINE(CROSS(累计,均值),CLOSE,OPEN,2.4,0),COLOR000088;
STICKLINE(CROSS(累计,均值),CLOSE,OPEN,1.2,0),COLOR0000BB;
STICKLINE(CROSS(累计,均值),CLOSE,OPEN,0.6,0),COLOR0000DD;
STICKLINE(CROSS(累计,均值),CLOSE,OPEN,0,0),COLOR0000FF;
{蓝}
STICKLINE(CROSS(均值,累计),H,L,0,0),COLORFFFF00,LINETHICK1;
STICKLINE(CROSS(均值,累计),CLOSE,OPEN,2.4,0),COLORFF8800;
STICKLINE(CROSS(均值,累计),CLOSE,OPEN,1.2,0),COLORFFBB00;
STICKLINE(CROSS(均值,累计),CLOSE,OPEN,0.6,0),COLORFFDD00;
STICKLINE(CROSS(均值,累计),CLOSE,OPEN,0,0),COLORFFFF00;
|