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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信公式强势反转指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2020-1-5 18:20:44
通达信公式强势反转指标公式源码
H0:="MACD.MACD";
H3:=REF(H0,3);
H2:=REF(H0,2);
H1:=REF(H0,1);
MA13:=MA(C,13);
MA20:=MA(C,21);
AA:=H1>0 AND MA13>MA20 AND H3>H2 AND H2>H1 AND
H0>H1 AND "MACD.DIF">0 AND "MACD.DEA">0;
强势反转:=C/REF(C,1)>1.05 AND (H-C)/C*100<0.6;
IF(强势反转,20,0),COLORRED,LINETHICK2;
DRAWTEXT(FILTER(强势反转,30), 1.5,'强势反转'),COLORRED;
BIAS3:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
超跌反弹:=IF(BIAS3<=-16,1,0);
IF(超跌反弹,45,25),COLORGREEN,LINETHICK2;
DRAWTEXT(FILTER(超跌反弹,30), 26,'超跌反弹'),COLORGREEN;
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
MA250:=MA(C,250);
JD1:=ATAN((MA120/REF(MA120,1)-1)*100)*180/3.1416>=1;
JD2:=ATAN((MA250/REF(MA250,1)-1)*100)*180/3.1416>=1;
QT:=DYNAINFO(17)!=0 AND NOT(NAMELIKE('S') OR NAMELIKE('*S'));
AAB1:=COUNT(L>MA(C,120),15)>=14 AND CROSS(MA(C,120),L) AND C>MA120;
AAB2:=COUNT(L>MA(C,250),15)>=14 AND CROSS(MA(C,250),L) AND C>MA250;
PCI:=NOT(C<O AND O/C>=1.05);
快进快出:=JD1 AND JD2 AND QT AND (AAB1 OR AAB2) AND PCI;
IF(快进快出,65,46),COLORLIRED,LINETHICK2;
DRAWTEXT(FILTER(快进快出,30), 46,'快进快出'),COLORLIRED;



回复

举报

QQ|

GMT+8, 2024-4-24 22:33

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