上周螺紋合約305行情1h周期回放 凈量指標(biāo)副圖分享文華通達(dá)信代碼在簡(jiǎn)介

量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
賣量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
總量:=買量+賣量,LINETHICK1;
凈量:=買量-賣量,LINETHICK1;
//五日凈量:SUM(凈量,5),LINETHICK2,COLORFFFFFF;
//十日凈量:SUM(凈量,10),LINETHICK2,COLORGREEN;
六十日凈量:SUM(凈量,60),LINETHICK2,COLORBLUE;
0;
-1000000,COLORFFFFFF;
//DRAWICON(CROSS(五日凈量,六十日凈量),五日凈量,1);
DRAWICON(CROSS(六十日凈量,0),六十日凈量,4);
DRAWICON(CROSS(0,六十日凈量),六十日凈量,5);
標(biāo)簽: