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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信神奇黑马副图指标


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

以下是通达信神奇黑马副图指标

通达信神奇黑马副图指标

源码

VAR1:=INDEXC;
VAR2:=MA(VAR1,6);
VAR3:=MA(VAR1,24);
VAR4:=MA(VAR1,32);
VAR5:=MA(VAR1,62);
VAR6:=MA(VAR1,105);
VAR7:=VAR5
VAR8:=VAR4>VAR2*1.11 AND VAR3>VAR2*1.095;
VAR9:=VAR2>VAR1*0.95;
VARA:=CLOSE/MA(CLOSE,48)*100<67;
VARB:=CLOSE/MA(CLOSE,50)*100<69;
VARC:=HIGH>LOW*1.078;
VARD:=VARC AND COUNT(VARC,4)>2;
黑马:VARD AND (VARA OR VARB) OR VAR7 AND VAR8
AND VAR9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE
AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)


A1:=C/REF(C,1)>1.04;
A2:=C/HHV(H,34)<0.7;
A3:=MAX(FORCAST(COST(24)/L,3),SMA(COST(24)/L,3,1))>1.39 ;
A4:=LOW=LLV(LOW,10) OR REF(LOW,1)=LLV(REF(LOW,1),30) OR REF(LOW,2)=LLV(REF(LOW,2),30);
买1:A1 AND A2 AND A3 AND A4;
VAR01:=CLOSE/REF(CLOSE,1)>1.055;
VAR02:=OPEN=LOW AND HIGH=CLOSE;
VAR03:=VOL
{J1:=STRCMP(LOWERSTR(STRLEFT(STKNAME,2)),'ST')=0;
J2:=STRCMP(LOWERSTR(STRLEFT(STKNAME,2)),'PT')=0;
J3:=STRCMP(LOWERSTR(STRLEFT(STKNAME,3)),'*ST')=0;
J4:=STRCMP(LOWERSTR(STRLEFT(STKNAME,3)),'*PT')=0;
JJ:=J1 OR J2 OR J3 OR J4;
去除PTST股:=88*(JJ=0);}
买2:VAR01 AND VAR02 AND VAR03 AND COUNT(VAR01 AND VAR02 AND VAR03,4)=1 {AND 去除PTST股};





回复

举报

QQ|

GMT+8, 2024-11-18 17:52

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