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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信中线主力多空主图指标公式源码


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

STICKLINE(C>=O,H,L,0,1), COLORRED; STICKLINE(C>=O,C,O,3,0), COLORRED; STICKLINE(C< O,H,L,0,0), COLORFFFF00; STICKLINE(C< O,C,O,3,0),COLORFFFF00; VAR80:MA(CLOSE,5); VAR20:=MA(CLOSE,10); VAR94:MA(CLOSE,20); VAR75:=MA(CLOSE,30); VAR51:MA(CLOSE,60); VAR58:=MA(CLOSE,120); VAR70:=(HIGH+LOW)/2; VAR19:=MAX(MAX(HIGH-LOW,Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)); VAR61:=VAR70+MA(VAR19,10)*2.5; VAR39:=VAR70-MA(VAR19,10)*2.5; VAR86:=(CLOSE+LLV(CLOSE,5)); VAR90:=(HIGH+LLV(HIGH,5)); VAR85:=(LOW+LLV(LOW,5)); VAR82:=REF(VAR61,BARSLAST(VAR61<=REF(VAR61,1))); VAR98:=LLV(VAR61,15); VAR700:=IF(VAR98!=REF(VAR98,1) AND VAR82< REF(VAR82,1),VAR82,IF(VAR82=VAR98,VAR82,VAR98)); VAR701:=BARSLAST(crOSS(0.5,VAR61=VAR700))+1; VAR702:=CROSS(COUNT(CROSS(CLOSE,VAR700) OR CROSS(CLOSE,REF(VAR700,2)) AND VAR61>VAR700,VAR701),0.5); VAR703:=BARSLAST(VAR702); VAR704:=BARSLAST(CROSS(HHV(VAR39,VAR703+1),CLOSE)); VAR705:=CROSS(VAR704,VAR703); VAR706:=CROSS(VAR703,VAR704); DRAWKLINE(HIGH,OPEN,LOW,CLOSE); VAR83:IF(VAR704>VAR703,HHV(VAR39,BARSLAST(VAR705)+1),LLV(VAR61,BARSLAST(VAR706)+1)),COLOR00FF00,LINETHICK4; VAR25:IF(VAR704>VAR703,VAR83,DRAWNULL),COLORFF00FF,LINETHICK4; DRAWICON(CROSS(VAR704,VAR703),VAR83,42); DRAWICON(CROSS(VAR703,VAR704),VAR83*1.015,43);








回复

举报

GMT+8, 2025-1-19 23:23

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