股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信净买资金主图指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-9-23 10:29: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;








回复

举报

QQ|

GMT+8, 2024-11-27 21:00

快速回复 返回顶部 返回列表