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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信三线打击指标公式


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

以下是通达信三线打击指标公式

{三线打击}

AMV0:=VOL*(O+C+H+L)/4;

势:EMA(AMV0,21)/EMA(VOL,21);

压:6*HHV(势,2)-5*势;

托:2*势-压;

STICKLINE(CLOSE>势,OPEN,CLOSE,6,1), COLORRED;

STICKLINE(CLOSE=势,OPEN,CLOSE,6,1), COLORRED;

STICKLINE(CLOSE>势,LOW,OPEN,0.8,1), COLORRED;

STICKLINE(CLOSE=势,LOW,OPEN,0.8,1), COLORRED;

STICKLINE(CLOSE>势,CLOSE,HIGH,0.8,1),COLORRED;

STICKLINE(CLOSE=势,CLOSE,HIGH,0.8,1),COLORRED;

AA:=MA(C,20);

BB:=MA(C,60);

CC:=MA(C,30);

DIF:=EMA(CLOSE,6)-EMA(CLOSE,13);

DEA:=EMA(DIF,5);

VAR1:=(2*CLOSE+HIGH+LOW)/4;

VAR2:=LLV(LOW,5);

VAR3:=HHV(HIGH,5);

VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);

MA1:=MA(VAR4,2);

XG:=CROSS(22.50,MA1) OR CROSS(24.5,MA1) AND COUNT(CROSS(0,DEA),6)=1 AND AA>BB AND BB>REF(BB,1)

AND C/REF(C,1)<1.016 AND C/REF(C,1)>0.993 AND AA>CC;

DRAWTEXT(XG,L*0.98,'★'),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-19 00:46

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