额:AMOUNT/10000000,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差:(流入亿+流出亿),NODRAW;
强:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
:=EMA(差,1),COLORFF00FF,LINETHICK5;
差A:3*EMA(EMA(EMA(EMA(强,2),2),2),2),NODRAW;
净流:3*EMA(EMA(EMA(EMA(差A,1),2),2),2),COLORRED,NODRAW;
STICKLINE(净流 0,0,净流,4,0),COLORFF6600;
STICKLINE(净流 0,0,净流,3,0),COLORFF9900;
STICKLINE(净流 0,0,净流,1.5,0),COLORFFCC00;
STICKLINE(净流 0,0,净流,0.5,0),COLORCYAN;
STICKLINE(净流 0,0,净流,4,0),COLOR000099;
STICKLINE(净流 0,0,净流,3,0),COLOR0000CC;
STICKLINE(净流 0,0,净流,1.5,0),COLOR0000FF;
STICKLINE(净流 0,0,净流,0.5,0),COLORCC66FF;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,4,0),COLOR009999;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,3,0),COLOR00BBBB;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,2,0),COLOR00DDDD;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,1,0),COLOR00FFFF;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,4,0),COLOR000099;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,3,0),COLOR0000BB;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,1.5,0),COLOR0000DD;
STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,0.5,0),COLOR0000FF;
DRAWTEXT(CROSS(0,净流),0+0, #39;空 #39;),COLORGREEN;
DRAWTEXT(CROSS(REF(净流,1),净流),净流-0, #39;注意 #39;),COLORFFFF00;
DRAWTEXT(CROSS(净流,0),0, #39;关注介入 #39;),COLOR00FFFF;
成交额:AMOUNT,LINETHICK0;
STICKLINE(成交额,成交额,0,2.5,1),COLORGRAY;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
主买:ABS(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,LINETHICK0;
主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;
散买:(QJ0*(HIGH-MAX(OPEN,CLOSE))),LINETHICK0;
散卖:ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)),COLORLIBLUE,LINETHICK0;
主差:=主买-主卖,LINETHICK0;
散买卖差:=散买-散卖,COLORRED,LINETHICK0;
STICKLINE(主买卖差 =0,0,主买卖差,2,0),COLORRED;
STICKLINE(主买卖差 0,0,主买卖差,2,0),COLORLIBLUE;
今天资金进出:(主买+散买)-(主卖+散卖),COLORWHITE,LINETHICK0;
STICKLINE(散买-散卖 0AND主买卖差 0,散买-散卖+主买卖差,主买卖差,2,0),COLORLIRED;
STICKLINE(散买-散卖 0AND主买卖差 0,散买-散卖,0,2,0),COLORLIRED;
STICKLINE(散买-散卖 0AND主买卖差 0,散买-散卖+主买卖差,主买卖差,2,0),COLORLIGRAY;
STICKLINE(散买-散卖 0AND主买卖差 0,散买-散卖,0,2,0),COLORLIGRAY;
STICKLINE(今天资金进出 0,今天资金进出*1.003,今天资金进出,2.5,0),COLORYELLOW;
STICKLINE(今天资金进出 0,今天资金进出*0.98,今天资金进出,2.5,0),COLORBLUE;
0,COLORGRAY;