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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信底部反击指标公式源码


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

M1:=(-( HHV(EMA(C,5),14)-C)/C*5000);
M2:=(CLOSE+LOW+3*OPEN+HIGH)/6;
M3:=(20*M2+19*REF(M2,1)+18*REF(M2,2)+17*REF(M2,3)+16*REF(M2,4)+15*REF(M2,5)+14*REF(M2,6)+13*REF(M2,7)
+12*REF(M2,8)+11*REF(M2,9)+10*REF(M2,10)+9*REF(M2,11)+8*REF(M2,12)+7*REF(M2,13)+6*REF(M2,14)
+5*REF(M2,15)+4*REF(M2,16)+3*REF(M2,17)+2*REF(M2,18)+REF(M2,20))/210;
M4:=MA(M3,6);
M5:=(M3-M4)*1.2;
M6:=(O*2+H+L)/4*10;
M7:=EMA(M6,6)-EMA(M6,55);
M8:=EMA(M7,6);
M9:=(M7-M8)*0.06;
M10:=M5+M9;
M11:=M10>0;
M12:=MA(O,3),COLORRED,LINETHICK;
M13:=MA(O,13),COLORRED,LINETHICK;
M14:=MA(O,34),COLORRED,LINETHICK;
M15:=M12>=M13 AND M14>=REF(M14,1);
M16:=EMA(O,12);
M17:=EMA(O,50);
M18:=M16-M17>0;
M19:=C/REF(C,1)-1;
M20:=IF(M15,2,0)+IF(M11,2,0)+IF(M18,2,0)+M19;
M21:=(M20/10+M1/1000)*100*2;
N:=9;
CL:=M21;
RSV:=(CL-LLV(CL,N))/(HHV(CL,N)-LLV(CL,N))*100;
K:SMA(RSV,3,1),LINETHICK2;
D:=SMA(K,3,1);
J:=3*K-2*D;
顶:SMA(HHV(REF(K,1),5),3,2),COLORFF0099,LINETHICK1;
底:SMA(LLV(REF(K,1),5),3,2),COLORFF0099,LINETHICK1;
2;
K,COLORRED,LINETHICK2;
80;
50,LINETHICK2;
20;
VAR1:=LLV(LOW,3)<=LLV(LOW,60);
VAR2:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
HSL:=V/CAPITAL*100>5;
绝地反击:IF(VAR1 AND VAR2 AND HSL,60,0) ,COLORYELLOW,LINETHICK2;





回复

举报

QQ|

GMT+8, 2024-11-16 07:02

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