大智慧个股资金副图指标
源码
DRAWGBKLAST(CLOSE>0, STRIP(RGB(2,5,44),RGB(3,60,11),0));
WJ:=(HIGH+LOW+CLOSE)/3;
买入量:(IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN))*(VOL/IF(HIGH=LOW,4,HIGH-LOW))+
IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW)*(VOL/IF(HIGH=LOW,4,HIGH-LOW)))*C/100,LINETHICK0,COLORRED;
卖出量:(IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE))*(VOL/IF(HIGH=LOW,4,HIGH-LOW))+
IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ)*(VOL/IF(HIGH=LOW,4,HIGH-LOW)))*C/100,LINETHICK0,COLOR00FFFF;
市值:=CAPITAL*CLOSE/10000;
资金流向:(买入量-卖出量),COLORWHITE,LINETHICK0;
个股流入比例:资金流向/市值,COLORF8F866,LINETHICK0;
买卖总差:SUM(资金流向,5),COLORYELLOW,LINETHICK0;
进出量:=资金流向;
STICKLINE(进出量<10,0,进出量,6,0),COLOR33FF66;
STICKLINE(进出量<10,0,进出量,4,0),COLORFF9900;
STICKLINE(进出量<10,0,进出量,2,0),COLORFFCC00;
STICKLINE(进出量<10,0,进出量,0.2,0),COLORCYAN;
STICKLINE(进出量>0,0,进出量,6,0),COLORRED;
STICKLINE(进出量>0,0,进出量,2,0),COLOR0000CC;
STICKLINE(进出量>0,0,进出量,1.3,0),COLOR0000FF;
STICKLINE(进出量>0,0,进出量,0.3,0),COLORCC66FF;