同花順資金量化指標公式介紹
2018-01-04 09:25 股旁網
多:=IF(C》REF(C,1),V,0)/100;
空:=IF(C《REF(C,1),V,0)/100;
主力:EMA(MA(多,3),3),colorwhite,LINETHICK2;
散戶:EMA(MA(空,3),10),colorgreen,LINETHICK2;
STICKLINE(主力,主力,0,10,0),colorred;
STICKLINE(主力》0 AND 主力》REF(主力,1),主力*4/5,0,10,0),COLOR10D3FF;
STICKLINE(主力》0 AND 主力》REF(主力,1),主力*2/5,0,10,0),COLOR10FFFF;
STICKLINE(主力》0 AND 主力《REF(主力,1),主力,0,10,0),colorbrown;
STICKLINE(主力》0 AND 主力《REF(主力,1),主力*4/5,0,10,0),COLORCA3DB5;
STICKLINE(主力》0 AND 主力《REF(主力,1),主力*2/5,0,10,0),COLORFF99CC;
STICKLINE(散戶,散戶*(-1),0,10,0),COLOR66FF00;
STICKLINE(散戶,散戶*(-0.85),0,10,0),COLOR66DD00;
STICKLINE(散戶,散戶*(-0.75),0,10,0),COLOR66BB00;
STICKLINE(散戶,散戶*(-0.65),0,10,0),COLOR669900;
STICKLINE(散戶,散戶*(-0.55),0,10,0),COLOR667700;
STICKLINE(散戶,散戶*(-0.45),0,10,0),COLOR665500;
STICKLINE(散戶,散戶*(-0.35),0,10,0),COLOR663300;
DRAWTEXT(CROSS(主力,散戶),散戶,‘金叉’),colorgreen;