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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信金回头选股指标公式源码


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

X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,12);
X_3:=MA(CLOSE,26);
X_4:=MA(CLOSE,60);
X_5:=X_1 AND X_1>X_2 AND X_2>X_3 AND X_3>X_4 AND CLOSE>DTPRICE(REF(CLOSE,1),0.1);
X_6:=CLOSE/REF(CLOSE,1)>1.098;
X_7:=COUNT(X_6,6)>=2;
X_8:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
X_9:=REF(CLOSE,1);
X_10:=SMA(MAX(CLOSE-X_9,0),2,1)/SMA(Abs(CLOSE-X_9),2,1)*100;
X_11:=45;
X_12:=20;
X_13:=X_10<X_11 AND REF(X_10,1)>X_11;
X_14:=X_10<X_12 AND REF(X_10,1)>X_12;
X_15:=COUNT(X_8,13)>=1;
X_16:=SMA(LOW,4,3);
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
A:=LLV(DMA(CLOSE,vol/CAPITAL),120);
区1:=100*(CLOSE-A)/A,COLORWHITE;
TU:=IF(X_16 AND REF(X_13,1) AND X_15 OR (X_16 AND REF(X_14,1) AND X_15),1,0) AND X_7 AND X_5;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
AM:=L1+P1*7/8,COLORGREEN;
AC:=L1+P1*0.5/8,COLORRED;
AD:=(AC+AM)/2,COLORWHITE;
V11:=3*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-2*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3,1);
区2:=EMA(V11,3);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
N:=KK+DD,;
预:=IF(crOSS(N,50),90,50),COLOR00FF00;
潜:IF(CROSS(N,99.5) AND 区1>0 AND 区2>50 AND 区2>REF(区2,1) ,100,50);





回复

举报

QQ|

GMT+8, 2024-11-17 03:31

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