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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信顽童波段指标公式源码副图


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

回归:EMA(((SLOPE(C,21)*20)+C),55); 顶:HHV(H,21),COLORLIRED; 底:LLV(L,21),COLORBLUE; 高:100*(顶-底)/底,NODRAW; DIFF1:=EMA(CLOSE,4)-EMA(CLOSE,10); DEA1:=EMA(DIFF1,5); DIFF:DIFF1*4.5+EMA(CLOSE,4)*0.85,COLORWHITE; IF(DIFF>REF(DIFF,1)*1.01,DIFF ,DRAWNULL),COLORRED; IF(DIFF<REF(DIFF,1),DIFF ,DRAWNULL),COLORBLUE; DEA:DEA1*4.5+EMA(CLOSE,5)*0.85,COLORBROWN; AA:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30); JA:=DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMAGENTA; CC:=CLOSE/JA; MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3); MAAA:=((MA1-JA)/JA)/3; A:=MA1-MAAA*MA1; 多:IF(A>=REF(A,1),A ,DRAWNULL),COLORRED,LINETHICK4; 空:IF(A<=REF(A,1),A ,DRAWNULL),COLORGREEN,LINETHICK4; 突破:=REF(EMA(C,13),1); A1X:=(EMA(C,10)-突破)/突破*100; 多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(crOSS(A1X,0))+1),DRAWNULL); 空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL); STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099; STICKLINE(A1X<0,空方,突破,0,0),COLOR007700;








回复

举报

QQ|

GMT+8, 2024-11-16 20:59

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