副图公式源码支持: 手机/电脑
成交额:AMOUNT/100000000,VOLSTICK,COLORFF00FF;
GUP1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSE>OPEN,GUP1*(HIGH-LOW),IF(CLOSE<OPEN,GUP1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSE>OPEN,0-GUP1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-GUP1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLORMAGENTA,NODRAW;
差亿:流入亿+流出亿,COLORFFFF00,NODRAW;
净差亿:=EMA(EMA(差亿,2),2),COLOR00FFFF,NODRAW;
净差亿2:=EMA(净差亿,2);
流7:=EMA(净差亿2,7);
净:=3*EMA(净差亿2+流7,2);
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),COLOR009900;
STICKLINE(净<REF(净,1)AND 净>0,0,净,3,0),COLOR00BB00;
STICKLINE(净<REF(净,1)AND 净>0,0,净,2,0),COLOR00DD00;
STICKLINE(净<REF(净,1)AND 净>0,0,净,1,0),COLOR00FF00;
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.8,'进'),COLORFFFFFF;
选股公式源码
{选股公式:进}
GUP1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:=IF(CLOSE>OPEN,GUP1*(HIGH-LOW),IF(CLOSE<OPEN,GUP1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED;
流出亿:=IF(CLOSE>OPEN,0-GUP1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-GUP1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLORMAGENTA;
差亿:=流入亿+流出亿,COLORFFFF00;
净差亿:=EMA(EMA(差亿,2),2),COLOR00FFFF;
净差亿2:=EMA(净差亿,2);
流7:=EMA(净差亿2,7);
净:=3*EMA(净差亿2+流7,2);
进:CROSS(净,0); |