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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 通达信低开进宝指标公式源码


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

X_1:=EMA(WINNER(CLOSE)*70,3);
X_2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_3:=X_2/(X_1+X_2)*100;
X_4:=MA(X_1+X_2,13);
X_5:=X_1/(X_1+X_2)*100;
X_6:=IF(X_5-REF(X_5,1)>X_3-REF(X_3,1),1,0);
X_7:=EMA(X_5,89);
X_8:=CONST( X_4>REF(X_4,1) AND X_6=1);
X_9:=CONST( X_4>REF(X_4,1) AND X_6=0);
X_10:=CONST( X_4=REF(X_4,1));
X_11:=CONST( X_4< REF(X_4,1) AND X_6=1);
X_12:=CONST( X_4< REF(X_4,1) AND X_6=0);
X_13:=OPEN<CLOSE;
X_14:=OPEN/REF(CLOSE,1)<=0.97;
X_15:=CLOSE/OPEN>=1;
X_16:=CLOSE/OPEN>1.02;
X_17:=HIGH/LOW<CLOSE/OPEN<0.08;
重点:X_13 AND X_14 AND X_16 AND X_17;
STICKLINE(重点,8,88,99999.88,0),COLOR000000;
STICKLINE(重点,8,88,0.01.88,0),COLOR505050;
DRAWTEXT(重点,70,' ▲'),COLOR00FFFF;
DRAWTEXT(重点,60,' 〓'),COLOR00FFFF;
DRAWTEXT(重点,50,' 低'),COLOR00FFFF;
DRAWTEXT(重点,40,' 开'),COLOR00D1FF;
DRAWTEXT(重点,30,' 进'),COLOR0099FF;
DRAWTEXT(重点,20,' 宝'),COLOR0070FF;





回复

举报

QQ|

GMT+8, 2024-11-28 01:38

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