在线检测未来函数

通达信净买资金主图指标公式

来源:Internet,编辑:股旁网,2024-09-11

AAV:=vol/((H-L)*2-Abs(C-O));
KKPU1:=IF(C>OPEN,AAV*(HIGH-LOW),IF(C<OPEN,AAV*((HIGH-OPEN)+(C-LOW)),VOL/2)),NODRAW;
KKPU2:=IF(C>OPEN,0-AAV*((HIGH-C)+(OPEN-LOW)),IF(C<OPEN,0-AAV*(HIGH-LOW),0-VOL/2)),NODRAW;
净流入:=(KKPU1+KKPU2)/99,NODRAW;
KKPU3:=(C/REF(C,1)-1)*100;
DRAWTEXT(净流入>=300 AND KKPU3>=4,L*0.995,VARCAT(VARCAT('净买:',VAR2STR(净流入,0)),'万')),COLORCYAN;
DRAWICON(净流入>=300 AND KKPU3>=4,L,1);
DRAWICON(净流入<-300 AND KKPU3<=-3,H,2);
DRAWTEXT(净流入<-300 AND KKPU3<=-3,H*1.01,VARCAT(VARCAT('流出:',VAR2STR(净流入,0)),'万')),COLORGREEN;
AP:=AMOUNT/10000;占比:=净流入/AP*100,NODRAW;
DRAWTEXT(净流入>=200 AND KKPU3>=3 AND 占比>=15 ,L*0.965,VARCAT(VARCAT('占比:',VAR2STR(占比,0)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.92,0.85,0,' '),COLORWHITE;
DRAWTEXT_FIX(1,0.94,0.9,0,''),COLORWHITE;
DRAWTEXT_FIX(1,0.92,0.95,0,''),COLORBLUE;
A:=(C/REF(C,1)-1)*100>9.82 AND H=C AND H<>L,NODRAW;
B:=BARSLAST(A),NODRAW;B1:=REF(BARSLAST(A),1),NODRAW;
AO:=REF(C,B),NODRAW;XX2:=crOSS(C,AO) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 NODRAW;
XX2A:=FILTER(XX2,30);
KMJNHB1:=AO-0.01,NODRAW;
XX2B:=CROSS(C,KMJNHB1) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 AND H=C;
KMJNHB2:=FILTER(XX2B,30),COLORMAGENTA;
A3P:=REF(O,B);
A3A:=A3P+(AO-A3P)*0.7,NODRAW;
XX2C:=CROSS(C,A3A) AND C>O AND C>REF(C,1) AND B1>=3 AND B1<=10 ;
KMJNHBP:=FILTER(XX2C,30),COLORMAGENTA;
资金才有买点:XX2A OR KMJNHB2 OR KMJNHBP,NODRAW;
UUJ:=COUNT(A,10)>=2;
DRAWTEXT_FIX(C>0,0.004,0,0,HYBLOCK),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(C>0,0.080,0,0,DYBLOCK),COLOR8000FF,LINETHICK2;
DRAWTEXT_FIX(C>0,0.16,0,0,GNBLOCK),COLORLIBLUE,LINETHICK2;
DRAWTEXT_FIX(1,0,0.10,0,FGBLOCK),COLORCC99CC,LINETHICK2;
DRAWTEXT_FIX(1,0.00,0.18,0,':')COLORWHITE;
DRAWTEXT_FIX(1,0.09,0.18,0,EXTERNSTR(0,1))COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.26,0,':')COLORFF00FF;
DRAWTEXT_FIX(1,0.09,0.26,0,EXTERNSTR(0,2))COLORFF00FF;

通达信净买资金主图指标公式

相关文章