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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信二次启动黑马选股指标公式源码


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

VAR1:=3*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1);
VAR2:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2) AND 30,REF(VAR1,1);{公众号:股市客栈}
VAR3:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR5:=IF(SMA(SMA(VAR4,3,1),3,1)+100-(SMA(VAR3,9,1)+100)>45,SMA(SMA(VAR4,3,1),3,1)+100-(SMA(VAR3,9,1)+100)-45,0);
VAR6:=VAR5>REF(VAR5,1) AND REF(VAR5,1)<REF(VAR5,2);
VAR7:=crOSS(Abs(WINNER(CLOSE)-WINNER(OPEN))*100,30);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
VAR8:=MACD>0;
VAR9:=REF(CLOSE,1)/REF(CLOSE,2)>=1.095;
VAR10:=OPEN>REF(CLOSE,1) AND CLOSE>OPEN;
VAR11:=HIGH>CLOSE AND OPEN>LOW AND LOW>=REF(CLOSE,1);
VAR12:=vol>REF(VOL,1);
VAR13:=VAR9 AND VAR10 AND VAR11 AND VAR12;
二次启动黑马:VAR2 AND VAR8 AND VAR7 AND VAR6;





回复

举报

QQ|

GMT+8, 2024-11-16 22:20

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