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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信金马抢庄指标公式源码


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

X_1:=POW(10,6)+241230-DATE;
X_2:=IF(X_1>0,1,0);
X_3:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
X_4:=HIGH-REF(HIGH,1);
X_5:=REF(LOW,1)-LOW;
X_6:=SUM(IF(X_4>0 AND X_4>X_5,X_4,0),20);
X_7:=SUM(IF(X_5>0 AND X_5>X_4,X_5,0),20);
X_8:=LLV(LOW,240);
X_9:=HHV(HIGH,240);
20;
CD:X_6/X_3/2*100,COLORRED;
DH:(CLOSE-X_8)/X_8*100,COLORYELLOW;
ZH:X_7/X_3/2*100,COLORMAGENTA;
SH:(X_9-CLOSE)/CLOSE*100,COLORGREEN;
HH:DH/SH,NODRAW,COLORWHITE;
X_10:=HHV(CLOSE,20);
X_11:=EMA(X_10,30)*1.03;
X_12:=EMA(X_10,120)*1.03;
X_13:=(CLOSE+HIGH+LOW)/3;
X_14:=EMA(X_13,10);
X_15:=REF(X_14,1);
看涨:IF(DH>15 AND DH>ZH,DH,DRAWNULL),COLORYELLOW,LINETHICK3;
超强:IF(DH>30 AND DH>SH,DH,DRAWNULL),COLORCYAN,LINETHICK2;
DRAWICON(FILTER(看涨 OR 超强 AND DH>=HHV(DH,10) AND OPEN/X_14<1.08 AND OPEN/X_11<1.1 AND OPEN/X_12<1.2 AND CLOSE>X_11 AND CLOSE>=REF(CLOSE,1)*1.05 AND SH<60 AND DH<120,30),DH,42)*X_2;
DRAWICON(FILTER(CD>330 AND LLV(LOW,60)<MA(CLOSE,60)*1.05 AND REF(LOW,1)/MA(CLOSE,120)<=1.15,900),CD/1.2,13)*X_2;
DRAWICON(FILTER(CD>160 AND LLV(LOW,60)<MA(CLOSE,60)*1.05 AND REF(LOW,1)/MA(CLOSE,120)<=1.15,900),CD/1.2,14)*X_2;





回复

举报

QQ|

GMT+8, 2024-11-9 10:21

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