查看: 166|回复: 0

一个最好的通达信指标源码

[复制链接]

162

主题

16

回帖

558

积分

管理员

积分
558
发表于 2025-3-27 08:21:27 来自手机 | 显示全部楼层 |阅读模式
本公众号【指标研究所】分享的是独家专业指标源码。公式虽好,但不构成任何投资建议,投资有风险,入场需谨慎!

想获取tn6指标公式,关注【指标研究所】后发送“指标源码”


指标介绍

今天带来的分享是低吸神器指标源码,包含一主图、一副图、选股。该指标源码手机、电脑都可以操作,大家不会操作的关注公众号查看使用教程。

低吸神器主图指标源码

N:=20;
N1:=7;
N2:=69;
T1:=IF((DATE<=1341231),1,0);M3:=EMA(CLOSE,3);
M8:EMA(CLOSE,8),COLORYELLOW LINETHICK1;
M13:EMA(M8,13),COLOR0000FF;M60:EMA(M8,60),COLORF0F000;
BCA1:=EMA(M13,60);
M81:=EMA(M60,81),COLOR00FFFF;
M144:EMA(BCA1,144),LINETHICK2,COLOR0000FF;
M250:EMA(BCA1,250),POINTDOT,LINETHICK3,COLORF00FF0;
BCA2:=(CLOSE+HIGH+LOW)/(3);
BCA3:=(EMA(BCA2,10))*(T1);
BCA4:=(REF(BCA3,1))*(T1);
BCA5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
BCA6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
ACB:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
ACB1:=SMA(ACB,3,1);
ACB2:=SMA(ACB1,3,1);
ACB3:=REF(LOW,1);
ACB4:=SMA(ABS(LOW-ACB3),3,1)/SMA(MAX(LOW-ACB3,0),3,1)*100; ACB5:=EMA(IF(CLOSE*1.2,ACB4*10,ACB4/10),3);
ACB6:=LLV(LOW,30);
ACB7:=HHV(ACB5,30); ACB8:=IF(LLV(LOW,58),1,0);
A9:= DATETODAY(DATE);
DS:=IF(A9<9966,1,1);
趋势短期:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,8)/(AMOUNT/VOL/100)/100)); 趋势中期:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100));
趋势长期:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,20)/(AMOUNT/VOL/100)/100));
DIF:=EMA(EMA(CLOSE,18)-EMA(CLOSE,34),11);
MACD:=EMA(EMA(DIF,11),11),COLOR58FF58;
DEF:=2*(DIF-MACD),COLORFFFF00,LINETHICK0;
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
ABC1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
ABC2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
ABC3:=(2*CLOSE+HIGH+LOW)/4;
ABC4:=LLV(LOW,26);
ABC5:=HHV(HIGH,34);
ABC6:=EMA((ABC3-ABC4)/(ABC5-ABC4)*100,16);
ABC7:=SMA((SMA(ABC2,3,1)+3),3,1),LINETHICK3;ABC8:=EMA(ABC6,7);
ABC9:=SMA(ABC1,3,1);
ABC10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
ABC11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
ABC12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
ABC13:=(ABC10+ABC11+ABC12)/3; ABC14:=IF(ABC13<=-20,10,0); ABC15:=HHV(ABC14,10);
ABC24:=LLV(LOW,36);
ABC25:=HHV(HIGH,30);
ABC26:=EMA((CLOSE-ABC24)/(ABC25-ABC24)*4,4)*25;
CBA27:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100)/2+22)*1;
CBA28:=(((CLOSE -(((EMA(AMOUNT,13) /EMA(VOL,13)) / 100))) / (((EMA(AMOUNT,13) /EMA(VOL,13)) / 100))) * 100);
CBA29:=IF(A9<15366,1,1);
AA05:=MA(C,5);
AA30:=MA(C,30);
MA05:=MA(C,5);
MA10:=MA(C,13);
MA30:=MA(C,34);
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;
低吸神器1:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1)*XS;
加低吸神器1:=EMA((低吸神器1-REF(低吸神器1,1)),3)*CBA29;
低吸神器2:=(C-AA05)/AA05*CBA29*100*DS;
低吸神器3:=(C-MA30)/MA30*100*CBA29;
低吸先锋:=COUNT(CROSS(低吸神器2,0),3)>=1 AND 低吸神器3>REF(低吸神器3,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;买入:=FILTER(低吸先锋,10)*XS;
DRAWTEXT(CROSS(买入,0.5),LOW*0.990,' ----低吸'),COLORYELLOW;
STICKLINE(CROSS(买入,0.5),C,O,2,0),COLORLIMAGENTA;
DRAWICON(CROSS(买入,0.5),L*1.01,9);

低吸神器副图指标源码

MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
趋势A1+A2+A3+A4+A5+A6)/6*100,COLORCYAN,LINETHICK3;
低吸:趋势>=50,COLOR0000FF,NODRAW;
周期:IF(低吸,BARSLAST(CROSS(低吸,0.1))+1,0),COLORFF00FF,NODRAW;
临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,NODRAW;
WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,NODRAW;DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));
AA:=IF(挖坑,趋势,50);DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:指标研究所'),COLOR0000FF;零轴:0,COLORFFFFFF;
选股:周期=1,COLORRED,NODRAW;
快跑:趋势<50,,COLOR00FF00,NODRAW;
50,POINTDOT,COLOR000000;
DRAWTEXT(临界,90,'☆'),COLOR00FF00;
DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));STICKLINE(低吸,周期*0.8,周期*0.95,3,0),COLOR0000FF;
STICKLINE(低吸,周期*1.05,周期*1.2,3,0),COLOR0000FF;
STICKLINE(低吸 AND C<REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF;
STICKLINE(CROSS(低吸,0.1),0,100,0,-1),COLOR0000FF;

低吸神器选股指标源码

MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
A1:=IF(C>=MA5,1,-1);
A2:=IF(C>=MA10,1,-1);
A3:=IF(C>=MA20,1,-1);
A4:=IF(MA5>=REF(MA5,1),1,-1);
A5:=IF(MA10>=REF(MA10,1),1,-1);
A6:=IF(MA20>=REF(MA20,1),1,-1);
趋势:=(A1+A2+A3+A4+A5+A6)/6*100;
低吸:=趋势>=50;周期:=IF(低吸,BARSLAST(CROSS(低吸,0.1))+1,0);选股:周期=1;

低吸神器指标源码使用说明

1.适用于通达信软件。(手机、电脑版)
2. 买入条件需同时满足以下三点:主图出现均线金叉和低吸信号时,副图蓝色趋势线呈现上升形态,并且伴随红色放量柱出现,当这三个技术信号形成共振时即可低位买入。

注意事项

1. 若安装过程中出现错误提示,先查看并分析错误代码,删除其中的“问号”字符。
2.重点检查代码中的“AND”和“OR”逻辑运算符,确保前后有空格;若缺少空格,手动补全即可。一般出现符号“;”代表为一段。


写在最后
希望大家动动发财的小手多多无私支持,大家的支持是我坚持长期分享的动力
1519934637f431fd0702f2150f72b311.png
IMG_6039.jpeg
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

指标评测

股指标

建议反馈

常见问题

股指标评测

商务合作

新闻媒体

量化投资研究社

联系我们

微信:ZBPC88

备用微信:cqcangshu

邮箱:1099750285@qq.com

关注微信公众号

QQ|手机版|小黑屋|股指标网 ( 渝ICP备2024026571号-1 )股指标

GMT+8, 2025-4-6 14:48 , Processed in 0.143982 second(s), 30 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.