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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信连板王主图指标公式源码


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

VAR1:=CLOSE>REF(CLOSE,1)*1.09;
VAR2:=CLOSE<REF(CLOSE,1)*1.105;
VAR3:=CLOSE<REF(CLOSE,1)*0.901;
VAR4:=VAR1 AND VAR2;
VAR5:=VAR3 AND CLOSE>REF(CLOSE,1)*0.898;
VAR6:=IF(INBLOCK(4),0.2,IF(INBLOCK(5),0.2,IF(INBLOCK(6),0.05,0.1)));
VAR7:=IF(DATE<=1200823,1,0);
VAR8:=CLOSE>MA(CLOSE,60) AND LOW<=MA(CLOSE,60) AND CLOSE;
VAR9:=CLOSE/REF(CLOSE,1)>1.093 AND CLOSE=HIGH;
VAR16:=CLOSE>MA(CLOSE,250);
VAR18:=VAR8 OR VAR16 AND VAR9;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
STICKLINE(VAR4,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(VAR5,CLOSE,OPEN,4,0),COLORBLUE;
STICKLINE(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH AND VAR7=1,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(CLOSE<=DTPRICE(REF(CLOSE,1),0.1) AND CLOSE=LOW AND VAR7=1,OPEN,CLOSE,4,0),COLORBLUE;
STICKLINE(CLOSE>=ZTPRICE(REF(CLOSE,1),VAR6) AND CLOSE=HIGH,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(CLOSE<=DTPRICE(REF(CLOSE,1),VAR6) AND CLOSE=LOW,CLOSE,OPEN,4,0),COLORBLUE;
流通市值:FINANCE(40)/100000000,NODRAW,COLORRED;
DRAWICON(VAR18 AND NOT(REF(VAR18,1)) AND C!=O AND H!=L,L,56);





回复

举报