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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信翻倍猎手主图指标公式源码


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

{指标介绍:配合副图使用https://www.gupang.com/202409/67804.html
1、K线在黄色操作线之上+副图紫色柱子出现+趋势做多共振="钱袋子"信号;
2、出信号后,短线组在黄色操作线之上持有;黄色操作线下休息;
3、波段操作,在主图红色飘带、紫色飘带持有,绿色飘带、蓝色飘带休息;
4、副图紫色柱持有,蓝色柱休息;配合主图共振一起使用。另有涨跌停信号提示;}

ABC1:EMA(C,10),COLOR61DC16 DOTLINE;
ABC2:EMA(ABC1,3),COLOR61DC16 DOTLINE;
ABC3:EMA(ABC2,3),COLOR61DC16 DOTLINE;
ABC4:EMA(ABC3,3),COLOR61DC16 DOTLINE;
ABC5:EMA(ABC4,3),COLOR61DC16 DOTLINE;
ABCS1:EMA(C,45),COLORD1875A DOTLINE;
ABCS2:EMA(ABCS1,3),COLORD1875A DOTLINE;
ABCS3:EMA(ABCS2,3),COLORD1875A DOTLINE;
ABCS4:EMA(ABCS3,3),COLORD1875A DOTLINE;
ABCS5:EMA(ABCS4,3),COLORD1875A DOTLINE;
IF(ABC1>REF(ABC1,1),ABC1,DRAWNULL),COLORMAGENTA LINETHICK2;
IF(ABC2>REF(ABC2,1),ABC2,DRAWNULL),COLORMAGENTA;
IF(ABC3>REF(ABC3,1),ABC3,DRAWNULL),COLORMAGENTA;
IF(ABC4>REF(ABC4,1),ABC4,DRAWNULL),COLORMAGENTA;
IF(ABC5>REF(ABC5,1),ABC5,DRAWNULL),COLORMAGENTA;
IF(ABCS1>REF(ABCS1,1),ABCS1,DRAWNULL),COLORRED LINETHICK2;
IF(ABCS2>REF(ABCS2,1),ABCS2,DRAWNULL),COLORRED;
IF(ABCS3>REF(ABCS3,1),ABCS3,DRAWNULL),COLORRED;
IF(ABCS4>REF(ABCS4,1),ABCS4,DRAWNULL),COLORRED;
IF(ABCS5>REF(ABCS5,1),ABCS5,DRAWNULL),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,3.5,-1),COLOR00FFFF;
STICKLINE(CLOSE< REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,3.5,-1),COLORGREEN;
ACB1:=REF(MA(C,20),10);
开:=O-ACB1;
高:=H-ACB1;
低:=L-ACB1;
收:=C-ACB1;
MID:=MA(C,20);
UPPER:=MID+2*STD(C,20);
LOWER:=MID-2*STD(C,20);
V1:=(C-LOWER)/(UPPER-LOWER)*100;
V2:=V1-EMA(V1,5);
K1:=SUM(LLV(V2,4),4)/4;
V3:=EMA(V2,64)*10;
V4:=EMA(0.4*V2*(-1),3);
V5:=-1*EMA(V2,39)*10;
A:=V3>10;
B:=V2>V4;
D:=V5>10;
E:=V3<=10 OR V2<=V4 OR V5<=10;
AAA1:=C>MA(C,5);
ABCF:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
ABCG:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
趋势:=IF(ABCF-ABCG,ABCF,ABCF),COLORBB11AA,LINETHICK0;
底部:=IF(ABCG-ABCF,ABCG,ABCF),COLORGRAY;
多多:=BARSLASTCOUNT(开<=收 AND B)=1 AND AAA1 AND (趋势> REF(趋势,1));
DRAWICON(多多,L*1.002,9);
HGW:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
HGW1:=EMA(HGW,3);
HGW2:=EMA(HGW,5);
HGW3:=EMA(HGW,7);
T1:=HGW2>=HGW3 AND HGW1< REF(HGW1,1);
T2:=HGW2< HGW3 AND HGW1>REF(HGW1,1);
STICKLINE(T1,C,O,1.25,0),COLORFF7700;
STICKLINE(T1,C,O,1.25,0),COLORFF7700;
STICKLINE(T2,C,O,1.25,0),COLORRED;
STICKLINE(T2,C,O,1.25,0),COLORRED;
N:=10;
大涨:=CLOSE/REF(CLOSE,1)>=1.08 OR ((H-L)/REF(C,1)>0.1 AND C=H);
STICKLINE(大涨,C,O,2.75,0),COLOR007FFF;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DBB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(crOSS(DA-DBB,0),L*0.995,' ★B'),COLORYELLOW;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(Abs(C-REF(C,1)),5,1)*100;
操作线:MA(C,5)*IF(CONST(MA(C,5)),1,DRAWNULL)COLORYELLOW LINETHICK2;
NN:=8;
AA:=REF(H,NN)=HHV(H,2*NN+1);
AA1:=REF(L,NN)=LLV(L,2*NN+1);
QY:=(AA,NN+1);
QY1:= (AA1,NN+1);
CC:=FILTER(QY,NN) AND H=HHV(H,NN+1);
CC1:=FILTER(QY1,NN) AND L=LLV(L,NN+1);
DRAWICON(CC,H,2);





回复

举报

QQ|

GMT+8, 2024-11-27 19:45

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