通達信分時指標(biāo)
A1:=(DVOL/CLOSE)/2;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
機構(gòu)買盤:A2,LINETHICK3, COLORRED;
機構(gòu)賣盤:A3,LINETHICK3,COLORGREEN;
散戶買盤:A4,COLORMAGENTA;
散戶賣盤:A5,COLORWHITE;{公式在線提供:www.}
DRAWTEXT(ISLASTBAR=1,機構(gòu)買盤*0.9,'機構(gòu)買盤'),LINETHICK2,COLORFF55FF;
DRAWTEXT(ISLASTBAR=1,機構(gòu)賣盤,'機構(gòu)賣盤'),LINETHICK2,COLORFFFF55;
DRAWTEXT(ISLASTBAR=1,散戶買盤,'散戶買盤'),LINETHICK2,COLOR5555FF;
DRAWTEXT(ISLASTBAR=1,散戶賣盤,'散戶賣盤'),LINETHICK2,COLOR55FF55;
|