通達信公式 成交量
今K換:VOL/CAPITAL*100,NODRAW,COLORBLUE;
三K換:SUM(今K換,3),NODRAW,COLORBLACK;
量比: V/MA(REF(V,1),5),NODRAW,COLORBLACK;
金額億:AMOUNT/100000000,NODRAW,COLORRED;
振幅K:(H-L)/L*100,NODRAW,COLORBLACK;
VOLUME:VOL,VOLSTICK,COLORBLACK;
字:=STRCAT(STRCAT(STRCAT('',STKNAME),' ◆ '),CODE);
DRAWTEXT_FIX(ISLASTBAR,0.02,0.02,0,字),COLORBLACK;
流通市值:=STRCAT(STRCAT('流通市值:',CON2STR((CAPITAL/1000000)*C,2)),'
億');
DRAWTEXT_FIX(ISLASTBAR,0.22,0.02,0,流通市值),COLORBLACK;
V9:MA(VOLUME,9);
M18:MA(VOLUME,18),COLORMAGENTA;
M30:MA(VOLUME,30),COLORBLACK;
{市場漲跌數(shù)量}
LSSZS:=STRCAT('滬深總上漲 ',CON2STR(DYNAINFO(60),0));
LSXDS:=STRCAT('滬深總下跌 ',CON2STR(DYNAINFO(61),0));
DRAWTEXT_FIX(ISLASTBAR,0.02,0.18,0,LSSZS),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.22,0.18,0,LSXDS),COLORBLUE;
|