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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信兵贵神速选股指标公式源码


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

VAR1:=EXIST((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5.6,100);
VAR2:=DYNAINFO(4)>0;
VAR3:=VAR1 AND VAR2;
VAR4:=5;
VAR5:=(2*CLOSE+HIGH+LOW)/4;
VAR6:=LLV(LOW,34);
VAR7:=HHV(HIGH,34);
VAR8:=EMA((VAR5-VAR6)/(VAR7-VAR6)*100,13);
VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
VAR10:=EMA(VAR9,VAR4);
VAR11:=HHV(HIGH,9)-LLV(LOW,9);
VAR12:=HHV(HIGH,9)-CLOSE;
VAR13:=CLOSE-LLV(LOW,9);
VAR14:=VAR12/VAR11*100-70;
VAR15:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR16:=SMA(VAR13/VAR11*100,3,1);
VAR17:=SMA(VAR16,3,1)-SMA(VAR14,9,1);
VAR18:=IF(VAR17>100,VAR17-100,0);
VAR19:=EMA((VAR5-VAR6)/(VAR7-VAR6)*100,8);
VAR20:=EMA(VAR19,5);
VAR21:=EMA(CLOSE,2);
VAR22:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
VAR23:=HHV(MA(HIGH,13),13);
VAR24:=LLV(MA(HIGH,13),1);
VAR25:=EMA(CLOSE,4);
VAR26:=VAR21>=VAR22 AND VAR24=VAR23 AND VAR21>VAR25 AND CLOSE>VAR24 AND REF(VAR24,1)<REF(VAR23,1);
VAR27:=BARSLAST(VAR26)+1;
VAR28:=LLV(LOW,VAR27)*1.3;
VAR29:=LLV(LOW,20)*1.418;
VAR30:=VAR21>=VAR22 AND VAR24=VAR23 AND C/REF(C,1)>=1.07 AND VAR27<=30 AND C<=VAR28 AND C<=VAR29;
VAR31:=VAR30 AND FILTER(VAR30,VAR27);
VAR32:=VAR21>=VAR22 AND VAR24=VAR23 AND C/REF(C,1)>=1.035 AND VAR27<=30 AND C<=VAR28 AND C<=VAR29;
VAR33:=VAR32 AND FILTER(VAR32,20);
VAR34:=VAR31 OR VAR33 AND VAR3;
VAR35:=CLOSE/REF(CLOSE,1)>=1.0995;
VAR36:=BARSLAST(VAR35);
VAR37:=CLOSE>MA(CLOSE,5);
VAR38:=EVERY(VAR37,VAR36);
VAR39:=REF(VAR38,2);
X_3:=REF(CLOSE,1)<REF(MA(CLOSE,5),1);
X_12:=HIGH/REF(CLOSE,1)>=1.03;
X_8:=VAR36<=15 AND VAR39 AND X_3 AND X_12;
XG:VAR34 AND X_8;





回复

举报

GMT+8, 2025-1-19 17:11

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