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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 红十字抄底指标


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

以下是红十字抄底指标

红十字抄底指标

如图,信号较少无未来,抓周线利器

源码

DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;
DEA1:=EMA(DIF1,9);
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K日:=SMA(RSV1,3,1),COLORWHITE;
D日:=SMA(K日,3,1),COLORYELLOW;
J日:=3*K日-2*D日,COLORFF00FF;
底部:=0,COLORF00FF0,LINETHICK2;
XG:=CROSS(J日,底部);
VAR11:=REF(CLOSE,1);
VAR21:=SMA(MAX(CLOSE-VAR11,0),7,1)/SMA(ABS(CLOSE-VAR11),7,1)*100;
MJ3:=FILTER(REF(VAR21,1)<20 AND VAR21>REF(VAR21,1),5);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,29);
DEA:=EMA(DIF,9);
MD:=(DIF-DEA)*2;
MJ1:=CROSS(DIF,DEA);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);{来自经典副B}
DEAQ:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEAQ)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEAQ),1));
A2:=BARSLAST(REF(CROSS(DEAQ,DIFF),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEAQ);
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
XG3:=CROSS(BIAS,乖离) AND 乖离<-9.5;
XG4:=MJ3 AND MJ1;
XG5:=XG3 AND MJ1;
WC1:=MJ3 AND XG3 AND XG;
WC2:=MJ3 AND XG;
WC3:=XG3 AND XG;
WC4:=MJ3 AND XG3 AND 底背离 ;
DRAWICON(XG4 OR XG5 OR WC1 OR WC2 OR WC3 OR WC4 ,50,23);





回复

举报

QQ|

GMT+8, 2024-11-17 01:30

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