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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信金牛王决策指标公式源码


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

顶:80;
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
做空线: SMA(VAR1,3,1),LINETHICK2,COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
做多线: SMA(VAR2,5,1)-8,LINETHICK2,COLORRED;
逃顶线:71;
强弱分界线:40;
买入:=(crOSS(做多线,做空线) AND 做多线>40 AND REF(做多线,3)<做多线 AND 做空线>40 AND C>=O AND C/REF(C,1)>=1.03);
STICKLINE(买入,0,10,2,0),COLORBLUE;DRAWTEXT_FIX(1,0.60,0.75,0,' '),COLORYELLOW;
STICKLINE(买入,20,10,2,0),COLORYELLOW;
STICKLINE(买入,20,30,1.8,1),COLORYELLOW;
STICKLINE(买入,40,30,1.5,0),COLORYELLOW;
STICKLINE(买入,40,50,1.2,1),COLORYELLOW;
STICKLINE(买入,60,50,0.9,0),COLORYELLOW;
STICKLINE(买入,60,70,0.6,0),COLORLIRED;
DRAWTEXT(CROSS(71,做多线),71,'减仓'),COLORGREEN;
DRAWTEXT(CROSS(40,做多线),40,'清仓'),COLORGREEN;
DRAWTEXT(买入,10,' 买入'),COLORWHITE;





回复

举报

QQ|

GMT+8, 2024-11-14 12:16

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