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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信有多少悔可以再来续源码副图贴图)


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

以下是通达信有多少悔可以再来续源码副图贴图)

M1:=(HIGH+LOW+CLOSE)/3;
M2:=(M1-MA(M1,84))/(0.015*AVEDEV(M1,84));
M3:=(M1-MA(M1,14))/(0.015*AVEDEV(M1,14));
DIF:EMA(M2,5)-EMA(M2,35);
DEA:EMA(DIF,5),COLOR888888;
VAR1:DIF,COLORRED;
上升:IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),COLORRED;
下降:IF(VAR1<REF(VAR1,1),VAR1,DRAWNULL),COLORGREEN;
VAR2:DEA,COLORRED,LINETHICK3;
上翘:IF(VAR2>REF(VAR2,1),VAR2,DRAWNULL),COLORRED,LINETHICK3;
下拐:IF(VAR2<REF(VAR2,1),VAR2,DRAWNULL),COLORGREEN,LINETHICK3;
DIF1:=EMA(M2,5)-EMA(M2,35);
DEA1:=EMA(DIF1,5),COLOR888888;
MACD:(DIF1-DEA1)*2,COLORSTICK;
VA3:=HHVBARS(MACD,BARSLAST(MACD<0)+1);
VA4:=CROSS(BACKSET(CROSS(0,MACD),REF(VA3,1)+2),0.5);
前高:=DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1);
STICKLINE(MACD>前高,MACD,前高,0.0001,0),COLORWHITE;
STICKLINE(M2>100,0,MACD,0.0001,0),COLORMAGENTA;
STICKLINE(M3<100,0,MACD,0.0001,0),COLORBLUE;
DRAWICON(CROSS(M2,-100),0*0.97,9);





回复

举报

QQ|

GMT+8, 2024-11-28 00:38

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