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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信买点狙击副图/选股源码


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

以下是通达信买点狙击副图/选股源码

VAR1:=(CLOSE-OPEN)/OPEN*100;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;
VAR4:=COUNT(VAR3<M,20)>=1;
VAR5:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100);
VAR6:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,N);
VAR7:=CROSS(-5,VAR6) AND VAR5<-0.4;
VAR8:=REF(CLOSE,1);
VAR9:=SMA(MAX(CLOSE-VAR8,0),5,1)/SMA(ABS(CLOSE-VAR8),5,1)*125;
VAR10:=SMA(MAX(CLOSE-VAR8,0),10,1)/SMA(ABS(CLOSE-VAR8),10,1)*125;
VAR11:=MA(CLOSE,10);
VAR12:=MA(CLOSE,20);
VAR13:=VAR9<80 AND VAR10<78 AND SUM(VOL/CAPITAL,10)*125>=10 AND CLOSE/LLV(CLOSE,120)<=1.2 AND (CLOSE-LLV(CLOSE,15))/LLV(CLOSE,15)>=0.12 AND CLOSE/OPEN>1.02 AND VAR11>VAR12;
低位狙击:VAR1>9 AND VAR4 OR VAR7 OR VAR13,COLORRED;
VAR14:=EXIST(低位狙击,6) AND BARSCOUNT(低位狙击)>=8 AND C/REF(L,2)<0.97 AND NOT(C>O);
VAR15:=FILTER(VAR14,10);
补仓救援:IF(VAR15,0.6,0),COLORBBBBBB;





回复

举报

QQ|

GMT+8, 2024-11-18 10:29

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