{趨勢}
partline(多日凈值,多日凈值>=ref(多日凈值,1),rgb(255,0,0),多日凈值<ref(多日凈值,1),rgb(0,255,0)),linethick2;
FILLRGN(多日凈值,0,多日凈值>0,RGB(200,0,100),多日凈值<0,RGB(0,100,100));
drawmovetext(多日凈值>0,NUMTOSTR(N)+'日內(nèi)活躍資金凈流入'+NUMTOSTR(多日凈值)+'萬元'),colorred;
drawmovetext(多日凈值<=0,NUMTOSTR(N)+'日內(nèi)活躍資金凈流出'+NUMTOSTR(-多日凈值)+'萬元'),colorgreen;
DRAWFLAGTEXT(多日資金動能>0.2,多日資金動能,'<*t=0000FF*><*c=FFFFFF*><*p=95*>'+datestr(date)+' 多日活躍資金 能量趨勢 '+NUMTOSTRN(多日資金動能,2)+''+'\n'+'<*t=E7FFFF*><*c=0000FF*><*p=95*>'+'股價:低位注意主力拉升 高位注意主力派發(fā)'+'\n'+'<*t=0092F7*><*c=FFFFFF*><*p=95*>'+'股價:橫盤注意活躍資金 連紅趨勢是否收縮'+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'結合:多日K線走勢 股價高低位 判斷多空方向');
DRAWFLAGTEXT(多日資金動能<=-0.2,多日資金動能,'<*t=008000*><*c=FFFFFF*><*p=95*>'+datestr(date)+' 多日活躍資金 能量趨勢 '+NUMTOSTRN(多日資金動能,2)+''+'\n'+'<*t=E7FFFF*><*c=008000*><*p=95*>'+'股價:高位注意主力逃頂 低位注意主力做底'+'\n'+'<*t=0092F7*><*c=FFFFFF*><*p=95*>'+'股價:橫盤注意活躍資金 連綠趨勢是否收縮'+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'結合:多日K線走勢 股價高低位 判斷多空方向');
drawmovetext(1,'活躍資金進出'+numtostr(凈額)+'萬元'),colorWhite;
月凈值:sum(凈額,30),linethick0,colorfaabec;
{輸出}
連紅:LAST(凈額 > 0),LINETHICK0,COLOR0030FF,PRECIS0;{天}
連紅最多:if(連紅=0,0,hhv(凈額,連紅)),LINETHICK0,PRECIS2,COLOR6600FF;
連綠:LAST(凈額 < 0),LINETHICK0,COLOR00FF30,PRECIS0;{天};
連綠最多:if(連綠=0,0,llv(凈額,連綠)),LINETHICK0,PRECIS2,COLOR00ff00;
{紅柱圖}
STICKLINE(凈額>0,0,凈額,7,0), COLOR000033;
STICKLINE(凈額>0,0,凈額,6,0), COLOR000066;
STICKLINE(凈額>0,0,凈額,5,0), COLOR000088;
STICKLINE(凈額>0,0,凈額,4,0), COLOR0000BB;
STICKLINE(凈額>0,0,凈額,2.5,0), COLOR0000EE;
STICKLINE(凈額>0,0,凈額,1,0), COLOR0033FF;
{綠柱圖}
STICKLINE(凈額<0,0,凈額,7,0),COLOR003300;
STICKLINE(凈額<0,0,凈額,6,0),COLOR006600;
STICKLINE(凈額<0,0,凈額,5,0),COLOR008800;
STICKLINE(凈額<0,0,凈額,4,0),COLOR00BB00;
STICKLINE(凈額<0,0,凈額,2.5,0),COLOR00EE00;
STICKLINE(凈額<0,0,凈額,1,0),COLOR00FF00;
DRAWTEXTREL(0,0,'SuperView-活躍資金流'),COLORYELLOW;
(南方財富網(wǎng)SOUTHMONEY.COM)