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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信KD做波段指标公式源码副图


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

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); macd:=(DIF-DEA)*2,COLORSTICK; M3:=MA(C,3); M10:=MA(C,10); M55:=MA(C,55); M89:=MA(C,89); STICKLINE(M55>REF(M55,1),10,12,0.4,0)COLORYELLOW; STICKLINE(M89>REF(M89,1),12,14,0.4,0)COLORRED; RSV:=(CLOSE-LLV(LOW,196))/(HHV(HIGH,196)-LLV(LOW,196))*100; 快线:SMA(RSV,30,1); 慢线:SMA(快线,15,1); RSV1:=(CLOSE-LLV(LOW,23))/(HHV(HIGH,23)-LLV(LOW,23))*100; 参照快线:SMA(RSV1,6,1); 参照慢线:SMA(参照快线,3,1); AA:快线,COLORBLUE,LINETHICK1; AA升:IF(AA>REF(AA,1),AA,DRAWNULL),COLORLIMAGENTA,LINETHICK1; AA降:IF(AA<REF(AA,1),AA,DRAWNULL),COLORGREEN,LINETHICK1; AA强势:IF(快线>慢线 AND MACD>0 AND DIF>0,AA,DRAWNULL),COLORRED,LINETHICK2; DRAWICON(crOSS(快线,慢线),快线,15); STICKLINE(CROSS(参照快线,参照慢线) AND 快线>=REF(快线,1) AND M55>=REF(M55,1) AND 参照快线<76 AND Abs(MA(C,5)-MA(C,10))<0.3,快线,快线+15,0.5.9,0)COLORRED; 90; 80; 50; 10;








回复

举报

QQ|

GMT+8, 2024-11-17 02:50

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