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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信捕鱼主图指标公式源码


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

VAR1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR2:=VAR1+6*STD(VAR1,11);
VAR3:=VAR1-6*STD(VAR1,11);
VAR4:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
VAR5:=(IF(CLOSE>OPEN,VAR4*(HIGH-LOW),IF(CLOSE< OPEN,VAR4*(HIGH-OPEN+CLOSE-LOW),VOL/2))+ IF(CLOSE>OPEN,0-VAR4*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-VAR4*(HIGH-LOW),0-VOL/2)));
VAR6:=(VAR5/20)/1.15;
攻击:=((VAR6*0.55+(REF(VAR6,1)*0.33))+(REF(VAR6,2)*0.22));
下网捕鱼:=EMA(攻击,3);
B1:SUM(下网捕鱼,1)/100,COLORCYAN;
B2:SUM(下网捕鱼,2)/100,COLORCYAN;
B3:SUM(下网捕鱼,3)/100,COLORCYAN;
B4:SUM(下网捕鱼,4)/100,COLORCYAN;
B5:SUM(下网捕鱼,5)/100,COLORCYAN;
B6:SUM(下网捕鱼,6)/100,COLORCYAN;
B7:SUM(下网捕鱼,7)/100,COLORCYAN;
B8:SUM(下网捕鱼,8)/100,COLORCYAN;
B9:SUM(下网捕鱼,9)/100,COLORCYAN;
B10:SUM(下网捕鱼,10)/100,COLORCYAN;
A1:IF(B1>REF(B1,1),B1,DRAWNULL),COLORRED;
A2:IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED;
A3:IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED;
A4:IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED;
A5:IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED;
A6:IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED;
A7:IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED;
A8:IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED;
A9:IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED;
A10:IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED;
有鱼1:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10;
VARA:=EMA(CLOSE,3);
XG:=COUNT(REF(VARA,1)< REF(VARA,2),5)=5 AND VARA>REF(VARA,1) AND B8/B1>-100 AND A1>-8;
DRAWICON(XG,A1*0.98,5);





回复

举报

QQ|

GMT+8, 2024-11-16 13:52

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