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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信牛股大胆追指标公式源买入清仓码副图


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

AA:=LLV(LOW,36); BB:=HHV(HIGH,30); DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25); 值:DD,COLORRED,LINETHICK2; 风险:80,COLORFF00FF; 顶部:87.5,COLOR00FF00; 跟踪:10,COLOR0000FF; 强弱分界: 35,COLORWHITE; VAR1:=(2*CLOSE+HIGH+LOW)/4; 算术平均:=MA(VAR1,20); 股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25); 抄底:IF(crOSS(值,5)AND C>REF(C,1) ,8,0),COLORYELLOW; DRAWTEXT(CROSS(值,5)AND C>REF(C,1),9,'抄底'), COLORWHITE; 买入:IF(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),12,0),COLORGREEN; DRAWTEXT(CROSS(值,9) AND COUNT((值<9)=1,3) AND C>REF(C,1),15,'买入'), COLORYELLOW; 底追:IF(CROSS(值,10) ,12,0),COLORYELLOW; DRAWTEXT(CROSS(值,10),12,'追'), COLORWHITE; 大胆追:IF(FILTER(CROSS(值,40) AND C>算术平均,5) ,33,10),COLORYELLOW; DRAWTEXT(FILTER(CROSS(值,40) AND C>算术平均,5),33,'大胆追'), COLORWHITE; 减仓:IF(CROSS(值,83),75,87.5),COLORYELLOW; DRAWTEXT(CROSS(值,83),72,'减仓'),COLORYELLOW; 顶:IF(CROSS(值,90),67,87.5),COLORWHITE; DRAWTEXT(CROSS(值,90),65,'顶'),COLORWHITE; 逃顶1:IF(CROSS(值,93),60,87.5),COLORRED; DRAWTEXT(CROSS(值,93),60,'逃顶'),COLORWHITE; 逃顶2:IF(CROSS(值,96),60,87.5),COLORRED; DRAWTEXT(CROSS(值,96),60,'逃顶'),COLORWHITE;








回复

举报

QQ|

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

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