通达信主力净买跟踪主图指标 源码 贴图
MA5:MA(CLOSE,5)DOTLINE COLORWHITE;
MID:=MA(C,30)*1.005;
ABC1:=POW((C-MID),2);
ABC2:=MA(ABC1,30);
ABC3:=SQRT(ABC2);
UPPER:=MID+2*ABC3;
LOWER:=MID-2*ABC3;
趋势线:REF(UPPER,1),COLORBLUE LINETHICK2;
AAV:=VOL/((H-L)*2-ABS(C-O));
ACB1:=IF(C>OPEN,AAV*(HIGH-LOW),IF(C< OPEN,AAV*((HIGH-OPEN)+(C-LOW)),VOL/2)),NODRAW;
ACB2:=IF(C>OPEN,0-AAV*((HIGH-C)+(OPEN-LOW)),IF(C< OPEN,0-AAV*(HIGH-LOW),0-VOL/2)),NODRAW;
净流入:=(ACB1+ACB2)/99,NODRAW;
ACB3:=(C/REF(C,1)-1)*100;
DRAWTEXT(净流入>=200 AND ACB3>=3 AND CLOSE>趋势线,L*0.995,VARCAT(VARCAT('净买:',VAR2STR(净流入,0)),'万')),COLORYELLOW;
AP:=AMOUNT/10000;{公式网WWW.GPXIAZAI.COM}
占比:=净流入/AP*100,NODRAW;
DRAWICON(净流入>=200 AND ACB3>=3 AND CLOSE>趋势线,LOW*0.99,9);
STICKLINE(净流入>=200 AND ACB3>=3 AND CLOSE>趋势线,OPEN,CLOSE,2,0),COLORMAGENTA;
|